I would like to copy a file as a linmk to a diffferent directory is it possible in the command window to do that?

link|improve this question
feedback

4 Answers

It's hard to decipher your message, but I suspect that you are looking for junction.exe.

link|improve this answer
Junction is only for folders. – surfasb Jul 11 '11 at 18:38
Oh yeah, so it is. – paradroid Jul 11 '11 at 19:02
feedback

For files in XP, you are looking for hardlinks. Junction only does folders. In XP, you'll need to use the fsultil hardlink create destinationName *sourceFileName*

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/fsutil.mspx?mfr=true

link|improve this answer
feedback

Under Windows 7 (and I presume Vista), xcopy accepts a new /b switch that, according to the help "Copies the Symbolic Link itself versus the target of the link.

link|improve this answer
1  
Symlinks do not exist in XP. Only Vista+ – surfasb Jul 11 '11 at 19:15
feedback

Fsutil: hardlink might solve the challenge I have. Preferable Id like to copy the file as soft link. So the question I had was realy is it possible to do soft links commands in the command window.

Thank you for this answer!

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.