Forum Discussion

mmorioka's avatar
mmorioka
New Contributor
12 years ago

Using aqFileSystem.Exists("Path") - TestComplete cannot find C:\Windows\System32\config\systemprofile\AppData\Roaming\folder1

If you create a folder in C:\Windows\System32\config\systemprofile\AppData\Roaming\folder1 and use aqFileSystem.Exists("Path") (replace "Path" = C:\Windows\System32\config\systemprofile\AppData\Roaming\folder1 and TestComplete will return back false.



Folder Security: SYSTEM and Administrators with all permissions = Allow (except Special permissions).
  • hlalumiere's avatar
    hlalumiere
    Regular Contributor
    Under Win7 the UAC will prevent this even if the permissions are ok. A lot of antivirus packages will do the same. No one should be writing anything in System32. If you absolutely need to do it, you need to do it within an elevated context, in a .Net application.