Deklaration einer Variable

ID182
Link ReferenceNot set
Link CreditsNot set
Link Technical DocumentationNot set
PlCodelangBatch
PlGroupVariablen
PlItemTitleDeklaration einer Variable
Code@echo off
SET myVariable=This is my content
SET myPathVariableWithBlanks="C:\Temp\Path With Blanks\File.txt"

echo %myVariable%
REM This is my content

echo %myPathVariableWithBlanks%
REM "C:\Temp\Path With Blanks\File.txt"
Result Example