Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #batch #remove #double #quotes
ADD COMMENT
Topic
Name
5+3 =