Variable for users temp directory

Post variable and regex related tips, questions.

Variable for users temp directory

Postby melvin » Mon Mar 31, 2014 4:20 pm

User support request:

I have run into a weird situation where I need to use a Windows Environment Variable to access a temp folder.
After looking at the help files and menus and saw “$%TEMPDIR%$” exists however this variable directs you to the “System Variable” of %TEMP% instead of the “User Variable” of %TEMP%.
I was able to manually change the value of TEMPDIR to a static folder but I can’t figure a way to set it to the Windows User Variable.
melvin
Site Admin
 
Posts: 979
Joined: Thu May 25, 2006 10:20 am
Location: Santa Barbara, california

Re: Variable for users temp directory

Postby melvin » Mon Mar 31, 2014 4:21 pm

You could use the java variable for the users temp directory:
$%java.io.tmpdir%$
melvin
Site Admin
 
Posts: 979
Joined: Thu May 25, 2006 10:20 am
Location: Santa Barbara, california


Return to Variables and Regular Expressions

Who is online

Users browsing this forum: No registered users and 3 guests

cron