2

i am using windows 2003 server and windows 7 as client.

i have one folder in drive D i want to SYNC that folder with server.

how can i write login script for that?

Thanks

air
  • 273
  • 2
  • 13

1 Answers1

4

The robocopy command is bundled with Windows 7 and allows you sync a folder to another destination. Try adding robocopy to your login script like this:

robocopy d:\path\to\source s:\path\to\destination /MIR /Z

The /MIR option ensures that the destination folder always reflects the source folder.

John Rabotnik
  • 439
  • 2
  • 5