Search the Legacy Support Archive (up to v2020)
  1. Read-only archive (2005–2024). Posting is closed. Need help with MediaLab or DirectRT 2027? Email service@empirisoft.com.

    All words · “exact phrase” · -leave out

    Advanced search

Trouble with Windows Run Prompt

  1. #1

    Trouble with Windows Run Prompt

    Hi,
    I've been trying to run an input file from the windows run prompt, and I am having some success with getting DirectRT (v2004) to run the input. However, it seems as if DirectRT is running the input file as if it were in a vacuum. I'll explain: None of the stimuli are displayed--instead only references to bmp and txt files are displayed (e.g., xxx.bmp). Additionally, no data files are written after the completion of the run. (I've searched the entire 'C' drive and have come up with nothing. Here is an example of an input that I've tried to run unsuccessfully...
    "C:\Program Files\DirectRT\executeDRT.exe" 1,1,C:/Documents and Settings/Paul Dennis/Desktop/gnat v060407/gnat v060407/gnat1.csv,all

    Thanks in advance for any help that you can provide.
    Paul

  2. #2
    jarvis24 Blair Jarvis, Administrator
    Strange, I've never heard of that. I'm guessng it's a path or permissions issue. Is it safe to assume that all runs well if you execute it from within the main DirectRT program (i.e., using File > Select and run input file)?

    If so, it may be a directory issue--something to do maybe with spaces in the folder names and/or DirectRT having trouble following it. First thing I would try is moving your GNAT to a simple path such as c:\gnat and see if that resolves it. If not let me know and we can try something else.

  3. #3
    Yes, the input file runs smoothly when opened from within DirectRT. I just moved the folder to the 'C' drive and got the same results as before. Here is the new run prompt that I used:
    "C:\Program Files\DirectRT\executeDRT.exe" 1,1,C:/gnat/gnat1.csv,all

  4. #4
    Figured it out! Apparently, the format of the command line must match exactly what is specified in the instructions. Thus

    "C:\Program Files\DirectRT\executeDRT.exe" ,1,1,C:/gnat/gnat1.csv,all

    Will run but will not use the style file and will not store the data file, but when corrected like this, it will:

    "C:\Program Files\DirectRT\executeDRT.exe" /1,1,C:\gnat\gnat1.csv,all

    Thanks for you help.

  5. #5
    jarvis24 Blair Jarvis, Administrator
    Ah, you need that slash ("/") instead of the comma. I should have caught that! Thanks for posting the solution!