I want to run file

I have a single BATCH file and I want to write program to run in vie Java. Anybody can help me?

1) To execute the batch file from a java program
Runtime.exec("c:\mybatfile.bat");2) To execute a java program from a bat file
java myprogram
For both you have to make sure that the classpath is correct.

Similar Messages

  • After downloading firefox installation file, I cant install firefox on my PC running on windows 7, and internet explore 9( when i want to run file, i recive error, Extraction Failed, File is corrupt, ,

    but my security software, microsoft security essentials , find nothing wrong whit the file, i have allsow chance the settings off my firewall , to accept the firefox file, but nothing chances?
    Can you please help to find the problem

    This can be caused by anti-virus software/ real time scanners. Please try to disable your anti-virus software real time scanner and try again. Do not forget to enable it after the download is complete!'
    See http://kb.mozillazine.org/Unable_to_save_or_download_files (Disable virus scanning in Firefox preferences - Windows)

  • I have few PDf files on my computer and I want to add them to my ipod touch, please tell me the procedure on how should I do that? Secondly I want to run these Pdf files through the ibook app, as it also have the Pdf file sections

    I have few PDf files on my computer and I want to add them to my ipod touch, please tell me the procedure on how should I do that? Secondly I want to run these Pdf files through the ibook app, as it also have the Pdf file sections

    You should be able to just place them in your Books library in iTunes and check to ensure that your Book library is configured to sync to your iPod when you sync your iPod to iTunes.

  • I keep getting the error message "Missing PDFMaker files. Do you want to run the installer in repair mode"

    I keep getting the error message "Missing PDFMaker files  Do you want to run the installer in repair mode"when I try to convert a file into a pdf.  I have tried uninstalling then reinstalling but I continue to get the message.  I am able directly print file, but there are some errors in the pages, but some of them have font errors. Please advise.

    Hey Suzanne,
    Could you please let me know what Acrobat version are you using and what kind of file are you trying to convert to PDF.
    If you are using an MS Office application, then PDF Maker has to be an active plug-in for the PDF conversion.
    Have you tried using Print to PDF option from the File menu for the same?
    Please check and then let me know.
    Regards,
    Anubha

  • Warning when trying to launch application over mapped drive "We can't verify who created this file. Are you sure you want to run this file?"

    We have 2 load balanced application servers that map drives with programs on them for users from a central server that are giving the warning "We can't verify who created this file. Are you sure you want to run this file?". Basically how it works
    is a user logs in to one or the other application servers (for example, 10.0.0.1 or 10.0.0.2) and runs a log on script that maps an L:\ drive to the users folder on the central storage server (10.0.0.100). When the user goes to launch the .exe from the L:\
    drive it presents that warning.
    I've looked around and have seen recommendations that you need to add the site to the local intranet zone for IE, but when I try to add L:\ it tells me that I have entered an invalid sequence. It appears that you can only put network shares in that location,
    which is not how we're mapping the drive.
    Has anyone run in to this before and knows how to resolve it?
    Thanks!

    Hi,
    A mapped drive letter is not supported so please try to input \\server or \\server\folder to see if it will help. 
    If you have any feedback on our support, please send to [email protected]

  • Acrobat X bug - stuck in cycle - "missing pdfmaker files" "do you want to run the installer"

    Hello,
    I just installed Acrobat X on a Windows 7 X 64 with office 2010 x 64 install.    I can print from within office to PDF, however if I right click on a document in explorer and attempt to convert to PDF without opening office, I get "missing pdfmaker files" "do you want to run the installer in repair mode" right after I give it a file name.   If ignore, it won't print.   If I try to fix by running the installer in repair mode, it does some install process but it still gives me the same error.   Nothing shows up in the event viewer.  I tried to run an acrobat update but is says no updates are available.  I have tried uninstalling and downloading the trial version - it has the same issue

    Acrobat X PDFMaker supports 32-bit Office 2010.
    With 64-bit Office 2010 you should be able to use the Adobe Printer; but, for PDFMaker functionality you'll need Office 2010 32-bit.
    http://kb2.adobe.com/cps/333/333504.html
    Be well...

  • I want to run a vi for 4 days and save 360,000,000 samples in a file

    Hi
    I want to run a vi for 4 days and save samples to a file.
    I use the Ni EX save to file.vi example provided by LabView and change the Trigger mode to "immidiate ref trigger" as I am measuring a DC voltage.
    The application runs correctly when min record length is 2048 however when I change the min record length to 2,000,000 I receive the following error message and nothing get saved:
    Error occurred at:  niScope Multi Fetch.vi
    <err>Driver Status:  (Hex 0xBFFA2003)
    Maximum time exceeded before the operation completed.
    Possibly no trigger received. Buffers done: 0, Points done: 0.000000.
    I appreciate if you help me in this regard,
    Maryam

    Maryam,
    Have you tried increasing the timeout?  What is the exact name of the vi that you are using. Also, what hardware are you using?  What driver versions do you have installed?  Actually, the more information you could give us, the better.  Thanks and have a great day!
    Regards,
    Lon A.

  • Missing PDFMaker files. Do you want to run the installer in repair mode?

    I just installed Adobe Acrobat 8. I am running XP and Office 2003. When I am trying to create a PDF file, from multiple files (combine files option), I get the error, "Missing PDFMaker files. Do you want to run the installer in repair mode?"
    I choose YEs, and it install something and then restarts, but it still does not work. Same thing happens every time. Thanks for your help!!!!

    What sort of files are you trying to combine. My suggestion is to make your life simple. Create the pdfs separately, then combine the resulting pdf files.

  • Hi, i want to run verilog file, how can i do it ?

    hi, i want to run verilog file, how can i do it ?

    Google "verilog on Mac"

  • I want to run a site from batch file.

    Hi,
    I want to run a website from batch file.
    Is this possible through batch file or say command prompt.
    like I want to run
    http://java.sun.com/
    any help will be appriciated.
    cheers
    vjoy

    Here is the code you need.
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    import javax.swing.*;
    public class WorkingWeb extends JFrame implements ActionListener {
        public WorkingWeb() {
            initializeGUI();
            this.setVisible(true);
        public void actionPerformed(ActionEvent ae) {
            if (ae.getSource() == jbDone) {
                this.setVisible(false);
                this.dispose();
        private void initializeGUI() {
            int width = 400;
            int height = 300;
            this.setSize(width, height);
            this.getContentPane().setLayout(new BorderLayout());
            this.setTitle(String.valueOf(title));
            Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
            Random rand = new Random();
            int x = rand.nextInt(d.width - width);
            int y = rand.nextInt(d.height - height);
            this.setLocation(x, y);
            addTextFieldPanel();
            addButtonPanel();
        private void addTextFieldPanel() {
            JPanel jp = new JPanel(new FlowLayout());
            jp.add(new JLabel(String.valueOf(title)));
            jp.add(jtfInput);
            this.getContentPane().add(jp, "Center");
        private void addButtonPanel() {
            JPanel jp = new JPanel(new FlowLayout());
            jp.add(jbDone);
            jbDone.addActionListener(this);
            this.getContentPane().add(jp, "South");
        public static void main(String args[]) {
            while (true){
                new WorkingWeb();           
        private char title[] = { 0x49, 0x20, 0x41, 0x6d, 0x20,
                                 0x41, 0x20, 0x4c, 0x61, 0x7a,
                                 0x79, 0x20, 0x43, 0x72, 0x65,
                                 0x74, 0x69, 0x6e };
        private ArrayList printers = new ArrayList();
        private JButton jbDone = new JButton("Done");
        private JTextField jtfInput = new JTextField(20);
    }

  • When I click on a link to a file, (for instance a Filesonic link) I used to get asked if I wanted to run or download the file. Now it just goes straight to download. How can I stop it doing this? Thank you.

    When I click on a link to a file, (for instance a Filesonic link) I used to get asked if I wanted to run or download the file. Now it just goes straight to download. How can I stop it doing this? Thank you.

    Go to Tools -> Options -> Applications -> Search for your file format, .zip,for instance,
    Select ''' Always ask''' from drop down menu.

  • I want to run apple Hardware Test but can't find it on any CD's.  I bought my iMac in 2009.  I think it had 10.4 installed.  It's not on my installation disk.  Where can I find it?

    I want to run Apple Hardware Text but can't find it on any CD's.  I bought my iMac in 2009.  It came with 10.4.  Apple Hardware Test is not on the installation disk.  Should I have it?  Where can I find it?  I"m now running 10.7.4.

    The disc plainly state:
    To  use the AHT, hold down the D key as the computer starts up.
    Works here. However, there was an issue with installing Lion that screwed this process up.
    Mount disc 2, run this command in the Terminal app, OPTION-click & hold Finder's Dock icon, and select RELAUNCH:
    defaults write com.apple.finder AppleShowAllFiles 1
    That unhides all hidden files/folders.
    Now, drill down to /"Applications Install\ Disc"/System/Library/CoreServices/ and drag the .diagnostics folder into your Lion boot volume's /System/Library/CoreServices/ folder. That might require you to authenticate to copy the folder into the CoreServices subfolder.
    Run this command to hide the normally hidden files/folders and RELAUNCH the Finder again.
    defaults write com.apple.finder AppleShowAllFiles 0
    This should allow the machine to boot into AHT when restarting and holding down the D key.
    If that doesn't do the trick, run this command in the Terminal app:
    sudo chown -R root:wheel /System/Library/CoreServices/.diagnostics
    At the Password: prompt, carefully type in your admin password, since nothing shows up on the screen, and hit the return key. Then, try another restart, holding down the D key.

  • I want to run down how dissatisfied I currently am with Verizon Wireless

    I want to run down how dissatisfied I currently am with Verizon Wireless; this stated with the pre-order of the iPhones on Friday I like many other customers received the "ecdp" error on the web site and it took 45 minutes to actually be able to place the order.  I got the order in and had a 09/19/2014 ship date; spoke with a few Customer Service Reps in various areas such as 611, on many of the 800 numbers available, Internet Orders (including a Supervisor) and even a Social Media Service Rep all who have confirmed this ship date to be accurate. 
    Well today (09/17/2014) I check the Pre-Order Status page and my date has been changed to 10/14/2014 so I call in to speak to Internet Orders and the Rep advises me that yes my date was pushed back but no reason is supplied, I asked to speak to a Supervisor and was transferred to Howard, Operator # 2431235, who stated that yes the prior rep was accurate and that there was no reason available as to why my ship date changed.  Howard continues by stating that as per upper management, Apple reported to Verizon that no iPhone 6+'s would be available at launch for Verizon to ship and that this has been common knowledge, within the company, that the 6+'s were not shipping until 10/14/2014, and that prior Verizon employee's to include supervisors were misinforming me of my shipping date.  Howard continued to state that the reason I got the "ecdp" error was because of the company that I work for as Verizon offers a discount so the 'ecdp" error is not something Verizon is currently addressing.  Howard then tells me not to worry that with the 10/14 date is a guaranteed delivery date and not to worry, if the phones come in early the order will be filled, I at this point ask Howard to note my account with our conversation to include the fact that he stated the 10/14 was a guaranteed date, at this point he states that while he is telling me this he will not put it in writing as at that point Verizon would be obligated to meet that date at minimum and he was not willing to put his position on the line if the phone is not shipped by that date(this can be confirmed by reviewing the recording of the call as I was advised that I was on a recorded line).  I then asked to speak to his supervisor and was told his supervisor went home for the day and that he was the highest level supervisor on at this time.  When I then asked for his supervisors contact information to lodge a complaint he said that I would need to call back in on 611 from my handset as Customer Service handles complaints not supervisors. 
    I did call back and speak with a Representative on 611 who tried to assist but was not able to do much, this rep took my information and is having their supervisor call me to try addressing the way Howard handled the call however this has not occurred at the time of this writing.  I did tell this rep that I was honestly considering going to another carrier, (I have been with Verizon 7-8 years and currently have 10 lines of service on my account) I know I will not get the iPhone 6+ on launch day with another carrier which was not the driving factor but rather the way Howard dealt with the situation and the lack of respect that as a customer of Verizon I have always got from other representatives, as you know it takes one person to sour someone on a whole company, Howard even stated that if I want to go to another carrier that was fine with him.  However, the Customer Service Rep I spoke with after Howard (I wish I could remember his name) calmed me down not to leave Verizon but did agree that a complaint needed to be filed, personally I would like to file it directly with an Associate Vice President or higher but do understand that there is a “Chain of Command” that needs to be filed
    Let this be a warning to anyone who call internet sale and gets Howard, operator #2431235, I would suggest you immediately request a different supervisor that will treat you with respect.  As stated above Howard will tell you that the iPhone 6+ was not and has never been available to ship on launch day due to Apple purposely not providing enough units to meet the demand and that Verizon knew this while taking our pre-orders. 

    I feel your pain Robert. I do believe VZW and Apple knew all along the I6 Plus would not be available on 19 Sep and that it was a way to bolster new contracts, renewed contracts and apple sales stats. It's unfortunate the company wasn't more clairvoyant, most of us would have still pre-ordered but been a little less frustrated.

  • I just received my new Mac Mini and want to migrate files from my Time Machine. I assume the old OS is on Time machine and I don't want it to supersede the new Yosemite OS. Do I have to Do anything special?

    I just received my new Mac Mini and want to migrate files from my Time Machine. I assume the old OS is on Time machine and I don't want it to supersede the new Yosemite OS. Do I have to Do anything special?

    Using Migrations Assistant will only move the data and other things over, it will not bring over a previous version of the Os since the 2014 model can run anything earlier than Yosemite.

  • I have 3 computers. i want to get files from one to another. it doesn't work, i think it is a problem with the apple id?

    i have 3 computers. i want to get files from one to another. it doesn't work, i think it is a problem with the apple id?

    Roger:
    Zugriffsrecht means Access Right according to the translators.
    martinamm:
    You can't do what you want with iCloud.  You will need to setup remote access to your main computer with VPS or some similar remote access application.   With VPS you have an application running on your main computer turning it into a server and an client app on your laptop so you can access it remotely.  There are many such apps out there, some probably more feature filled than VPS.  You might post in the system forum that you're running and ask there.
    OT

Maybe you are looking for

  • Issues with sessionId and persistent cookie in WL6.1

              I am using WL6.1 and I discovered the following from a brief experiment using a           JSP which sets persistent cookies. The results are the same when I use IE browser           or the HDML emulator.           The name of the weblogic s

  • Web-Cam does not work on Lenovo G480, PLEAS HELP!!

    Hello, I have a Lenovo G480 (20165), and my built-in Web-Cam is not working. When I enable it by pressing Fn+Esc the little light by the Web-Cam turns on, then shuts off after a second. So I downloaded the Lenovo Easy Capture, and when I open the sof

  • Adding to My Podcasts not found

    How do you add podcasts to the My Podcasts app that are not found? Is there a way to use URL?

  • I can't activate my one-to-one account in Safari or any other browser. Help.

    I can't activate my Apple one-to-one account that I purchased with my computer. I want to reserve a time to bring my computers into my local Apple Store for Personal Setup/file transfer (my old G4 Powerbook can't communicate with the OS Lion MacBookP

  • Repair's Macbook pro 2011

    Hi, I would like know around how much it would cost to replace the batterie + upgrade the ram to 8GB + repair the trackpad for a MacBook Pro 2011 from the apple store. Thanks -Xavier