By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,009 Members | 1,487 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,009 IT Pros & Developers. It's quick & easy.

Script for XP

P: 1
I am a newbies i just need to know how to write a scripts to do the following
copy h:\datafolder to c:\datafolder
and then
run application xxxx.exe
pause until user close that application
copy c:\datafolder to h:\datafolder

thanks in advance
May 8 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 5K+
P: 8,434
I'd suggest you use a simple DOS batch file. Something like...
Expand|Select|Wrap|Line Numbers
  1. XCOPY h:\datafolder\*.* c:\datafolder\
  2. START /WAIT xxxx.exe 
  3. XCOPY c:\datafolder\*.* h:\datafolder\
May 9 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.