0

Can a Windows synonym shortcut be created so that the location "/home/" maps to "c:\" drive ?

Another way, if I navigate via DOS to "/home/" then "c:/" drive is navigation target.

Note : I'm not looking for a cygwin suggestion as this needs to be navigable via DOS.

Update : I've renamed this question I wasn't aware of "symbolic link" term.

blue-sky
  • 629
  • 3
  • 10
  • 22
  • Take a look here, this seems like it will answer your question http://superuser.com/questions/79612/setting-and-getting-windows-environment-variables-from-the-command-prompt – Nathan Kerr Mar 13 '15 at 11:58
  • Do you mean `synonym shortcut` or `symbolic link`? – Ramhound Mar 13 '15 at 11:58
  • @Ramhound I think its "symbolic link" as this will allow my to navigate to dir with String of my choosing ? – blue-sky Mar 13 '15 at 12:01
  • @NathanKerr posted link refer's to environment variables ? I don't think environment variables can be used to set shortcut paths? – blue-sky Mar 13 '15 at 12:01
  • 1
    The best way to get an answer to your question is to update your question to use the correct term. A symbolic link would allow you to create a symbolic representation to `Folder A` and `Folder B`. In other words `Folder B` would be `Folder A`. – Ramhound Mar 13 '15 at 12:09
  • @blue-sky True, i was thinking of use within a script, however the "doskey" command may be of some use. – Nathan Kerr Mar 13 '15 at 12:09

1 Answers1

0

If you use NTFS, you can create a junction. Here's how to create it.

NTFS also supports symbolic links in Vista and later, and can be created using mklink command.

Pang
  • 937
  • 1
  • 9
  • 12
user4098326
  • 193
  • 2
  • 2
  • 9