Answers for "batch remove double quotes"

1

batch remove quotes

set foo="quoted string"
set foo=%foo:"=%		// Remove the quotes
Posted by: Guest on November-13-2021
1

batch remove double quotes

# Removing quotes from batch script arguments
# e.g. c:/path/to/my-script.bat "my-first-argument"
set foo=%1 # Stores "my-first-argument" with the quotes
set foo=%~1 # Stores "my-first-argument" without the quotes
Posted by: Guest on January-28-2022

Code answers related to "batch remove double quotes"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language