Hi,
I am trying to create a directory shortcut in Windows XP, that in theory should work like this: considering the directory c:\dir1, I should be able to create a shortcut dir2 that would allow me to type "cd c:\dir2" in the command console and it would show me the contents of dir1. In other words it should work like the Linux command ln -s.
I have tried creating the shortcut by the traditional way (right clicking c:\dir1 and selecting the "Create Shortcut" option), but this only works through Windows Explorer, if I type "cd c:\dir2" in the cmd, it returns an error.
I believe that the shortcut might be being treated as a file instead of a directory by the OS and thus it is treated the same way by the cd command.
I have also found the page: " that describes the command "mklink". This command would do exactly what I need, but I think that it is only available for Windows Vista (
Can anyone help me?
Thanks,
Komyg
I am trying to create a directory shortcut in Windows XP, that in theory should work like this: considering the directory c:\dir1, I should be able to create a shortcut dir2 that would allow me to type "cd c:\dir2" in the command console and it would show me the contents of dir1. In other words it should work like the Linux command ln -s.
I have tried creating the shortcut by the traditional way (right clicking c:\dir1 and selecting the "Create Shortcut" option), but this only works through Windows Explorer, if I type "cd c:\dir2" in the cmd, it returns an error.
I believe that the shortcut might be being treated as a file instead of a directory by the OS and thus it is treated the same way by the cd command.
I have also found the page: " that describes the command "mklink". This command would do exactly what I need, but I think that it is only available for Windows Vista (
Can anyone help me?
Thanks,
Komyg