“Partia Usuń podwójne cytaty” Kod odpowiedzi

Partia usuń cytaty

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

Partia Usuń podwójne cytaty

# 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

Odpowiedzi podobne do “Partia Usuń podwójne cytaty”

Pytania podobne do “Partia Usuń podwójne cytaty”

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu