Welcome to WinForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Batch File to transer files from one server to another

 
   Windows XP Arc2 (Home) -> Security Admin RSS
Next:  disable forceguest ?  
Author Message
airwalker

External


Since: Oct 08, 2006
Posts: 3



(Msg. 1) Posted: Sun Oct 08, 2006 2:18 am
Post subject: Batch File to transer files from one server to another
Archived from groups: microsoft>public>windowsxp>security_admin (more info?)

Hi.

I've been asked to create a batch file that will copy the contents of one
folder that sits on one server to another folder that sits on another server.
This has to be done every night around 9pm.

I've never created a batch file before but so far I've found how to copy the
contents of a folder to another folder on the same machine:

@echo on
xcopy c:\TestSource c:\TestDestination /m /e /y

how would I modify this to copy files to a folder that sits on another server

thanks in advance.

 >> Stay informed about: Batch File to transer files from one server to another 
Back to top
Login to vote
airwalker

External


Since: Oct 08, 2006
Posts: 3



(Msg. 2) Posted: Tue Oct 10, 2006 3:32 am
Post subject: Re: Batch File to transer files from one server to another [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thank you all for responding, your posts were very helpful. Just one more
thing tho, the file copying is now done by a small application written in
visual studio 2005. What I need to do now is write a batch file that opens
visual studio 2005 and executes the application.

how do you open visual studio 2005 and run an application stored in it from
a batch file?

thanks in advance

 >> Stay informed about: Batch File to transer files from one server to another 
Back to top
Login to vote
krcmd1

External


Since: Mar 13, 2005
Posts: 1



(Msg. 3) Posted: Tue Jul 24, 2007 9:46 am
Post subject: RE: Batch File to transer files from one server to another [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I would like to use xcopy to copy a folder with subfolders and enclosed
files, most of which are encrypted by the XP limited user, with the
destination a usb drive sometimes connected to the laptop.

so far my batch file generates a "file not found" error. Can that message
be generated by a permission problem? (or have I somehow miscoded the
path/name)?

There is an xcopy parameter that causes XCOPY to unencrypt the source file.
how and why does this work (if it works) on source files encrypted by a
limited XP user account when the batch file is executed by another user(even
administrator)? Wouldn't that be a pretty obvious security loophole?

"airwalker" wrote:

> Hi.
>
> I've been asked to create a batch file that will copy the contents of one
> folder that sits on one server to another folder that sits on another server.
> This has to be done every night around 9pm.
>
> I've never created a batch file before but so far I've found how to copy the
> contents of a folder to another folder on the same machine:
>
> @echo on
> xcopy c:\TestSource c:\TestDestination /m /e /y
>
> how would I modify this to copy files to a folder that sits on another server
>
> thanks in advance.
 >> Stay informed about: Batch File to transer files from one server to another 
Back to top
Login to vote
Display posts from previous:   
   Windows XP Arc2 (Home) -> Security Admin All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows XP
 Windows Vista!
 Win 2000/NT/98/ME


[ Contact us | Terms of Service/Privacy Policy ]