How to Run on Windows Startup a Sequence File?

Updated May 10, 2023

Environment

Software

  • TestStand

I would like to run on Windows startup my sequence file using the Sequence Editor.  How?

The TestStand Sequence Editor and all user interface applications support command-line options for opening and running sequences. You can create a batch file that will run the TestStand Sequence Editor and call your sequence file by using command lines as following: 
  1. Open a text file, such as a Notepad or WordPad document.
  2. Add your commands, starting with @echo [off], change your directory with cd, launching the executable file with start, and exit the batch file. Here is an example:     
    @echo off
    cd "C:\Program Files (x86)\National Instruments\TestStand 2017\Bin"
    start SeqEdit.exe /run MainSequence "<your sequence file path>"
    
    exit 
    
  3. Save this file (making sure your Save as type is set to All Files) with the .bat extension.
  4. Create a shortcut to the batch file.
  5. Once the shortcut has been created, right-click the shortcut file and select Cut.
  6. Press Start, type Run, and press Enter.
  7. In the Run window, type shell:startup to open the Startup folder.
  8. Once the Startup folder is opened, right-click and select Paste.