I'm trying to write to a file a URL string that has the '&' char in it (using simple 'echo'), problem is that it's a saved char in the command prompt so it fails.
Is there any way to tell the command prompt that it's part of the string.
Example:
echo www.google.com/search=make&peace > love.txt
I'll get an error indicating that "peace" is not a recognized command.
Thanks!
cmd uses ^ as the escape character, so
echo www.google.com/search=make^&peace > love.txt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With