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
Musy resync Iwam account every day to access .asp pages
How to develop calender control in WPF
Connecting to a Sybase ASA database using Ruby
Reporting Services 2005 - Currency Format Style for fixed currency symbol
Validating dropdownlist cascading.
How Do You Create Private Posts in Wordpress, or Hide Posts Until Logged in to Wordpress Site?
Task Microsoft Exchange Reported error (0x80004005)
Outlook 2003 Creating Profiles at Logon
Programatically forward outlook e-mail using vba
"A required resource was unavailable"