Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 181
  • Last Modified:

Windows Vista

Please help me to create a batch file which helps copy a file on the network (X:\Temp\File) to my local machine C:\Temp\File , from Mon - Friday at 6:00 PM,

Thank you
0
Tachuynh
Asked:
Tachuynh
  • 3
  • 3
  • 3
1 Solution
 
John HurstBusiness Consultant (Owner)Commented:
Create a batch file to do the copy and leave it at that for the batch file.
Then use Windows Scheduler to run the batch file according to your timing.
Done.
... Thinkpads_User
0
 
dougaugCommented:
Try this:

copy X:\Temp\File C:\Temp\File

Save the code above in a file with .bat extension.

Regards,
0
 
TachuynhAuthor Commented:
I used to create that kind of batch file before with Windows NT.
But now I don't remember how to specify dates and time.
Please give me some examples.
Thank You
0
Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

 
John HurstBusiness Consultant (Owner)Commented:
Scheduler will work better now (that is, Vista, vs NT4). System Tools -> Task Scheduler and follow the wizard.
... Thinkpads_User
0
 
dougaugCommented:
What do you mean about "specify dates and time"?
0
 
TachuynhAuthor Commented:
Hi Dougquaq,
I mean the batch file just executes only on Mon thru Fri @6:00 PM only.

Thanks


 
0
 
dougaugCommented:
As Thinkpads_User said, try to use windows task scheduler.
0
 
TachuynhAuthor Commented:
Thanks
0
 
John HurstBusiness Consultant (Owner)Commented:
Thank you and I hope it all works for you. I use these tools myself successfully. .. Thinkpads_User
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now