Does anyone know how I can duplicate a unix-like "...
# water-cooler
g
Does anyone know how I can duplicate a unix-like "latest" shortcut for windows directory? I have the following directories; c:\myApp\v1 c:\myApp\v2 I have created a shortcut called "latest" to "c:\myApp\v2" in the "c:\myApp\" directory. In windows Explorer - double-clicking on "latest" places me in the v2 sub-folder as expected. However I want to be able to do the same in a DOS / Powershell prompt - which isn't working. "cd" ing to \myApp\latest gives me cannot find path : in powershell The system cannot find the path specified : in DOS I have added ".lnk" to the PATHEXT system environment variable and restarted new DOS / PS Prompts - but it still doesn't work. Thanks.
r
Sounds like you want a symbolic link and not a shortcut. See the answer here: https://stackoverflow.com/questions/894430/creating-hard-and-soft-links-using-powershell
👍 1
👍🏼 1
g
Awesome! Thanks very much. Works as expected, too!