Computing.Net > Forums > Windows Server 2003 > X Copy doesn't work...

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

X Copy doesn't work...

Reply to Message Icon

Name: CharlesGil
Date: August 22, 2006 at 10:27:41 Pacific
OS: Windows 2003 Server
CPU/Ram: Xeon 3.2 2GB DDR
Product: HP/Proliant ML370
Comment:

I'm trying to use the Xcopy command to send files from one server to another and it doesn't work.
I use this line and it should work but it doesn't.

xcopy \\server_oracle\respbasedato\*.* \\hbdomainserver\Respaldos Bases de Datos\SIFA\ /v /Y

I run the batch file from the first server and I do it from any WinXP computer and it doesn't work.
The server_oracle server is not in the domain but it doesn't even start to send the files, I don't even get errors....It just doesn't work.
I see the MSDOS screen for less than a second when I excute the batch file but I can't see if there's an error in there.

I need to know how to make it work.

Thanks.




Sponsored Link
Ads by Google

Response Number 1
Name: setifreak
Date: August 22, 2006 at 11:06:17 Pacific
Reply:

Well for starters you could run the batch file from within a command prompt (DOS window) so if there are errors you'll be able to see them.

That might get you started in the right direction.


0

Response Number 2
Name: dosser
Date: August 22, 2006 at 11:19:08 Pacific
Reply:

There is no MS-DOS Screen, no MS-DOS either, it is NT COMMAND PROMPT:

http://www.ss64.com/nt/

Yes you need to run the commands in the NTCP window......


0

Response Number 3
Name: dosser
Date: August 22, 2006 at 11:22:27 Pacific
Reply:

http://technet2.microsoft.com/WindowsServer/en/library/552ed70a-208d-48c4-8da8-2e27b530eac71033.mspx?mfr=true


0

Response Number 4
Name: wanderer
Date: August 22, 2006 at 11:24:45 Pacific
Reply:

put a pause at the end of the batch to see errors or at a cmd prompt redirect your batch to a log file like so;
xcopy.bat >log.txt

Best yet is manually enter the line in a cmd prompt and see what it says.

Give a person a fish, they eat for a day. Suggest they internet search and they learn a skill for a lifetime.


0

Response Number 5
Name: CharlesGil
Date: August 22, 2006 at 12:12:51 Pacific
Reply:

Ok, thanks to everybody who answered my message.

The error I'm getting is "invalid number of parameters"

What's that?


0

Related Posts

See More



Response Number 6
Name: CharlesGil
Date: August 22, 2006 at 12:52:13 Pacific
Reply:

I also got the "invalid drive specification" error with other folders...



0

Response Number 7
Name: Dirty_Sanchez
Date: August 22, 2006 at 17:19:39 Pacific
Reply:

it means one of the characters in the command is wrong. check your spacings, / directions, etc


0

Response Number 8
Name: wanderer
Date: August 22, 2006 at 17:49:18 Pacific
Reply:

I would suspect the spaces in your command line are at fault:
Respaldos Bases de Datos

Everything after Respaldos would be interpreted as switches.

This is when you have to put the line in "" but I forget if you are to include the whole distination path like;
"\\hbdomainserver\Respaldos Bases de Datos\SIFA\"

Give a person a fish you feed them for a day.
Ask a person to internet search and they learn a skill for a lifetime.


0

Response Number 9
Name: wanderer
Date: August 22, 2006 at 17:52:40 Pacific
Reply:

This is why you usually map a drive to both source and distination in the batch file then run your xcopy.

For example:
rem start of batch file
net use x: \\server_oracle\respbasedato\
net use y: \\hbdomainserver\Respaldos Bases de Datos\SIFA\
xcopy x:\*.* y: /v
rem end of batch file

Give a person a fish you feed them for a day.
Ask a person to internet search and they learn a skill for a lifetime.


0

Response Number 10
Name: CharlesGil
Date: August 23, 2006 at 06:45:41 Pacific
Reply:

Thanks guys, I made it work with your help.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Webhosting on my pc serve... Win 2k3 server woes...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows Server 2003 Forum Home


Sponsored links

Ads by Google


Results for: X Copy doesn't work...

USB doesn't work in Server 2003 www.computing.net/answers/windows-2003/usb-doesnt-work-in-server-2003/695.html

DVD-ROM doesn't work www.computing.net/answers/windows-2003/dvdrom-doesnt-work/4257.html

tv-out doesn't seem to work www.computing.net/answers/windows-2003/tvout-doesnt-seem-to-work/312.html