E
Er Vishwas Gupta
I have a batch file (e.g. a.bat) which has one line content: echo %~s1
This batch file is supposed to print the short path of the parameter given to it.
When I run this with the following parameters: a.bat "C:\Program Files\Pitney Bowes\"
It should print: C:\PROGRA~1\PITNE~1
Instead it prints: C:\PROGRA~1\Pitney Bowes\
Please guide.
Continue reading...
This batch file is supposed to print the short path of the parameter given to it.
When I run this with the following parameters: a.bat "C:\Program Files\Pitney Bowes\"
It should print: C:\PROGRA~1\PITNE~1
Instead it prints: C:\PROGRA~1\Pitney Bowes\
Please guide.
Continue reading...