3

Possible Duplicate:
What is the equivalent of Linux's “~” in Windows?

For example, is there a character I can enter in place of the asterisk in the string "*\Videos" that is equivalent to typing the string "C:\Users\myusername\Videos"?

I'm particularly interested in using this method to jump to my user directory from the Windows key dialog.

Please pardon any butchering of technical terminology.

Pete
  • 1,124

1 Answers1

6

Unfortunately, in regular windows prompt there is no shorthand notation. You can use %userprofile% or %homepath%, for example cd %userprofile% and cd %HOMEPATH%\Videos as per your example

In Powershell, however, you can use the tilde ~. If you use console a lot I would recommend creating a shortcut to the Powershell rather than regular command prompt