Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How can I use pipe ( | ) in Windows CMD title without quotes?

I’m playing with the bash scripts and I’m wondering how can I use the pipe symbol in title? I tried title "|" but the quotes are in the title too. Is there any other way I can make this?

Thank you!

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You can escape the pipe | character with the ^ character:

C:\Windows\System32> title HELLO ^| WORLD

Output:

Output of command "title HELLO ^| WORLD"

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading