1.

Solve : Xcopy - how do I avoid the file or directory prompting?

Answer» <html><body><p>There were earlier posts on ways you can avoid the question as to <a href="https://interviewquestions.tuteehub.com/tag/whether-244834" style="font-weight:bold;" target="_blank" title="Click to know more about WHETHER">WHETHER</a> you are copying a file or directory by using the \I parameter or <a href="https://interviewquestions.tuteehub.com/tag/putting-2963476" style="font-weight:bold;" target="_blank" title="Click to know more about PUTTING">PUTTING</a> a backslash after the destination directory and this works fine if your answer is directory, but how do you indicate that you are copying a file? I would <a href="https://interviewquestions.tuteehub.com/tag/suggest-1733190" style="font-weight:bold;" target="_blank" title="Click to know more about SUGGEST">SUGGEST</a> that you rephrase your question. Make shorter sentences.<br/>You probably get no response because your question was not specific enough to be understood easely. To be honnest, I couldn't. This help?<br/><br/><a href="https://support.microsoft.com/kb/289483">http://support.microsoft.com/kb/289483</a><br/><br/>Not sure if you can do this with switches. Try pumping the response into xcopy using the pipe:<br/><br/>For a directory:<br/>Code: <a>[Select]</a>echo D | XCOPY source [destination] [switches]<br/><br/><strong>OR</strong><br/><br/>For a file:<br/>Code: <a>[Select]</a>echo F | XCOPY source [destination] [switches]<br/><br/>Good luck. <br/><br/><a href="https://interviewquestions.tuteehub.com/tag/quote-1175222" style="font-weight:bold;" target="_blank" title="Click to know more about QUOTE">QUOTE</a> from: Merel on September 13, <a href="https://interviewquestions.tuteehub.com/tag/2010-290294" style="font-weight:bold;" target="_blank" title="Click to know more about 2010">2010</a>, 12:30:53 PM</p><blockquote>I would suggest that you rephrase your question. Make shorter sentences.<br/>You probably get no response because your question was not specific enough to be understood easely. To be honnest, I couldn't. <br/></blockquote><br/>I'm guessing the requirements for the grammar police have been dumbed down again. Pretty soon I'll be able to join the force.</body></html>


Discussion

No Comment Found