Announcement

Collapse
No announcement yet.

Using EXECUTEWAIT script command with batch files

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using EXECUTEWAIT script command with batch files

    I'd like to run the diskspd utility by Microsoft in between cycling the disk drives. The issue I am having is that EXECUTEWAIT opens and the immediately closes the command line without being able to run the diskspd utility. Here is my script:

    LOAD "C:\DiskTest.bitcfg"


    LOOP 3
    {
    EXECUTEWAIT "C:\diskspd64.exe" "-Z4k -b4K -d5 -o1 -t1 -W0 -r -S -w100 testfile.txt >> results.txt"
    RUN CONFIG
    }
Working...
X