Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch file Name in CMD Window 1

Status
Not open for further replies.

doco

Programmer
Sep 28, 2000
32
GB
Hi,
Normally when you launch a MS Dos type batch file you end
up with the name of the executable file in the Window not
the name of the batch file
c:\winnt\system32\my_exe.exe
content of batch file startprog.bat:
=====================
echo
etc
start my_exe

I would like the window to show the name of the batch file
Any suggestions - Thanks,
Chris Liverpool UK
 
Can't you just put a print statement (with a pause) in the beginning of your BAT file? or use echo command in the bat file?

-hope this helps Joseph L. Poandl
MCSE 2000

If your company is in need of experts to examine technical problems/solutions, please check out
 
No it's not that easy.I would like the name to appear at the top in the title bar.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top