Help with a bat File

February 25, 2011 at 11:04:53
Specs: Windows XP
Trying to creating a batch file that launches a program and then closes its command window. This is across the network to a program on the server.Running XP. I can't get the window to close after the program launches--it just hangs there until I close it myself.

I've tried using "exit" and "cls" as the last line of the file, and also Start "" and /d listed on this site. But can't get to work.
Here is my bat.file

@echo off
cls
F:
CD\CHF
CHF32_6D.EXE
CD\
C:
CLS
EXIT


See More: Help with a bat File

Report •

#1
February 25, 2011 at 11:12:45
@CMD F:\CHF\CHF32_6D.EXE

Should work.


Report •

#2
February 25, 2011 at 11:28:29
replace: CHF32_6D.EXE
with: start CHF32_6D.EXE

Or did you try that?

Happy is ONE who says I am an OttoMAN.


Report •

#3
February 25, 2011 at 17:03:20
start F:\CHF\CHF32_6D.exe
if puted in a batch file I guess it should also work, wont give any output on screen and exit the command shell instantly ..

Subhash Chandra.


Report •

Related Solutions

#4
March 2, 2011 at 10:28:41
Got it. Thanks to All

Report •

Ask Question