Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Computer Support > xcopy - invalid number of parameters

Reply
Thread Tools

xcopy - invalid number of parameters

 
 
Ron
Guest
Posts: n/a
 
      07-28-2004
**** Post for FREE via your newsreader at post.usenet.com ****

Can someone explain to me why this generates the error "Invalid number of
parameters" and what I am missing?

xcopy //chi-dc1/iamacro$/IAMacro.dot c:\documents and
settings\%username%\application data\microsoft\word\startup /r /k /y



-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
*** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
http://www.usenet.com
Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
Reply With Quote
 
 
 
 
Ingeborg
Guest
Posts: n/a
 
      07-28-2004
"Ron" <(E-Mail Removed)> wrote in news:(E-Mail Removed):

> **** Post for FREE via your newsreader at post.usenet.com ****
>
> Can someone explain to me why this generates the error "Invalid number of
> parameters" and what I am missing?
>
> xcopy //chi-dc1/iamacro$/IAMacro.dot c:\documents and
> settings\%username%\application data\microsoft\word\startup /r /k /y
>


You must use quotes in filenames containing spaces:

xcopy //chi-dc1/iamacro$/IAMacro.dot "c:\documents and
settings\%username%\application data\microsoft\word\startup" /r /k /y
 
Reply With Quote
 
 
 
 
Phantom
Guest
Posts: n/a
 
      07-28-2004
Uninstall X-copy, reboot computer then re-install software. Looks like it
can't find a place to place the tempy files it makes or there isn't enough
space to process files on your hard drive. You will need at least 4 gig.
"Ron" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> **** Post for FREE via your newsreader at post.usenet.com ****
>
> Can someone explain to me why this generates the error "Invalid number of
> parameters" and what I am missing?
>
> xcopy //chi-dc1/iamacro$/IAMacro.dot c:\documents and
> settings\%username%\application data\microsoft\word\startup /r /k /y
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> *** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
> http://www.usenet.com
> Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



 
Reply With Quote
 
Ron
Guest
Posts: n/a
 
      07-28-2004
**** Post for FREE via your newsreader at post.usenet.com ****

Oh I'll get right on that... Jackass..

"Phantom" <(E-Mail Removed)> wrote in message
news:S3TNc.84$cv5.0@lakeread07...
> Uninstall X-copy, reboot computer then re-install software. Looks like it
> can't find a place to place the tempy files it makes or there isn't enough
> space to process files on your hard drive. You will need at least 4 gig.
> "Ron" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> > **** Post for FREE via your newsreader at post.usenet.com ****
> >
> > Can someone explain to me why this generates the error "Invalid number

of
> > parameters" and what I am missing?
> >
> > xcopy //chi-dc1/iamacro$/IAMacro.dot c:\documents and
> > settings\%username%\application data\microsoft\word\startup /r /k /y
> >
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > *** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
> > http://www.usenet.com
> > Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

>
>




-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
*** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
http://www.usenet.com
Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
Reply With Quote
 
Ron
Guest
Posts: n/a
 
      07-28-2004
**** Post for FREE via your newsreader at post.usenet.com ****

No, that's what I first thought but it doesn't work that way either.

C:\Scripts>xcopy //chi-dc1/iamacro$/IAMacro.dot "c:\documents and
settings\rstat
on\application data\microsoft\word\startup\" /r /k /y
Invalid number of parameters

"Ingeborg" <-> wrote in message
news:3881c$4107fa28$50f2fe8a$(E-Mail Removed) .nl...
> "Ron" <(E-Mail Removed)> wrote in news:(E-Mail Removed):
>
> > **** Post for FREE via your newsreader at post.usenet.com ****
> >
> > Can someone explain to me why this generates the error "Invalid number

of
> > parameters" and what I am missing?
> >
> > xcopy //chi-dc1/iamacro$/IAMacro.dot c:\documents and
> > settings\%username%\application data\microsoft\word\startup /r /k /y
> >

>
> You must use quotes in filenames containing spaces:
>
> xcopy //chi-dc1/iamacro$/IAMacro.dot "c:\documents and
> settings\%username%\application data\microsoft\word\startup" /r /k /y




-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
*** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
http://www.usenet.com
Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
Reply With Quote
 
Cicero
Guest
Posts: n/a
 
      07-28-2004

"Ron" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> **** Post for FREE via your newsreader at post.usenet.com ****
>
> Can someone explain to me why this generates the error "Invalid number of
> parameters" and what I am missing?
>
> xcopy //chi-dc1/iamacro$/IAMacro.dot c:\documents and
> settings\%username%\application data\microsoft\word\startup /r /k /y
>
>

<snipped>

======================
I think (maybe wrong) that it's the use of % signs causing the problem. The
Xcopy command may be trying to interpret the % signs as replaceable
parameters as used in early versions of Xcopy / batch files. Although
replaceable parameters aren't mentioned in the help for Win2000 version of
Xcopy replaceable parameters still work. Can you substitute something else
for the % signs to see if it works?

