Add DOS's "REPLACE" command to the GUI

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
gdallal
Junior Member
Junior Member
Posts: 9
Joined: 2003-10-27, 22:15 UTC

Add DOS's "REPLACE" command to the GUI

Post by *gdallal »

`I looked hard to see whether this feature was already implemented but couldn't find it. It would be great to have the equivalent to the DOS REPLACE command. Instead of moving a file, the action would be to replace all instances of the file in the directory and its subdirectories in the opposite panel.

I realize I can open a command window to do this, but it would be nice to be able to do it through the TC interface.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48124
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Currently it's not planned: Most file formats on Windows are binary, using search+replace on them (e.g. doc, docx etc) would have disastrous results. Instead, try using a multiple document editor with search+replace across documents.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14829
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2ghisler(Author)
DOS's REPLACE command isn't about replacing content inside the files - it is about replacing files.

http://madsenworld.dk/tcmd/replace.png

A function in TC that does then same as replace with the /S switch does could be usefull.

It is something like the current option in the copy dialog: "Copy to all selected folders/links in the target panel" - but including subdirs in the selected folders.

So all we need is a new option: "Copy to all selected folders/links and their subdirs in the target panel"
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

As a workaround, buttonbar button may be used for starting console with replace command with passing focused file and target path...
Post Reply