Re: Creating symbolic links to files

Tech-Archive recommends: Fix windows errors by optimizing your registry



"Remote_User" <amitmv@xxxxxxxxx> wrote in message news:1184693919.014533.303730@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
.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/JunctionPointsNet.asp


.



Relevant Pages

  • Re: Substitution for Windows.h
    ... > I am having a sample code for communicating a sagem biometric finger ... > linux environment. ... As far as serial port access is concerned you may have a look at the "Serial ... (Linux Kernel Error Message) ...
    (comp.os.linux.embedded)
  • Re: The Lib debate
    ... I don't know what your requirements are, that you think linux pathetic. ... Its the same like saying RosAsm is crap because problems everyhwere ... NASM working (not the assmeblers, but my sample code), then I will try ...
    (alt.lang.asm)
  • Re: DBCS questions
    ... > internationalisation - Windows and Linux are so far ahead it's not ... have you looked for clues in the sample code at ...
    (comp.os.os2.programmer.misc)
  • Re: Substitution for Windows.h
    ... I am having a sample code for communicating a sagem biometric finger print scanner through a serial port in windows environment,in which a header file called is existing.Can anybody tell me the necessary and replacement header file to compile that sample code in linux environment. ...
    (comp.os.linux.embedded)
  • RealBasic and the Pervasive Btrieve API
    ... Anyone had success with this? ... Any sample code or projects would be ... I'm coming from VB and Powerbasic and am looking at the Linux ... Gil ...
    (comp.databases.btrieve)