“lote Remova cotações duplas” Respostas de código

Remover cotações em lote

set foo="quoted string"
set foo=%foo:"=%		// Remove the quotes
Clear Cat

lote Remova cotações duplas

# 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
Muddy Moose

Respostas semelhantes a “lote Remova cotações duplas”

Perguntas semelhantes a “lote Remova cotações duplas”

Procure respostas de código populares por idioma

Procurar outros idiomas de código