02-12-2006, 11:11 AM
I just tried the below example and it didn't work. Where I know the program is installed in the C drive, C:\Program Files\Listing\Listings.exe is the full path.
s.searchpath("c:\exename.exe")
if(!s.len)
,s.searchpath("d:\exename.exe")
s.searchpath("c:\exename.exe")
if(!s.len)
,s.searchpath("d:\exename.exe")