If fileexists (' C: \ Windows \ System32 \ drivers \ kx sys') then
Memo1. Lines. The Add (' the driver file exists) else
Memo1. Lines. The Add (' driver file does not exist!!!!!! ')
This file is certainly exist, but always return the result does not exist,
Right to the administrator to run, too, so add the manifest
CodePudding user response:
If fileexists (' C: \ Windows \ Sysnative \ drivers \ ks sys') then
Memo1. Lines. The Add (' the driver file exists) else
Memo1. Lines. The Add (' driver file does not exist!!!!!! ')
So that will do!
CodePudding user response:
CodePudding user response:
Windows 7 doing permissions problem is really bigCodePudding user response:
With a TFileStream. LoadFromFile loading the file path, look to whether complains