Declined Enhanced @FILE for COPY, DESCRIBE, MOVE, RENAME, SYNC, TOUCH /R

May 20, 2008
3,515
4
Elkridge, MD, USA
Unlike other commands which use file lists, the commands COPY, DESCRIBE,
MOVE, RENAME, SYNC, TOUCH /R deal with parameter pairs. For all but DESCRIBE
both parameters are files; for DESCRIBE the second parameter is a
description. While it is relatively easy to use a FOR or DO loop to process
parameter pairs from a file by these commands, considerably more parsing is
involved than would be used if the commands had a new option, specifying
that the list file contains parameter pairs instead of individual
parameters. The /I switch is only used currently with a (double) quoted
string, thus it could be available to select this option, possibly in the
enhanced form /I2.

BTW, /I1 could be added to the parser to force using an indirect file thus:
attrib /i1 @xxx.lst
where @xxx.lst is a file listing target files, even if a file named xxx.lst
also exists in the CWD, instead of the present interpretation of "attrib
@xxx.lst" - the file @xxx.lst is the command's target.

Both the /I1 and /I2 options would be new syntax, not now legal, preserving
100% backward compatibility. There would be no conflict with CMD syntax,
either.
--
Steve
 
Similar threads
Thread starter Title Forum Replies Date
S Declined Enhanced file comparisons Suggestions 0
rconn Enhanced Plugin SDK Suggestions 0
Roedy Done Enhanced FFIND Suggestions 1
S Done Enhanced CASE values in SWITCH Suggestions 29
S Declined Support for Enhanced Deflate in ZIP Suggestions 1
S Done Enhanced ALIAS, SET, ESET and FUNCTION commands Suggestions 0
S Done Enhanced activity logging Suggestions 0
S Done Enhanced date and time range specifications Suggestions 0
S Done Enhanced TYPE command Suggestions 9
S Done Enhanced FUNCTION and ALIAS definition syntax Suggestions 0
S Declined Enhanced "wipe" and recycling Suggestions 2
S Declined Enhanced redirection Suggestions 0
S Declined Enhanced SHORTCUT command Suggestions 0
Joe Caverly Link in Help File to Blog Articles Suggestions 0
Joe Caverly Declined Use ADS file with TOAST Suggestions 1
vefatica File name completion at the beginning of the command line Suggestions 6
Joe Caverly Done @FILESIZE and NTFS File Stream Suggestions 1
Joe Caverly Determine if a file is on an SSD drive Suggestions 5
Joe Caverly Declined Debug without first saving to a file Suggestions 3
R Declined File Explorer enhancement request Suggestions 8
D Secondary shells should not search for - but reuse - the current configuration file. Suggestions 11
Joe Caverly Declined Update FFIND in Help File with example for ORing expressions to search for Suggestions 6
D Done Re-activate the [secondary] section in the ini-file Suggestions 0
x13 Done Typo in help file (including PDF) | v24.02.46 Suggestions 0
R Declined wish-list: add a command to copy a file to clipboard. Suggestions 17
M Done Parameter to ignore [Escape] for FFIND /T"XXX" in a file Suggestions 5
Joe Caverly Done File completion for LIBRARY commands Suggestions 1
vefatica Declined Enhance file name completion Suggestions 4
D Declined File Explorer Suggestions 2
R Declined Install option: Add File Explorer Run As Adminstrator option Suggestions 14
mfarah Done TCEDIT: show the full name (with drive and path) of the active file on the title bar. Suggestions 3
R User-created extended help (probably in a text file): DIRHISTORY /?x Suggestions 10
Joe Caverly Declined Help File "See Also" Suggestions 4
thorntonpg Done Goto folder in file explorer from the current directory in the tcc prompt Suggestions 7
rconn add support for batch file projects Suggestions 0
rconn Done map the registry as a file system Suggestions 0
rconn Declined Help file organization Suggestions 0
rconn Done extend tcc file format Suggestions 0
K_Meinhard File descriptions for Explorer etc. Suggestions 1
J Directory Aliases and file:// Suggestions 0
M Done Verify validity of file name and/or path... Suggestions 2
G Declined Add option to turn on file name case sensitivity Suggestions 6
Stefano Piccardi Declined enhance FOR and DO with hexadecimal @file reading Suggestions 0
Joe Caverly Declined NTFS File Streams and ZIP Suggestions 12
M Declined Function to to verify file name validity... Suggestions 4
J Declined Suggestions for file size display Suggestions 0
S Done Automatic quoting of directory and file names Suggestions 0
S Declined File timestamp based dates in file date selection ranges Suggestions 0
C Done "extended" icon display in file-view Suggestions 0
S Done File matching enhancements Suggestions 1

Similar threads