You can cheat. This is not best practice but may solve your problem. obj.FileExists("C:\Program Files\Installshield Installation Information\{guid}\setup.exe") could also be called from the old dos 8 character name format by: obj.fileexists("c:\progra~1\instal~1\{guid}\setup.exe") You can use the first 6 characters and then ~1, if it is the first instance of those 6 characters etc. Go to a command prompt and try: cd \ cd progra~1 cd install~1 or Install~2 Alternatively you could use an path variable such as %programfiles% which calls the first bit for you.