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
How to clear a datagridview
Update IPSEC VPN client pcf file via ASA 8.2(2) Autoupdate
Er diagram for university accommodation office
Access VBA Word merge
which book to refer for MPLS BGP
FILTERING EXCEL DATA USING VALUES FROM 2ND WORKSHEET
Mouse slow in Google Chrome after attempted XP sp3 update
FM Pro - Multiple Questions Open - 1 issue!!: Best Way to Calculate and Filter
Change Mac disk to from case-sensitive, Journaled to Case-insensitive, Journaled.
Citrix XenApp 4.5 doesn't show full program screen details