I want to do a command line like:
for /F "tokens=4" %%F in ('c:\spaces spaces\filever.exe /A /D D:\Spaces Other\a.dll') do (set VERSION=%%F)
I encounter a spaces problem.
How can I write that command with a paths with spaces.
You should be able to put the path in quotes.
' "c:\spaces spaces\filever.exe" /A /D "D:\Spaces Other\a.dll" '
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the
terms of service.
1 year ago