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
DTS and Stored Procedure passing parameters
Autodiscovery workaround for Free/Busy and OOF status in Exchange Server 2k7 + Outlook 2007
i have a VBA code work with windows XP but not with Vista?
VMWare time sync for domain
Event ID 2020 SVR - After HP Software install, reboots needed a couple times a day
Flag number
Exchange 2007 Anti-Spam event errors
check if file exists on FTP
How to insert multiple rows in a table in SQL Server 2000
ms access 2k3/7 vba, loop thru directory tree and import .dbf files