Add Windows support for #PB_FileSystem_Link

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Add Windows support for #PB_FileSystem_Link

Post by Mistrel »

Windows supports symbolic links and junctions (minor security limitations but otherwise identical to symbolic links). I would love to see support for this flag expanded.

On Windows these are called "reparse points". The GetFileAttributes() flag for this is FILE_ATTRIBUTE_REPARSE_POINT. Easy peasy.