These forums are read-only. Please send questions and feedback by email.

expand env vars

Use this forum to ask any questions and to submit bug reports

Moderator: vuser

fpefpe
Posts: 20
Joined: Sat Mar 31, 2012 2:13 pm

expand env vars

Postby fpefpe » Mon Aug 12, 2013 1:38 pm

Hello -- not sure if this is more a suggestion, but it would be neat if I could specify a env var for a path, ie %userprofile% %temp% --- sometimes
these paths could be long and saying it like this would be great

FileViewer
Site Admin
Posts: 287
Joined: Fri Apr 30, 2010 5:50 pm

Re: expand env vars

Postby FileViewer » Mon Aug 12, 2013 8:37 pm

but it would be neat if I could specify a env var for a path

Where exactly do you want to specify the environment variable?

Note that you can already specify an environment variable in the Directory box at the top of the directory listing.

fpefpe
Posts: 20
Joined: Sat Mar 31, 2012 2:13 pm

Re: expand env vars

Postby fpefpe » Wed Aug 14, 2013 12:07 pm

In the "directory" input area -- now how I do this in a cmd window, I type

echo %temp > clip: ( this is tcc'ism )

then I can past ( ctrl-v ) in the directory area from the clipboard to display that path / folder

If I can just type %temp% into the directory input area it would save a step

FileViewer
Site Admin
Posts: 287
Joined: Fri Apr 30, 2010 5:50 pm

Re: expand env vars

Postby FileViewer » Wed Aug 14, 2013 5:28 pm

If I can just type %temp% into the directory input area it would save a step

But you can type %temp% here. After you press Return, it will be expanded to the corresponding directory. See the images below.

Note that this feature was introduced in V13. if you are still running V12 (or earlier), you will need to upgrade to the latest version.

TempBefore.jpg
Images showing the expansion of %temp%
TempBefore.jpg (4.02 KiB) Viewed 14389 times

TempAfter.jpg
TempAfter.jpg (5.21 KiB) Viewed 14389 times

fpefpe
Posts: 20
Joined: Sat Mar 31, 2012 2:13 pm

Re: expand env vars

Postby fpefpe » Wed Sep 04, 2013 7:04 pm

thanks for the info


Return to “General Support”

Who is online

Users browsing this forum: No registered users and 25 guests