Welcome to Vista Banter. You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
|
Windows Vista File Management Issues or questions in relation to Vista's file management. (microsoft.public.windows.vista.file_management) |
|
LinkBack | Thread Tools | Display Modes |
|
|||
Removing a hard link
I was doing some testing with mklink today. I'm looking to move a
(non-system) folder from C: to my new data drive. I used mklink /j C:\c_test e:\e_test to create a link. I noticed that when I deleted c:\test, the contents of e:\test were also deleted. I expected this given the definition of hard link. I was confused that e:\Test was not also deleted. But, my real question is, once I create a hard link, how can I remove it without deleting the target? In my example, how can I remove C:\c_test without removing E:\e_test. Thanks \\Greg |