Announcement

Collapse
No announcement yet.

Calling a .cmd script from a BIT Script

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

  • Calling a .cmd script from a BIT Script

    I would like to profile the read/write speed of my SSD in between loading it with a large number of cycles with BIT. The script I have prepared doesn't quite work as expected, with the command line immediately closing and moving on with burn-in-tests

    LOAD <my config file>

    loop 100
    {
    EXECUTEWAIT "C:\diskspd.exe" ""-Z4k -b4K -d5 -o1 -t1 -W0 -r -S -w100 testfile.dat >> results.txt"
    RUN CONFIG
    }

    How can I call and wait for diskspd to run?

  • #2
    Are you sure this command will execute without error?

    When we tried using your command line parameters diskspd exited immediately with an error whereas one of the examples from diskspd (diskspd.exe -c8192K -d1 testfile.dat) ran as expected.

    *Edit* It seems that your command line won't create the testfile.dat automatically but the other example we ran did, this might be the issue?

    Comment


    • #3
      Thanks Tim, this was indeed the case. I'd not specified where the testfile.dat was on my system.

      Comment

      Working...
      X