#include <FXWinLinks.h>
Since NTFS 5, Windows lets you mount any directory tree under a special NTFS-only entity called a junction point. This is basically a magic directory which tells the NT kernel to indirect to some other specified path - much like a symbolic link, except that it can only link from a directory to another directory.
As it happens, most POSIX implementations have just the same ability via a variation of the mount
command which allows you to bind a directory tree to appear at some other directory location. Unfortunately, this is a root only operation so FXWinJunctionPoint simply emulates the Windows functionality using a normal symbolic link.
Static Public Member Functions | |
static bool | test (const FXString &path) |
static FXString | read (const FXString &path) |
static void | write (const FXString &path, const QFileInfo &whereTo) |
static void | remove (const FXString &path) |
static bool FX::FXWinJunctionPoint::test | ( | const FXString & | path | ) | [static] |
Returns true if the specified path is a NTFS junction point.
Reads what a NTFS junction point points to.
static void FX::FXWinJunctionPoint::write | ( | const FXString & | path, | |
const QFileInfo & | whereTo | |||
) | [static] |
Writes a NTFS junction point.
static void FX::FXWinJunctionPoint::remove | ( | const FXString & | path | ) | [static] |
Deletes a NTFS junction point.