?
Solved

Windows Vista

Posted on 2009-07-02
9
Medium Priority
?
178 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 3
9 Comments
 
LVL 97

Accepted Solution

by:
John Hurst earned 2000 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
What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

 
LVL 97

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
 
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 97

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
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…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

718 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