Home » Questions » Computers [ Ask a new question ]

Setting "~" as variable for %HOMEPATH% in Windows (7 or other versions)

Setting "~" as variable for %HOMEPATH% in Windows (7 or other versions)

I've been using various linux distributions for quite some time now and become accustomed to using the "~" key to indicate "home" when typing in paths.

Asked by: Guest | Views: 296
Total answers/comments: 1
Guest [Entry]

"Perhaps this works for you too:

Open Explorer and browse to the directory/folder containing your user dir.
Right click and select Send to desktop as shortcut.
Go to your desktop and rename that shortcut to ~.
Open Explorer again on a random directory and input ~ in the address bar.
It should take you to your home directory.

Not really suited for command line usage though. An alias would work here though"