Cwd
Function Cwd()
Returns a string containing the script's current working directory.
Syntax a = Cwd()
Remarks
Cwd will return a string containing the current working directory.
Cwd's return value is not guaranteed to end with a trailing backslash, unless you are in the root directory of the current drive.
See Also
ChDir MkDir File and Directory functions
Example Script
STRING a
a = CWD()
IF MID(a,LEN(a),1) <> "\" THEN
a = a + "\"
ENDIF
PRINT a
Script Output
(your results may be different)
E:\Projects\GRS\SL Tester\Scripts\