>&& GetWindowsDirectory to variable lcWinDir > >lcProgFilesDir = JustDrive(m.lcWinDir) + "\Program Files" >>
oShell = CREATEOBJ('Wscript.Shell) oSpecFolder = oShell.SpecialFolders() ? oSpecFolder.item('program') - this is the program folder in the start menuThe "Program Files" directory is not in a standard location; it can be found at the same level as the Windows directory on the system volume, but there may be a Program FIles folder on multiple volumes. You'll need to consult the registry for the specific application of interest to determine exactly where the program files for the app are installed; in fact, a given app need not have been installed under the Program Files folder.