Bug with %L parameter when TEMP is a junction.

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Bug with %L parameter when TEMP is a junction.

Post by *Flint »

Suppose that %TEMP% contains path of not a usual folder, but a NTFS-junctions on some folder. Let's add then some program on buttonbar on in the Start menu, and add %L parameter. Run the program added. After it finished working, the junction %TEMP% is removed.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Can you explain this problem in more detail, please? I cannot reproduce it.
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

ghisler(Author)
1. Make some folder, for example, C:\Temp.
2. Make a junction on it and call this junction C:\Windows\Temp.
3. Specify C:\Windows\Temp as temporary folder (My Computer -> Properties -> Additional ->Enviromnent variables, TEMP and TMP variables both for system and for the user. I.e. 4 different places - all point to this junction). It is needed to reboot the computer to apply changes.
4. Place some program on the buttonbar.
5. Open this button's properties and specify "%L" as first command-line parameter.
6. Select several files and press that button to start the program (TC thus creates a new file in C:\Windows\Temp, and through it - in C:\Temp).
7. Close the program we just started.
8. The junction C:\Windows\Temp is absent.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
Post Reply