Answers for "batch remove double quotes from argument"

1

batch remove double quotes from argument

# 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 from argument"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language