D danny123 Registered User. Local time Today, 04:39 Joined Jul 21, 2006 Messages 100 Jul 22, 2006 #1 Hi I wanna schedule a windows job which copy a file from one server to another every week. Can somebody give me any idea about this. Best Danny
Hi I wanna schedule a windows job which copy a file from one server to another every week. Can somebody give me any idea about this. Best Danny
Minkey Registered User. Local time Today, 11:39 Joined Jul 7, 2004 Messages 661 Jul 23, 2006 #2 An easy way is to use a simple batch file (not 100% on syntax) type the code in notepad and save as whatever.bat: Code: copy c:\folder\file.xxx s:\folder Where c:\ is the location on machine A and s:\ is machine B Then use scheduler to run this whenever you choose Start > Programs > Accessories > System Tools > Scheduled Tasks (follow the wizard) This is providing your running Windows XP of course
An easy way is to use a simple batch file (not 100% on syntax) type the code in notepad and save as whatever.bat: Code: copy c:\folder\file.xxx s:\folder Where c:\ is the location on machine A and s:\ is machine B Then use scheduler to run this whenever you choose Start > Programs > Accessories > System Tools > Scheduled Tasks (follow the wizard) This is providing your running Windows XP of course
D danny123 Registered User. Local time Today, 04:39 Joined Jul 21, 2006 Messages 100 Jul 24, 2006 #3 Minkey said: An easy way is to use a simple batch file (not 100% on syntax) type the code in notepad and save as whatever.bat: Code: copy c:\folder\file.xxx s:\folder Where c:\ is the location on machine A and s:\ is machine B Then use scheduler to run this whenever you choose Start > Programs > Accessories > System Tools > Scheduled Tasks (follow the wizard) This is providing your running Windows XP of course Click to expand... Hi Thanks for the response. Will it work as i said i wanna copy from one server to second server. like dont we have to specify server name somewhere. Best Danny
Minkey said: An easy way is to use a simple batch file (not 100% on syntax) type the code in notepad and save as whatever.bat: Code: copy c:\folder\file.xxx s:\folder Where c:\ is the location on machine A and s:\ is machine B Then use scheduler to run this whenever you choose Start > Programs > Accessories > System Tools > Scheduled Tasks (follow the wizard) This is providing your running Windows XP of course Click to expand... Hi Thanks for the response. Will it work as i said i wanna copy from one server to second server. like dont we have to specify server name somewhere. Best Danny
Minkey Registered User. Local time Today, 11:39 Joined Jul 7, 2004 Messages 661 Jul 24, 2006 #4 Yeh it sould work just change the drive letter to your server names for example: Code: copy drive\folder\file.xxx secondserver\drive\folder and run this on the first server
Yeh it sould work just change the drive letter to your server names for example: Code: copy drive\folder\file.xxx secondserver\drive\folder and run this on the first server