Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

MOVE and Prompt on overwrite

samintz

Scott Mintz
May
1,590
27
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.
 
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:
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.
Code:
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.
 
Back
Top
[FOX] Ultimate Translator
Translate