How can I shorten the path of a DOS prompt?

To remove the path from the prompt use ‘prompt $g’ which will just show the chevron. You can then use the ‘cd’ command anytime to see the directory you are in. E.g.

C:\Windows\System32\drivers\etc>prompt $g
>
>cd
C:\Windows\System32\drivers\etc

>

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)