How to check if file exists in system32 folder on 64bit Windows
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2020
09:09 PM
07-23-2020
09:09 PM
How to check if file exists in system32 folder on 64bit Windows
Hi
When I want to check if file exits on system32 folder in 64bit Windows, TestComplete always returns false even if file does exist.
When printer driver is installed, some driver files are copied also to system32 folder and I want to check if file was really copied there. How to do this on 64 bit Windows?
Regars
Solved! Go to Solution.
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2020
01:58 AM
07-24-2020
01:58 AM
Found a solution.
aqFileSystem.Exists("c:\Windows\System32\PROUnstl.exe") returns false in 64bit Windows.
aqFileSystem.Exists("c:\Windows\Sysnative\PROUnstl.exe") returns true in 64bit Windows.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2020
04:49 AM
07-27-2020
04:49 AM
Thank you so much for following up on this thread with a solution! This is very much appreciated.
Sonya Mihaljova
Community and Education Specialist
