Script for XP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • agit
    New Member
    • May 2007
    • 1

    #1

    Script for XP

    Hello
    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
    then
    copy c:\datafolder to h:\datafolder
    exit

    thanks in advance
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    I'd suggest you use a simple DOS batch file. Something like...
    Code:
    XCOPY h:\datafolder\*.* c:\datafolder\
    START /WAIT xxxx.exe 
    XCOPY c:\datafolder\*.* h:\datafolder\

    Comment

    Working...