Page 1 of 1

expand env vars

Posted: Mon Aug 12, 2013 1:38 pm
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

Re: expand env vars

Posted: Mon Aug 12, 2013 8:37 pm
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.

Re: expand env vars

Posted: Wed Aug 14, 2013 12:07 pm
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

Re: expand env vars

Posted: Wed Aug 14, 2013 5:28 pm
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 16603 times
TempAfter.jpg
TempAfter.jpg (5.21 KiB) Viewed 16603 times

Re: expand env vars

Posted: Wed Sep 04, 2013 7:04 pm
by fpefpe
thanks for the info