-- myBatchFile.bat
ECHO %0
ECHO %~n0
ECHO %~nx0
the result when I put in the console C:\test>myBatchFile.bat
myBatchFile.bat
myBatchFile
Reference:
http://groups.google.com/group/alt.msdos.batch.nt/browse_thread/thread/de87a71035b08629/7d314a7c3579f8ed?pli=1
No comments:
Post a Comment