Ask a Question

How to check if file exists in system32 folder on 64bit Windows

SOLVED
daks
New Contributor

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

2 REPLIES 2
daks
New Contributor

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.

sonya_m
SmartBear Alumni (Retired)

Thank you so much for following up on this thread with a solution! This is very much appreciated.


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: