Microsoft
Software
Hardware
Network
Question : xcopy /I not working
I have a very simple line in a script on XP computer.
xcopy "c:\config.xml" "C:\foldername" /I /Q /Y
This is meant to copy that file to that folder (the folder does not exisit), the
/I
should confirm it is a directory as a destination and create it. The thing it is still prompting File? or Directory?, why is /I not working?
I know there are many work arounds, create folder first, echo D at beginning of line etc but I would like to kow why this doesn't work.
Thanks
Answer : xcopy /I not working
You need a \ on the end of foldername -
xcopy "c:\config.xml" "C:\foldername\" /I /Q /Y
Lee
Random Solutions
AIX DB2 error
what is the best linux distro and ide for web programming (PHP) ?
exchange 2010 CAS high availablity/ISA or harware load balancing
sbs 2008 windows update failing - error 8024402C
How do I convert a numeric entry to a text value (numbers to words)
Changing Default Web Site Properties
Website script to track each user's individual experience
Binary data
Mount a USB hdd on a Hyper-V guest
PHP MySQL SELECT OPTGROUP parent value