Get program files directory.
Keywords: Get program files directory RegQueryValue
Question:
I need a way to locate the program files directory with in a winbatch script.Answer:
You can use the ShortcutDir function in WinBatch to retrieve that information. Here is a sample script.progdir=ShortCutDir("Programs") Message("Program directory is located:",progdir)
Article ID: W13160Filename: Get Program Files Directory.txt