expand env vars

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

Moderator: vuser

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

expand env vars

Post by fpefpe »

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

Post by FileViewer »

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

Post by fpefpe »

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

Post by FileViewer »

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.
Images showing the expansion of %temp%
Images showing the expansion of %temp%
TempBefore.jpg (4.02 KiB) Viewed 16599 times
TempAfter.jpg
TempAfter.jpg (5.21 KiB) Viewed 16599 times
fpefpe
Posts: 20
Joined: Sat Mar 31, 2012 2:13 pm

Re: expand env vars

Post by fpefpe »

thanks for the info
Post Reply