Technical support and scripting issues
Moderators: JRL, Dorian (MJT support)
-
kpassaur
- Automation Wizard
- Posts: 696
- Joined: Wed Jul 07, 2004 1:55 pm
Post
by kpassaur » Tue Apr 19, 2011 6:30 pm
Being old and with my memory failing and all I am looking for an easy way to remember this or perhaps why it is this way.
Let>a=%SYS_Dir%
MDL>a
Let>b=%TEMP_Dir%
MDL>b
The %SYS_DIR% comes back without a backslash at the end and the %TEMP_DIR% has one.
This has caused me numerous issues and I just need to know an easy way to remember why it is this way.
-
JRL
- Automation Wizard
- Posts: 3532
- Joined: Mon Jan 10, 2005 6:22 pm
- Location: Iowa
Post
by JRL » Tue Apr 19, 2011 8:47 pm
I don't have an "easy way" but perhaps what you really need is clarity.
Of all the system variables that relate to a directory, the ONLY ONE that gives you a built in backslash at the end is Temp_Dir
Let>File1=%temp_dir%Filename
Let>File2=%all_the_others%\Filename