Solved Having Problem with xcopy Command ???

BuckSkin

New member
Power User
VIP
Local time
5:36 PM
Messages
521
On several occasions, I have successfully followed the instructions provided here:

How to copy an entire folder structure without copying the files (tip for starting the new financial year) | Cameron Dwyer | Office 365, SharePoint, Outlook, OnePlace Solutions

In fact, I did the exact same command yesterday and the only thing I changed tonight was one drive letter.

When I first discovered the article, I copied the command straight off the web-page and pasted it in Notepad; then, on the same notepad page, I made a duplicate paste of the command.
I edit this second copy to suit my needs; then, copy/paste it into the Command Line.

It has always worked up until tonight; now, I get an error "invalid number of parameters"

I have checked and double-checked and I cannot see anywhere I could have erred from the path, so to speak.

In fact, as I already said, for tonight's attempt, I only changed a single drive letter.

My navigation paths are both a lot shorter than the examples in the article.

It worked yesterday, it just will not work tonight.

My command looks perfect in the Command Line; what could I possibly be doing wrong ?

Thanks for reading and all help is appreciated.


>>>Edit:>>> I kept messing with it; did a bit of wasted Google-searching; and, I honestly don't know what I did, as I entered the path exactly as I had been and it just decided to work.
According to what I found in my search, that error is very common and nobody really seems to have a solution.
 
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Optiplex 780m "mini-tower"
OS
Windows 7 Pro x64
CPU
Intel Core Two Duo E8600 3.33 ghz
Motherboard
Whatever DELL put in it
Memory
8GB
Graphics Card(s)
Gigabyte Radeon R7 240
Monitor(s) Displays
HP 2159m
PSU
750 Watt Corsair CX750
Keyboard
Logitech Wireless
Mouse
Logitech Wireless
Browser
Chrome, Firefox, IE
Hi BuckSkin,

>>>Edit:>>> I kept messing with it; did a bit of wasted Google-searching; and, I honestly don't know what I did, as I entered the path exactly as I had been and it just decided to work.
According to what I found in my search, that error is very common and nobody really seems to have a solution.

Yes, that is strange, That can sometimes happen if a quote is missing. There is no accounting for computers!
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Fujitsu LIFEBOOK
OS
Win 7 HP SP1 64-bit Vista HB SP2 32-bit Linux Mint 18.3
CPU
Intel(R) Pentium(R) CPU P6200 @ 2.13GHz
Motherboard
FUJITSU FJNBB06
Memory
4.00 GB
Graphics Card(s)
Intel(R) Graphics Media Accelerator HD
Sound Card
[1] Realtek High Definition Audio [2] Intel(R) Display Audio
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 59 Hz
Hard Drives
TOSHIBA MK5076GSX
Antivirus
AVG FREE
Back
Top