lea #Define MAX_PATH 260 oldpath = set('DEFAULT') + sys(2003) + '\' _path=left(sys(16,1),rat("\",sys(16,1))) Set defa to (_path) Declare integer GetSerialNumber in DiskSerial.dll Integer nDrive, String @lpBuffer Declare integer GetModelNumber in DiskSerial.dll Integer nDrive, String @lpBuffer D