MSFN Forum: Copying files from network share - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Copying files from network share Rate Topic: -----

#1 User is offline   jmassi 

  • Group: Members
  • Posts: 8
  • Joined: 19-December 06

Posted 24 January 2007 - 10:13 AM

My boss threw this at me: he wants to copy files from a network share to a local hdd while logged off the network and he wants it scheduled. Is this possible? If so, whats the easiest way to do it? Or is he dreaming? :whistle:
Thanks! :D


#2 User is offline   nitroshift 

  • Beware of programmers with screwdrivers!
  • Group: Super Moderator
  • Posts: 2,797
  • Joined: 29-November 05
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 24 January 2007 - 11:36 AM

How is the network configured? Private p2p, workgroup, domain?

#3 User is offline   jmassi 

  • Group: Members
  • Posts: 8
  • Joined: 19-December 06

Posted 24 January 2007 - 11:40 AM

Domain

#4 User is offline   rendrag 

  • grrrrrr
  • PipPipPipPip
  • Group: Members
  • Posts: 685
  • Joined: 28-October 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 24 January 2007 - 12:22 PM

you could have your task scheduler run a command file which does this, but I believe some account needs to be online (not necessarily your bosses, but an admin or like account)

you would write a command file that says

Quote

copy /b /y <insert share location> <insert desination>


#5 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 10,936
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 24 January 2007 - 03:02 PM

You could schedule a batch job that copies the file, but the job will have to run with an account and password that has permissions on both the machine that it is running, and the machine you're copying files from. Also, you'd have to use network UNC paths, as mapped drives only work with an actual shell session - I'd suggest using a vbscript for this, or perhaps a cmd script with robocopy commands.

#6 User is offline   Tinker 

  • "TINKER til ya fix it"
  • PipPipPipPip
  • Group: Members
  • Posts: 597
  • Joined: 13-May 02

Posted 26 January 2007 - 02:56 AM

Try Microsoft's Sync Toy 1.4...

http://www.microsoft.com/windowsxp/using/d...to/synctoy.mspx

#7 User is offline   gamehead200 

  • SEARCH!!! SEARCH!!!
  • Group: Super Moderator
  • Posts: 7,019
  • Joined: 02-September 02
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 26 January 2007 - 02:10 PM

View PostTinker, on Jan 26 2007, 04:56 AM, said:


Batch files and Sync Toy will work, but you would have to be present for Sync Toy to work (since there are no switches for it to copy automatically). As for the batch file, you would need to be logged on, but have a scheduled task setup instead.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy