Windows 10: Using Batch files to perform sequential tasks Solved

  1.    24 Jul 2016 #1

    Using Batch files to perform sequential tasks


    Hi,

    I think I used to do this all the time but that was a long time ago.

    I want to open a Wordperfect (WP) document then run an executable program, the WP file opens fine but the executable won't run until I close the WP file. Any clues?

    Regards,

    Jim
      My ComputerSystem Spec

  2.    24 Jul 2016 #2

    What code are you using?
      My ComputerSystem Spec

  3.    24 Jul 2016 #3

    Samuria said: View Post
    What code are you using?
    The closest answer I can come up with is DOS!
      My ComputerSystem Spec

  4.    24 Jul 2016 #4

    I meant what is in the batch file
      My ComputerSystem Spec

  5.    24 Jul 2016 #5

    Essentially:
    "c:\documents\wp documents\wp file.wpd"
    "c:\program files\program.exe"
      My ComputerSystem Spec


  6. Posts : 353
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
       24 Jul 2016 #6

    Change your bat file to use the start command, essentially like this:

    start "c:\documents\wp documents\wp file.wpd"
    start "c:\program files\program.exe"
      My ComputerSystem Spec


  7. Posts : 2,278
    Windows 10.3 Home 1703 x64 (Home per choice)
       25 Jul 2016 #7

    Interesting, I use it like this, otherwise it will just open CMD window and that is the end of it.

    start "" "c:\documents\wp documents\wp file.wpd"
    start "" "c:\program files\program.exe"
      My ComputerSystem Spec

  8.    25 Jul 2016 #8

    TairikuOkami said: View Post
    Interesting, I use it like this, otherwise it will just open CMD window and that is the end of it.

    start "" "c:\documents\wp documents\wp file.wpd"
    start "" "c:\program files\program.exe"
    Thanks! The extra pair of quotes got it.
      My ComputerSystem Spec


 

Related Threads
I use Photoshop for .jpg files, but it can't seem to do .png. What programs can do this?
Hello, everyone, I am using the most current preview build of Windows 10. (Loving the Fast Ring.) I have a question about clearing the Recent Files section of Quick Access, in File Explorer. I know how to clear and reset the Recent Files list...
Somehow (most likely my fault) .bat files have defaulted to opening my text editor (UltraEdit) instead of executing. I took all the file associations out of UltraEdit and re-started - no change I followed internet advice to remove ...
How do I create a batch file to convert all of my iPod Photo Cache all at once to jpeg. I have SmartIV ImageZipper Image Converter 1.0.2. I have read how to use other software to do this but I can't figure out the command with this software. I have...
Batch Rename Deletes Files in Performance & Maintenance
Hey all, I just upgraded to Windows 10 last night, and I've been playing around with the new File Explorer. One thing I tried was the batch rename function (by which I mean just selecting multiple files and clicking "rename"). I quickly realized...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 10:59.
Find Us