Microsoft
Software
Hardware
Network
Question : Simple BAT file
I need a bat file that goes to a directory and runs a command like this.
cd xx
runprgram
When I do this, the command prompt disappears immediately after running the program. I need the command prompt to stay visible so I can monitor the program output.
Answer : Simple BAT file
BillDL: you need a /B ("Start application without creating a new window") in the command start, without command prompt disappears immediately.
@echo off
cd foldername
start /wait /B program.exe
exit
1: 2: 3: 4: 5:
@echo off setlocal cd /d "D:\your app path\your folder" application.exe|more pause
Open in New Window
Select All
Random Solutions
AS 3.0 - eventlistener
Automatic Failover from RAC to DTG on the Clientside
In Excel, How can I calculate the difference in days ( and Workdays) between two dates?
HLOOKUP newbie question
flash as3 complicated button question
IIS auto-restart on crash
ODBC--connection to 'xxx' failed. (error #3151)
Vista has started to not allow me to run .exe files. How come?
Showing full e-mail address instead of Display Name
Auto-Response on Distribution list