M
Markus Eßmayr
Hello,
I have a batch file something like that:
@echo off
set SOMEIMPORTANTFILE=C:\Program Files\Some Directory With Spaces\file.dat
app1.exe "%SOMEIMPORTANTFILE%"
app2.exe "%SOMEIMPORTANTFILE%"
app3.exe "%SOMEIMPORTANTFILE%"
Now I also should add to call another application, which in no case supports
spaces in file names.
Is there a way similar to using %~s1 for converting %1 to a short file name?
Thanks!
Max
I have a batch file something like that:
@echo off
set SOMEIMPORTANTFILE=C:\Program Files\Some Directory With Spaces\file.dat
app1.exe "%SOMEIMPORTANTFILE%"
app2.exe "%SOMEIMPORTANTFILE%"
app3.exe "%SOMEIMPORTANTFILE%"
Now I also should add to call another application, which in no case supports
spaces in file names.
Is there a way similar to using %~s1 for converting %1 to a short file name?
Thanks!
Max