peini7
peini7
Explore posts from servers
TTask
Created by peini7 on 4/30/2025 in #help
How do use double quotes in cmd on windows?
I want to run the following command:
cmds:
- cmd /c "SET VSCMD_START_DIR=%CD% && call ""%VSCOMNTOOLS%VsMSBuildCmd.bat"""
cmds:
- cmd /c "SET VSCMD_START_DIR=%CD% && call ""%VSCOMNTOOLS%VsMSBuildCmd.bat"""
The thing is that %VSCOMNTOOLS% contains spaces, so i need to wrap it in quotes but no matter what i try, the quotes are always removed and i get this error, when executing this task: "Der Befehl "C:\Program" ist entweder falsch geschrieben oder konnte nicht gefunden werden." Does anyone know how to fix this?
2 replies