Windows 10: Start program from batch file. Why does it open an "empty" window?

Discus and support Start program from batch file. Why does it open an "empty" window? in Windows 10 Gaming to solve the problem; Have a batch file that opens Microsoft Money with it's data file on H:/Money.Why does the batch file open the lower window when it executes?The batch... Discussion in 'Windows 10 Gaming' started by Dale Webb, Jun 5, 2025 at 5:57 PM.

  1. Dale Webb Win User

    Start program from batch file. Why does it open an "empty" window?


    Have a batch file that opens Microsoft Money with it's data file on H:/Money.Why does the batch file open the lower window when it executes?The batch file is pretty simple:Start program from batch file.  Why does it open an "empty" window? :mad:ECHO OFF "C:\Program Files x86\Microsoft Money Plus\MNYCoreFiles\MSMoney.exe" "H:Money\D&KWebb.mny"

    :)
     

  2. Batch file

    hello,

    i am not so good in creating batch files i need some help in creating one.

    in the following path

    C:\Windows\System32\spool\PRINTERS

    there is a .SHD and .SPL file created when prints launched

    i need a batch file to open the .SPL in notepad first then on closing the notepad opened, all the files .SHD and .SPL are permanently deleted

    any help please

    code to open the notepad is as below

    start notepad "C:\windows\system32\spool\printers\FP00002.SPL"

    the file is opened but there are unwanted characters that appear as well as below


    Start program from batch file.  Why does it open an "empty" window? upload_2014-6-19_10-43-2-png.png
     
    Sandeep Bhugoo, Jun 5, 2025 at 6:05 PM
    #2
  3. simple batch program

    hey guys, i wrote a REAL simple .bat file that stops and starts certain vmware services on my machine. it makes it a lot easier when dealing with multiple boxes and virtual machines. anyway, when the program completes the cmd window (this is in vista) disappears. this is fine at first because i can see the services start or stop. however, for log purposes id like the cmd window to remain open even after it completes the command. anyone happen to know what code i can add to the batch file to keep the window open? thanks.
     
  4. Start program from batch file. Why does it open an "empty" window?

    Start a program from a batch file


    I'm trying to create a batch file that should

    - call another batch file
    - start a program and then wait for the program to close
    - call another batch file

    My goal with this is to work around an issue in Windows 10 where the screensaver won't work when I have my game controllers connected. I already created two batch files where one of them enables my game controllers and the other one disables them. Both these batch files work just fine.

    However I now want to create a third batch file that will do what listed above - first call the batch file that will enable my game controllers, then start my program which is an executable and then after I exited out of the program the batch file that will disable my game controllers should be called.

    Here's what I've tried but this doesn't work, it will only run the first batch file enabling my game controllers.

    Code:
    Code:
    "c:\util\Game controllers - Enable.cmd" start "P:\Program Files (x86)\Lockheed Martin\Prepar3D v2\Prepar3D.exe" "c:\util\Game controllers - Disable.cmd"
    Thanks in advance for any help.
     
Thema:

Start program from batch file. Why does it open an "empty" window?

Loading...
  1. Start program from batch file. Why does it open an "empty" window? - Similar Threads - Start program batch

  2. Start program from batch file. Why does it open an "empty" window?

    in Windows 10 Software and Apps
    Start program from batch file. Why does it open an "empty" window?: Have a batch file that opens Microsoft Money with it's data file on H:/Money.Why does the batch file open the lower window when it executes?The batch file is pretty simple::@ECHO OFF "C:\Program Files x86\Microsoft Money Plus\MNYCoreFiles\MSMoney.exe" "H:Money\D&KWebb.mny"...
  3. Starting two programs from a single batch file is different than starting two programs in...

    in Windows 10 Ask Insider
    Starting two programs from a single batch file is different than starting two programs in...: First Concrete example: I run “Start Resident Evil 2” from a batch file I run “Start Resident Evil 2 Trainer” from another batch file Everything works! Okie dokie... So let’s simplify it a bit... I run “Start Resident Evil 2” and “Start Resident Evil 2 Trainer” from the...
  4. Batch file screen does not open with sidebar

    in Windows 10 Gaming
    Batch file screen does not open with sidebar: I created a User Manual option in my batch file. It happens that when the screen of this Manual opens, a sidebar does not appear so that all content can be viewed. The screen opens and goes to the end of the Manual, losing the information from the beginning because there is...
  5. Batch file screen does not open with sidebar

    in Windows 10 Software and Apps
    Batch file screen does not open with sidebar: I created a User Manual option in my batch file. It happens that when the screen of this Manual opens, a sidebar does not appear so that all content can be viewed. The screen opens and goes to the end of the Manual, losing the information from the beginning because there is...
  6. Batch file screen does not open with sidebar

    in Windows 10 Customization
    Batch file screen does not open with sidebar: I created a User Manual option in my batch file. It happens that when the screen of this Manual opens, a sidebar does not appear so that all content can be viewed. The screen opens and goes to the end of the Manual, losing the information from the beginning because there is...
  7. Start a program from a batch file

    in Windows 10 Software and Apps
    Start a program from a batch file: I'm trying to create a batch file that should - call another batch file - start a program and then wait for the program to close - call another batch file My goal with this is to work around an issue in Windows 10 where the screensaver won't work when I have my game...
  8. Start a program from a batch file

    in Windows 10 Software and Apps
    Start a program from a batch file: 4 Apps of mine run a batch file that -tries- to call/start and EXE program. These Batch files need to work with OS XP thru Win 10. Win 10 has a pop-up window asking user if its okay to run/execute my EXE. No other Win version does this and thus I suspect a timing problem....
  9. Batch file start program minimized

    in Windows 10 Support
    Batch file start program minimized: Here's a little script to make a backup of 2 directories: Code: ::can't copy Opera data while Opera is running taskkill /im opera.exe robocopy c:\all e:\Bobback\All /mir robocopy c:\Users\Bob\AppData\Roaming e:\Bobback\Roaming /mir ::restart Opera minimized start...
  10. Batch file - Unable to start a program minimized

    in Windows 10 Support
    Batch file - Unable to start a program minimized: I've been trying to figure this out for a while now and I can't. I've looked at tons of small tips online to get this working but it doesn't work at all. I have a batch file which causes various programs to start when opened. However, one of them always appears above the rest...