How to set WipeDir key in wincmd.ini

English support forum

Moderators: Hacker, petermad, Stefan2, white

xxxxxx
Junior Member
Junior Member
Posts: 10
Joined: 2008-02-10, 11:55 UTC

How to set WipeDir key in wincmd.ini

Post by *xxxxxx »

I'd like to set custom temp folder to be used by TC to C:\TEMP\_TC instead of default c:\DOCUME~1\UserName~1\LOCALS~1\Temp\_tc\ with WipeDir key.

However, TC removes the key from wincmd.ini.

I tried all possible variants of WipeDir:
C:\TEMP\_TC\
C:\TEMP\_TC
C:\TEMP\
C:\TEMP

I also tried to modify wincmd.ini before running TC but without success.

Anybody knows what is the procedure to modify wincmd.ini to set WipeDir key?

Maybe an answer exists in German forum but I do not understand German to such extent:(
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7025
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

I don't know what a Wipedir Key should be for TC, never heard that.
I you want to set the temp dir, just define the user environment variable temp outside of TC.
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

You cannot set this location, Total Commander always use %temp%\_tc location. However, you can create shortcut to bat or vbs script file which set %temp% to any another folder and starts Total Commander.
Example of batch file:

Code: Select all

setlocal
set temp=c:\WINDOWS\Temp
set tmp=c:\WINDOWS\Temp
totalcmd.exe
endlocal
xxxxxx
Junior Member
Junior Member
Posts: 10
Joined: 2008-02-10, 11:55 UTC

Post by *xxxxxx »

Horst.Epp wrote:I don't know what a Wipedir Key should be for TC, never heard that.
A piece of totalcmd.hlp (item 4.a of Total Commander Help Index)
WipeDir= Path to the temp directory used by TC (and to wipe when re-opening TC)

Ignored if not containing $wc or (in TC7) \_tc
I need separate system and TC temp folders.
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

In my above bat file temp folder applies only to Total Commander.
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

DrShark wrote:In my above bat file temp folder applies only to Total Commander.
And all programs TC started.
xxxxxx
Junior Member
Junior Member
Posts: 10
Joined: 2008-02-10, 11:55 UTC

Post by *xxxxxx »

DrShark wrote:In my above bat file temp folder applies only to Total Commander.
Tnx, I inderstood an idea, nonetheless how to use the built-in feature is also interesting.
User avatar
petermad
Power Member
Power Member
Posts: 16141
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2xxxxxx

In the Total Commander Beta board forum I found this:
ghisler(Author) wrote:This option (WipeDir) is not meant for the end user. It is used during installation only.
So it is not intended for what you thought.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
xxxxxx
Junior Member
Junior Member
Posts: 10
Joined: 2008-02-10, 11:55 UTC

Post by *xxxxxx »

2 petermad
Could you please provide a direct link to that post. I didn't meet it when searched through the forum.
User avatar
petermad
Power Member
Power Member
Posts: 16141
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2xxxxxx
Sorry - as I wrote - it is from the Total Commander Beta board forum, to where there is only access for TC alpha and beta testers.

You have to take my word for it.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

ghisler(Author) hat folgendes geschrieben::
This option (WipeDir) is not meant for the end user. It is used during installation only.
So it is not intended for what you thought.
Interesting, thanks for the info.
Shouldn't it be removed or explained more detailed in the (end user-)help then?
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
xxxxxx
Junior Member
Junior Member
Posts: 10
Joined: 2008-02-10, 11:55 UTC

Post by *xxxxxx »

StatusQuo wrote: Shouldn't it be removed or explained more detailed in the (end user-)help then?
Sure!
User avatar
petermad
Power Member
Power Member
Posts: 16141
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Shouldn't it be removed or explained more detailed in the (end user-)help then?
Might be a good idea ;-)
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed it was only used when the user opened a ZIP file and run the TC installer - this way the installation files remained in TEMP, so TC had to remove them after installation. Fortunately this is no longer necessary now that we have a self-extracting installer and not a ZIP file...
Author of Total Commander
https://www.ghisler.com
xxxxxx
Junior Member
Junior Member
Posts: 10
Joined: 2008-02-10, 11:55 UTC

Post by *xxxxxx »

My intention was avoiding situations when after viewing content of packed files, paths in the system temp folder
"C:\Documents and Settings\Username\Local Settings\Temp\"
appear in directory tree treeinfo.wc as
C:\DOCUME~1\Username~1\LOCALS~1\Temp\_tc
C:\DOCUME~1\Username~1\LOCALS~1\Temp\_tc0
and remain forever until comlete re-scanning (F2).
Now I see WipeDir key is useless for that :(
Is there another way to solve this problem?
Post Reply