Button bar: Delete (no recycle), Empty recycle, New file?

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
HolgerK
Power Member
Power Member
Posts: 5411
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Vesna_Cro wrote:I installed new tcmd 7.01 and it works but too much!!! ;)

this is the code:
/c for %%F in (%S) do rd /s /q %%F & erase /f /s /q %%F
remove the /s behind erase:
/c for %%F in (%S) do rd /s /q %%F & erase /f /q %%F
HTH,
Holger

PS: The newest TC version is (link :arrow: ) 7.04a
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50650
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Well, %S is replaced by the file name of the selected file, and you told erase to work recursively with the /s switch...
Author of Total Commander
https://www.ghisler.com
Post Reply