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
IE8 annoying advertising popups on double underlined links in webpages
Access VBA set all values of a Yes/No field to no
export the sas dataset to create a table in my sql database
Dot Net IL Code to C# conversion
how can i get a list of client inbox rules through powershell
MS Excel, dynamic graph.
How do I get the F6 storage drivers to work on a 8100 Elite Convertable Mini Tower?
Polycom ViewStation EX Network setup
Need Excel VBA macro code to projected next number in a row of numbers using least squares best fit
Not downloading Offline address book files. A server (URL) could not be located. 0X8004010F