CreateDir

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

User avatar
Rain
Automation Wizard
Posts: 550
Joined: Tue Aug 09, 2005 5:02 pm
Contact:

Post by Rain » Tue Dec 02, 2008 10:16 pm

Is there a variable for the Program Files directory?

User avatar
JRL
Automation Wizard
Posts: 3526
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Tue Dec 02, 2008 11:23 pm

Rain wrote:Is there a variable for the Program Files directory?
I don't think there is a Macro Scheduler system variable but there is a Windows environment variable for the Program files directory and it can be accessed using the GetEnvVar> function.

Code: Select all

GetEnvVar>ProgramFiles,Prog_Files

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Wed Dec 03, 2008 12:11 am

From the command line, run SET to see other system variables that may exist.......
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

User avatar
Rain
Automation Wizard
Posts: 550
Joined: Tue Aug 09, 2005 5:02 pm
Contact:

Post by Rain » Wed Dec 03, 2008 3:11 pm

Thanks JRL and Bob.
I figured I'd ask in case there is an undocumented one liner :lol:

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts