MOVE and Prompt on overwrite


Scott Mintz
May 20, 2008
Solon, OH, USA
I have COPY Prompt on Overwrite set true. I can use COPY /Y to force an overwrite. However, there doesn't appear to be an equivalent switch for the MOVE command. I don't see a switch to suppress the prompt with MOVE.
Jan 12, 2014
Switzerland, SO
But I have enabled the configuration option "Copy Prompt on Overwrite" ("CopyPrompt=Yes" in TCMD.INI) (and I have to let it activated) which seems valid for move too. There should be also a possibility (switch) to suppress the prompt for the move command IMHO.
Last edited:


Scott Mintz
May 20, 2008
Solon, OH, USA
That COPY option is solely for CMD compatibility. MOVE does not have an equivalent, because it will only prompt you if you specify the /P option.
Not true.
alias RTRUNCATE=`HEAD /N+1 /N 999999 %1 > %1.tmp & MOVE %1.tmp %1`

$ rtruncate "km parms.txt"
S:\LNX\Platform\Common\Utilities\DWC_tRoot_Firmware\km parms.txt.tmp ->! S:\LNX\Platform\Common\Utilities\DWC_tRoot_Firmware\km parms.txt (Replace) (Y/N/A/R)? Y
     1 file moved

I am running V24.0.24.
Similar threads
Thread starter Title Forum Replies Date
C question re: Move Support 3
M MOVE does not behaves like intended (on failure) Support 1
kb6ojs Make /G parameter persistent in COPY/MOVE command? Support 4
F Regexes in REN/MOVE/… commands seem to not work at all Support 3
T How to? Off screen move? Support 3
fpefpe Documentation copy/move using /c or /u Support 2
W Recursive move aborts early Support 2
C b21 MOVE /B Support 8
D How move cursor out of popup edit control after no match? Support 14
nickles Move takecommand.18.0.key location to installation directory Support 4
J junction copy/move handling Support 6
J WAD move /s regression from tcc15 Support 5
C move /F Support 4
vefatica MOVE anomaly Support 8
C Move /s sorce target Support 13
Stefano Piccardi b32 move /Q writes message Support 1
C How to? MOVE and handling out of space Support 2
Joe Caverly How to? Move Window Between Monitors Support 6
S How to? Move files older than one year Support 9
fpefpe move /g Support 4
C Move /MD not always working Support 1
C Move question with Encrypted file... Support 6
W /g option (%) on MOVE cmd appears broken TCC 14.03.57 x64 Support 8
G Fixed MOVE truncates files Support 9
C MOVE making empty destinatation sub-folders Support 10
thedave Move files, inherit permissions Support 14
A Discrepancy in handling of "can't copy or move file to itself" Support 4
A expected behavior of move /sx Support 14
S MOVE from FTP directory to another FTP directory - bug?? Support 2
J directory tree - move or copy Support 3
D MOVE Help typo Support 3
D Suggest Help mention /n no effect in move /n Dir1 Dir2 Support 0
D Move /v to DVD fails but files identical Support 4
S Conditionally MOVE/COPY files on the basis of size Support 1
S MOVE to different drive Support 3
Joe Caverly Move Buttons Between Tabbed Toolbars Support 2
S Another 4NT 8.02 vs TCC 9.02 diff - MOVE command Support 3
S MOVE command over FTP with 4NT 5.00U Support 0
vefatica ANSI, PROMPT ... ??? Support 1
FreezerBurnt ANSI Prompt messes up list output. Support 39
FreezerBurnt "Missing SETLOCAL" when initializing Visual Studio Command Prompt. Support 9
M How to? Black TCC Prompt Support 2
N Command execution slows down in TCC Prompt after a while Support 6
K Fixed Prompt display will be shifted after use dir to display a filename with Chinese. (v25.00.28 x64) Support 18
vefatica Timing commands with $= in the prompt? Support 16
samintz How to? Alias or prompt? Support 1
T Elapsed time format in prompt changed in TCC 25 Support 10
robinsiebler Creating a custom prompt Support 9
K TCC prompt background color Support 4
Alpengreis Problem if command prompt is not legacy Support 4

Similar threads