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
Could not find row in sysindexes for database ID 7, object ID 1, Run DBCC CHECKTABLE on sysindexes.
Recommendations for web based document management, indexing, storage etc.
Detect if a text box grows - Access Report
SYSTEM 32 CONFIG SYSTEM FILES MISSING
Windows automatically adds ps extension to eps file
Outlook 2007 constantly asking for password on open - OWA
Internet Explorer will not automatically open Citrix .ICA files for the web client
Need a batch file to copy files in a folder and append the date and time
How to uncheck a radio button
Exchange Server 2003 install error