I have a file named first & second.txt in D:\SomeFolder.
When I use a batch file containing the string echo %@sfn[%1] (the command line looks like batch.bat "first & second.txt") I get the following:
D:\SOMEFO~1\FIRST
~1.TXT
TCC: D:\SomeFolder\ReFlac.bat [3] Unknown command "~1.TXT"
How can I get the correct short filename, i.e. FIRST&~1.TXT?
When I use a batch file containing the string echo %@sfn[%1] (the command line looks like batch.bat "first & second.txt") I get the following:
D:\SOMEFO~1\FIRST
~1.TXT
TCC: D:\SomeFolder\ReFlac.bat [3] Unknown command "~1.TXT"
How can I get the correct short filename, i.e. FIRST&~1.TXT?