Hopefully "ScriptingTipsAndTricks" helps you with your batch file or vbscript scripting :-)
[Bottom][Contents][Prev]: PROCESSOR_ARCHITECTURE[Next]: ProgramFiles(x86)
\->Introduction->Environment Variables (used to configure or store information)->ProgramFiles

ProgramFiles

This environment variable points to the program files directory which is typically but doesn't have to be "C:\Program Files" (for both 32 bit and 64 bit programs).

On a 64 bit OS running a 32 bit program it will point to the 32 bit program files directory which is typically but doesn't have to be "C:\Program Files (x86)".


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: PROCESSOR_ARCHITECTURE[Next]: ProgramFiles(x86)


ScriptingTipsAndTricks© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Sunday September 07 2014 at 12:50pm
Visit ScriptingTipsAndTricks's Home Page
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.