![]()
[<<]Message[>>] [<<]Author[>>] [<<]Subject[>>] [<<]Thread[>>]
Number : 133 Date : 2001-06-03 Author : Kan Yabumoto Subject : Re: Prompt before file copy Size(KB) : 2
At 2001-06-03 07:13, David Tornberg wrote: >How can I get a prompt before creating (not overwriting) each >destination file? Using /P does not seem to work. I'm sure I've >missed something basic. ================================================================ Congratulations!!! You are the first one to ask this question. It seems odd that nobody before you asked about this. In light of what XXCOPY is, there is no reason why you cannot have a user prompt before creating a file. After all XXCOPY asks if it's OK to create a destination directory if it's not there). If XXCOPY worries about overwriting a file, it should also consider creating a file is also a big deal a times. ---------------------------------------------------------- Of course, XXCOPY simply inherited the /Y thing from Microsoft and we all can see the motivation --- overwriting a file is basically a loss of existing data whereas creating a file does not involve in destruction of anything except the remaining disk space). ---------------------------------------------------------- In the case of a directory, XXCOPY generates prompts on /I0 // generates a prompt before creating a new destination dir /PD // every time a new sub directory is to be processed Now, as David pointed out, /P is not specific to file creation. Currently, XXCOPY has the following switches /P // prompts at any file action (for create and overwrite) /Y0 // prompts when a file is to be overwritten Indeed, the prompt prior a file-creation is missing... ================================================================== So, what we need is a new set of prompts like... /PC // prompts before file-creation /Po // prompts before file-overwriting (equivalent to /Y0) Here' /Po is just to make it symmetrical. We will put this in our queue for the future enhancements. We welcome comments and suggestions if someone can come up with additional (and related) prompts in similar occasions. Kan Yabumoto ========================================================================
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.