DECLARE INTEGER GetModuleFileName IN kernel32; INTEGER hModule,; STRING @ lpFilename,; INTEGER nSizee.g.: z:\app.exe
#DEFINE DRIVE_REMOTE 4 DECLARE INTEGER GetDriveType IN kernel32; STRING RootPath(3) If the drive is not remote -- then SYS(0) is your answer.
DECLARE INTEGER WNetGetConnection IN mpr; STRING lpLocalName,; STRING @ lpRemoteName,; INTEGER @ lpnLene.g.: \\myserver\group1