G
Guest
I want to check and see if certain software exists on a users C drive. For
example, lets say hypothetically, I wanted to know if XYZ App existed on the
hard drive.
1) Extract User Name of Computer
2) Check for software in predetermined path (including User Name)
3) Generate Boolean Value for software existence
The file path is: C:\Documents and Settings\User Name\Start Menu\Programs.
Lets say the folder of the software is called XYZ App. Finding the folder is
probably enough. I will likely want to go further than that to ensure that
the software is actually on the C drive. So lets say the EXE is called XYZ
App.EXE. So the full path is
C:\Documents and Settings\User Name\Start Menu\Programs\XYZ App\XYZ App.EXE
How do you check to see if the file exists?
Thanks
example, lets say hypothetically, I wanted to know if XYZ App existed on the
hard drive.
1) Extract User Name of Computer
2) Check for software in predetermined path (including User Name)
3) Generate Boolean Value for software existence
The file path is: C:\Documents and Settings\User Name\Start Menu\Programs.
Lets say the folder of the software is called XYZ App. Finding the folder is
probably enough. I will likely want to go further than that to ensure that
the software is actually on the C drive. So lets say the EXE is called XYZ
App.EXE. So the full path is
C:\Documents and Settings\User Name\Start Menu\Programs\XYZ App\XYZ App.EXE
How do you check to see if the file exists?
Thanks