Declined copy /w suggestion

Apr 2, 2011
North Carolina, USA
If I run
copy /a: /e /f /g /md /nr /s /u /v /w "*" c:\Testing\somesite\

then decide I want to exclude some files by adding

/[! exclude.some.file ]

where exclude.some.file would already exist somewhere under c:\Testing\somesite\ it would be nice if there was a way for the copy to delete the exclude.some.file if it exists at the desination folder tree. Maybe adding a modifier to the /w ?


Jul 6, 2008
You only want this option to apply to the copy command?

Just to expand on this idea, I think it could even be of more general use if this (delete from destination) option was somehow part of the ranges syntax, thus usable with more than just the copy command; for example, SYNC, COPYDIR, MOVE, & perhaps DIR, RD.

Might be to dangerous. Just thinking "out loud". :banghead:
Apr 2, 2011
North Carolina, USA
@rps I just use the Copy /w - but you are right - would be useful for other file commands like you mentioned...
Similar threads
Thread starter Title Forum Replies Date
D Done Suggestion: keystroke to copy previous argument Suggestions 3
D Done Suggestion for commands to move/copy a folder Suggestions 7
samintz Done Support ~ and :path in COPY Suggestions 5
C Declined Add switch to MOVE to not make empty destination folders. (COPY's /F) Suggestions 4
C Move/Copy switch not make empty destination sub-folders Suggestions 6
R Copy and Move with auto date/timestamp Suggestions 4
Alpengreis Done Preserves directory attributes for COPYDIR & COPY Suggestions 3
D Duplicate directory path and copy files and subdirectories. Suggestions 4
C Feature Request: Gain some elements of the XXCOPY feature set in COPY or a new "Mass-Copy" command Suggestions 0
R Declined wish-list: add a command to copy a file to clipboard. Suggestions 17
R Done IDE copy (OR REMOVE) Set var name to Watch list by hotkey Suggestions 2
Alpengreis Done Add "Slow copy" (/WAIT) parameter to SYNC command Suggestions 1
WinLanEm Done COPY modify Suggestions 4
rconn New parameter /WTF - COPY/MOVE - Wait on disk full (rather than halt with error) Suggestions 1
rconn Done Copy with Backup Versions Suggestions 0
S Done COPY and MOVE Suggestions 0
S Declined Enhanced @FILE for COPY, DESCRIBE, MOVE, RENAME, SYNC, TOUCH /R Suggestions 0
Roedy Declined Copy to DVD Suggestions 2
wbiebel Done copy /u /s Suggestions 1
Charles Dye Done HASH suggestion for v27 Suggestions 6
Charles Dye Done ASSOCIATE suggestion for v27 Suggestions 1
D Suggestion: VIEW option to open VIEW over tab window but not keep it there Suggestions 0
Alpengreis Done Suggestion for full osbuild internal variable Suggestions 2
L Done Suggestion for TCC 'ver' command Suggestions 8
D Done Suggestion: Add VIEW option to open in same position as current window Suggestions 0
D Suggestion: Tab or button to open new tab window in horizontal group Suggestions 1
Charles Dye @VERINFO suggestion Suggestions 0
H Done DEDUPE suggestion Suggestions 8
C Done Help suggestion TCMD Suggestions 3
J Done Everything Search Suggestion Suggestions 8
Fross Done sendmail suggestion Suggestions 1
K_Meinhard Declined Renewed suggestion Suggestions 0
S Declined TAIL suggestion Suggestions 0
A Done Cosmetic suggestion on displaying version number Suggestions 0
M Done TC 11 suggestion Suggestions 0
G Done V11 Suggestion Suggestions 3
J Done Suggestion for V11 Suggestions 8
Charles Dye Done v11 suggestion: plugin online help interface Suggestions 0
J Done Variable Name Completion Suggestion Suggestions 0
Charles Dye Done Startup Tabs / Tab Toolbar suggestion Suggestions 1

Similar threads