Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.scripting
Thread: Move files

HTVi
TV Discussion Newsgroups

Move files
Alejandro 4/23/2007 9:02:03 PM
Move files from a folder in a Server, to another folder in another Server.
The files that move are the generated only in the present day. The task must
executed every day at 23:00.
Thankyou
Re: Move files
Jack Doyle <Jack.Doyle[ at ]scriptlogic.com> 4/24/2007 12:45:44 PM
Just make a batch file and call it via the task scheduler.

Regards,
Jack Doyle, Systems Engineer
ScriptLogic Corporation
http://www.scriptlogic.com

Re: Move files
Michael Bednarek <mbATmbednarek.com[ at ]BLACKHOLESPAM.NET> 4/24/2007 1:39:32 PM
On Mon, 23 Apr 2007 14:02:03 -0700, Alejandro wrote in microsoft.public.windows.server.scripting:

[Quoted Text]
>Move files from a folder in a Server, to another folder in another Server.
>The files that move are the generated only in the present day. The task must
>executed every day at 23:00.

One line (FORFILES v 1.1):
FORFILES -p\\serv1\share\source -m*.* -c"%comspec% /C MOVE [ at ]PATH\[ at ]FILE \\serv2\share\target" -d+00

Schedule.

--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen