Important: I need to do that for a file (not for a folder) and that the link and the file have to be on the same disk but on different partitions.
Thanks
![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
Code: Select all
fsutil hardlink create c:\foo.txt c:\bar.txt
Ooops...spicydog wrote:Thanks lautrepay
Since I do have .net 3.5 installed and I liked the idea of a simple tool (only 86 KB) able to quickly create files and folders symlinks I have already tried Symlink Creator v.1.1.1.3 despite what I read on the page of Alejandro Mora Díaz:
"This application needs .Net Framework 3.5 to run (SP1 recommended) and as of 7/26/2010 this software will only work under Windows Vista or 7, Windows XP doesn't have the mklink command inside the cmd.exe app. I'll look for a workaround for this, but it isn't promising that I will find it..."
For you too, thanks.lautrepay wrote:Thanks anyway for your suggestion and have a nice weekend.
PS: And you, often complaining about your Vista... For once I should complain about my XP![]()
Sorry, it is impossible.spicydog wrote:Can anybody please suggest me how to make hardlinks and/or symbolic links and/or junctions on XP Pro SP3 32-bit local NTFS disk?
Important: I need to do that for a file (not for a folder) and that the link and the file have to be on the same disk but on different partitions.
Thanks
Depends on the definition of "work".spicydog wrote:Hey SYSTEM, nice of you to join the thread![]()
What if I use fsutil to make a link of the specific file on the same volume (say in the "My_File" folder) and then I use linkd to make a junction across partitions of the "My_File" folder?
Do you think that this (sort of file bouncing via link/junction) could work?
Thanks
Yes, you are.spicydog wrote: Am I doing something wrong?
The parameters are in a wrong order. The command should be the following (with Junction, I haven't used linkd):spicydog wrote: 3) When I attempted to create the junction (with either linkd.exe or junction.exe) in this way:
Linkd "C:\TARGET ON THE SAME VOLUME" "E:\TARGET ON ANOTHER VOLUME"
OR
junction "C:\TARGET ON THE SAME VOLUME" "E:\TARGET ON ANOTHER VOLUME"
Code: Select all
junction "E:\TARGET ON ANOTHER VOLUME" "C:\TARGET ON THE SAME VOLUME"
SYSTEM wrote:Sorry, it is impossible.
Hard links don't work across different partitions.
Junction points can only point to directories.
Finally, symbolic links were introduced with NTFS 6.0 and Windows Vista. Windows XP can't even read them, let alone creating.
Junction Link Magic 2 requires admin rights + .net framework to run and is not portable;freakazoid wrote:Needed to use symbolic links and found a private app in TPFC:
Junction Link Magic - http://www.portablefreeware.com/?id=272