Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Ubuntu I've been using:

cd ~/theApp

to get to a frequently used directory. Is there a Windows equivalent? I'm looking for a sym link (via mklink) that is available no matter where I am. Would placing a sym link somewhere in my PATH do the trick? I need it to be accessible via Powershell as well.

share|improve this question

1 Answer 1

In Linux the '~' (tilde) character is just a shortcut to the users home directory. The equivalent in Windows is the environment variable '%USERPROFILE%'. You might be able to assign that something more convenient, such as '~', but I don't have my windows box running to test that out for you.

Last time I checked Powershell didn't have mklink, but it should follow links set by cmd.exe.

share|improve this answer
1  
you can do a mklink in powershell with cmd /c mklink "wd" c:\dev\code –  jcollum Apr 9 '12 at 18:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.