How do I echo path variable in Windows?

Như Quỳnh

New member
How do I echo path variable in Windows?
Answer
To print the entire path, use echo %path% . This will print all directories on a single line separated with semicolons ( ; ) To search / replace a string in a variable, use %path:
a=b%
which will replace all a characters with b. echo. is used to print a newline.
 

Tìm kiếm

Back
Top