Solved

Windows Vista

Posted on 2009-07-02
9
170 Views
Last Modified: 2012-05-07
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
Comment
Question by:Tachuynh
  • 3
  • 3
  • 3
9 Comments
 
LVL 92

Accepted Solution

by:
John Hurst earned 500 total points
ID: 24769254
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
 
LVL 11

Expert Comment

by:dougaug
ID: 24769345
Try this:

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

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

Regards,
0
 

Author Comment

by:Tachuynh
ID: 24769356
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
 
LVL 92

Expert Comment

by:John Hurst
ID: 24769379
Scheduler will work better now (that is, Vista, vs NT4). System Tools -> Task Scheduler and follow the wizard.
... Thinkpads_User
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 11

Expert Comment

by:dougaug
ID: 24769640
What do you mean about "specify dates and time"?
0
 

Author Comment

by:Tachuynh
ID: 24769659
Hi Dougquaq,
I mean the batch file just executes only on Mon thru Fri @6:00 PM only.

Thanks


 
0
 
LVL 11

Expert Comment

by:dougaug
ID: 24769695
As Thinkpads_User said, try to use windows task scheduler.
0
 

Author Closing Comment

by:Tachuynh
ID: 31599440
Thanks
0
 
LVL 92

Expert Comment

by:John Hurst
ID: 24773069
Thank you and I hope it all works for you. I use these tools myself successfully. .. Thinkpads_User
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you receive another warning that your shared drive is almost full and you have asked your users to clean out old files again and again, here is a single command that may help. This command will place all the files that have not been used rec…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now