Cic.



 
Reply With Quote
 
Ron
Guest
Posts: n/a
 
      07-28-2004
**** Post for FREE via your newsreader at post.usenet.com ****


"Cicero" <(E-Mail Removed)> wrote in message
news:jTTNc.10364$(E-Mail Removed)...
>
> <snipped>
>
> ======================
> I think (maybe wrong) that it's the use of % signs causing the problem.

The
> Xcopy command may be trying to interpret the % signs as replaceable
> parameters as used in early versions of Xcopy / batch files. Although
> replaceable parameters aren't mentioned in the help for Win2000 version

of
> Xcopy replaceable parameters still work. Can you substitute something else
> for the % signs to see if it works?
>
> Cic.
>


I don't think that's it because when the script is run the screen does show
the actual username in place of the variable.

IE:

C:\Scripts>xcopy //chi-dc1/iamacro$/IAMacro.dot "c:\documents and
settings\rstat
on\application data\microsoft\word\startup\" /r /k /y
Invalid number of parameters



-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
*** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
http://www.usenet.com
Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
Reply With Quote
 
Tech
Guest
Posts: n/a
 
      07-28-2004

rsync
 
Reply With Quote
 
Jamco
Guest
Posts: n/a
 
      07-28-2004
shouldn't it be \\ not //?
"Ron" <(E-Mail Removed)> wrote in message news:41080c41$(E-Mail Removed)...
> **** Post for FREE via your newsreader at post.usenet.com ****
>
>
> "Cicero" <(E-Mail Removed)> wrote in message
> news:jTTNc.10364$(E-Mail Removed)...
> >
> > <snipped>
> >
> > ======================
> > I think (maybe wrong) that it's the use of % signs causing the problem.

> The
> > Xcopy command may be trying to interpret the % signs as replaceable
> > parameters as used in early versions of Xcopy / batch files. Although
> > replaceable parameters aren't mentioned in the help for Win2000 version

> of
> > Xcopy replaceable parameters still work. Can you substitute something

else
> > for the % signs to see if it works?
> >
> > Cic.
> >

>
> I don't think that's it because when the script is run the screen does

show
> the actual username in place of the variable.
>
> IE:
>
> C:\Scripts>xcopy //chi-dc1/iamacro$/IAMacro.dot "c:\documents and
> settings\rstat
> on\application data\microsoft\word\startup\" /r /k /y
> Invalid number of parameters
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> *** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
> http://www.usenet.com
> Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



 
Reply With Quote
 
Ron
Guest
Posts: n/a
 
      07-29-2004
**** Post for FREE via your newsreader at post.usenet.com ****

.....what the hell was I thinking.

You are correct. Thanks.

"Jamco" <(E-Mail Removed)> wrote in message
news:rZUNc.114367$Rf.68635@edtnps84...
> shouldn't it be \\ not //?
> "Ron" <(E-Mail Removed)> wrote in message

news:41080c41$(E-Mail Removed)...
> > **** Post for FREE via your newsreader at post.usenet.com ****
> >
> >
> > "Cicero" <(E-Mail Removed)> wrote in message
> > news:jTTNc.10364$(E-Mail Removed)...
> > >
> > > <snipped>
> > >
> > > ======================
> > > I think (maybe wrong) that it's the use of % signs causing the

problem.
> > The
> > > Xcopy command may be trying to interpret the % signs as replaceable
> > > parameters as used in early versions of Xcopy / batch files. Although
> > > replaceable parameters aren't mentioned in the help for Win2000

version
> > of
> > > Xcopy replaceable parameters still work. Can you substitute something

> else
> > > for the % signs to see if it works?
> > >
> > > Cic.
> > >

> >
> > I don't think that's it because when the script is run the screen does

> show
> > the actual username in place of the variable.
> >
> > IE:
> >
> > C:\Scripts>xcopy //chi-dc1/iamacro$/IAMacro.dot "c:\documents and
> > settings\rstat
> > on\application data\microsoft\word\startup\" /r /k /y
> > Invalid number of parameters
> >
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > *** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
> > http://www.usenet.com
> > Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

>
>




-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
*** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
http://www.usenet.com
Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert string number to real number - ValueError: invalid literal davidj411 Python 11 05-29-2008 12:02 AM
How do fix: "Wrong number of arguments" / "invalid propert assignment"/ "Invalid argument" Java Guy Javascript 1 10-15-2006 08:41 PM
How do fix: "Wrong number of arguments" / "invalid propert assignment"/ "Invalid argument" Java Guy Java 1 10-15-2006 08:31 PM
Dos 6.22 XCopy command is not working properly =?Utf-8?B?V2FsdGVyIEx1YmVsbA==?= Microsoft Certification 0 12-30-2003 08:11 PM
XCOPY deployment of Crystal Report Generator VS.NET 2002-2003 Mark Roberts ASP .Net 0 07-02-2003 04:22 PM



Advertisments