0

I want to pass the ^ character as a command-line argument. But, it is treated as a blank. How can I pass this character in command-line in windows.

oguz ismail
  • 1
  • 16
  • 47
  • 69
Artaza Sameen
  • 519
  • 1
  • 5
  • 13
  • 1
    It needs to be escaped, but escaping in cmd is a nightmare ... try this https://stackoverflow.com/questions/42032953/which-symbol-is-escape-character-in-cmd#:~:text=Unfortunately%20CMD%20uses%20different%20escape,a%20in%20('type%20file. Also, https://ss64.com/nt/syntax-esc.html. You might need to have two carets `^^` –  Jun 19 '20 at 08:35
  • Why do you want this? What's the command and what is the complete list of parameters you want to pass? – Dominique Jun 19 '20 at 10:24
  • Does this answer your question? [Batch character escaping](https://stackoverflow.com/questions/6828751/batch-character-escaping) – phuclv Jun 19 '20 at 10:27

0 Answers0