Tuesday, December 6, 2011

Xcopy Err: Btw 2 servers

I am trying to copy files from one server to another
...However the below code dont do it...Any help?



%26lt;cfparam name=''sr''
default=''\\bt2bcm\d$\cfusionmx\wwwroot\''%26gt;

%26lt;cfparam name=''ds''
default=''\\bt2bdssc\vozturk$\Denemeler\''%26gt;



%26lt;cfexecute

name = ''xcopy ''

arguments = ''#sr# #ds# /S /R /Y /I /C'' variable=''myExecute''

timeout = ''120'' /%26gt;



%26lt;cfdump var=''#myExecute#''%26gt;Xcopy Err: Btw 2 servers
When working with cfexecute, try the commands directly first
using a command prompt. This will help by verifying the
configuration and pathing setup of your system. Try bringing up a
command window and just typing xcopy. You should get an error
called ''Invalid number of parameters - 0 files copied.'' If you
don't get that error, you'll need to find whatever directory copy
program that your system has installed. It might be xcopy32



Once you verify that you have xcopy or an equivelent, try it
manually using the parameters to see if it copies the directory.




http://support.microsoft.com/kb/289483Xcopy Err: Btw 2 servers
thank you dude for info..
  • neutrogena
  • No comments:

    Post a Comment