471,073 Members | 1,149 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,073 software developers and data experts.

Creating symbolic links to files

Hi All,
.NET 1.1 doesn't support creating symbolic links to files,
like in Linux? Can i use C# to make a file point to another file?

Thanks.

Jul 17 '07 #1
1 3184
"Remote_User" <am****@gmail.comwrote in message
news:11**********************@z24g2000prh.googlegr oups.com...
.NET 1.1 doesn't support creating symbolic links to files,
like in Linux? Can i use C# to make a file point to another file?
The equivalent to symbolic links in Windows is called "NTFS Junction
Points". Creating them in C# requires using P/Invoke to call the Windows
APIs. You can find sample code here:
http://www.codeproject.com/cs/files/...nPointsNet.asp
Jul 17 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Mark Everett | last post: by
4 posts views Thread by TK | last post: by
reply views Thread by humbleaptience | last post: by
1 post views Thread by Remote_User | last post: by
1 post views Thread by amygrant1701 | last post: by
2 posts views Thread by Desmodromic | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.