Variable mit Sonderzeichen über ECHO ausgeben
Hallo Forum!
Ich bekomme es einfach nicht hin, eine Variable, welche das Steuerzeichen "&" enthält in der Batch weiter zu verarbeiten bzw. mit ECHO auszugeben. Ich hoffe ihr könnt mir helfen.
@echo off
set /P "User_Eingabe=Eingabe mit Sonderzeichen "^&":"
set %Eingabe%=%User_Eingabe:&=^^^&%
ECHO %Eingabe%
Pause
Please also mark the comments that contributed to the solution of the article
Content-Key: 190137
Url: https://administrator.de/contentid/190137
Printed on: April 24, 2024 at 14:04 o'clock
3 Comments
Latest comment
Kenne mich nicht sehr gut mit Batch aus, jedoch könnte dir das ggf. weiterhelfen
http://cypressor.twoday.net/stories/4480453/
http://cypressor.twoday.net/stories/4480453/