New parameter /WTF - COPY/MOVE - Wait on disk full (rather than halt with error)


Staff member
May 14, 2008
New parameter /WTF - COPY/MOVE - Wait on disk full (rather than halt with error)

When moving/copying files the destination disk typically become full at inconvenient times.

If COPY/MOVE could just pause rather than halt when such a situation occur, then it could be possible to fix it (free some space) before the command continue.

Suggestion: COPY /WTF (Wait if Target Full - or WTF :) - perhaps with an extra option to indicate when the warning should be triggered. (percent or MB/GB etc).

On the continue prompt: Proceed Now or in n seconds....

Stein Oiestad on December 28, 2013 10:39
  • Like
Reactions: Charles G
Apr 13, 2010
The Hague
Can be done with a straight-forward batch file.

When copying/moving many files to multiple media of limited capacity

- build a list of files to be copied
- sort the files in decreasing file-size order
- the largest file should not be bigger than the maximum capacity of the media used

- copy/move the biggest file first
- remove/mark successfully copied files from list
- search down the list for smaller ones that still fit the remaining space
- at bottom of list pause for media change
until all copied/moved

Storing the file-specs with exact file-sizes and keeping a running total of the number of files written will prevent some unnecessary disk-i/o

Regards, DJ
Last edited:
Similar threads
Thread starter Title Forum Replies Date
M Done Parameter to ignore [Escape] for FFIND /T"XXX" in a file Suggestions 5
Alpengreis Done Add "Slow copy" (/WAIT) parameter to SYNC command Suggestions 1
Peter Murschall Done IDE/CMDebug parameter Suggestions 2
rps Declined GOTO parameter Suggestions 5
rconn Add a parameter to dir command to handle zip files as folders Suggestions 1
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
D Done Suggestion: keystroke to copy previous argument Suggestions 3
R Done IDE copy (OR REMOVE) Set var name to Watch list by hotkey Suggestions 2
C Declined copy /w suggestion Suggestions 2
WinLanEm Done COPY modify Suggestions 4
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
D Done Suggestion for commands to move/copy a folder Suggestions 7
wbiebel Done copy /u /s Suggestions 1

Similar threads