Solved

Windows Vista

Posted on 2009-07-02
9
169 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 90

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 90

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 90

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

If like me you are one who spends a lot of time working and scripting with cmd.exe, sometimes it is handy to be able to quickly view a calendar for a given month and year. This script will quickly do just that!  Save the code posted below to a .bat …
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 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

22 Experts available now in Live!

Get 1:1 Help Now