Skip to content

Automatize LISREL jobs

LISREL routine can run in DOS or in command line mode of windows (windows-key + R -> CMD) . The command line is just like –

D:\My Documents>“C:\Program Files\lisrel87\lisrel87.exe” “C:\Program Files\lisrel87\LS8EX\EX61.LS8″ D:\myOutput.out

1. You only need edit and input the bold part.
2. Quotation marks are used wherever the paths or filenames include blanks.
3. The 2nd argument is the output file. You can still specify more output options in your .ls8 file.
4. A .bat file can automatize batches of such lisrel jobs.

{ 4 } Comments

  1. lixiaoxu | May 17, 2008 at 3:47 am | Permalink

    Mplus has a similar procedure.

  2. a-duo | September 23, 2008 at 2:01 am | Permalink

    请教李老师,我照你的说明在DOS下执行
    没有出现任何结果,这是什么原因?

  3. lixiaoxu | September 23, 2008 at 4:17 am | Permalink

    To a-duo: 已经回复你的email。欢迎继续咨询,但请你注意给出操作化层面的精确说明,不宜在技术细节未明朗之前作任何概括

  4. a-duo | September 23, 2008 at 6:52 am | Permalink

    谢谢李老师!
    因为我机子上的lisrel是装在D盘下的
    所以我的命令就是改了路径,以及输出的out文件名
    但是按照上面的输入以后,发现在相应的路径下,没有out这个文件的输出
    但是在DOS窗口下也没有相应的错误提示
    这里不好放图,另email给您!

Post a Comment

Your email is never published nor shared. Required fields are marked *


To prove you're a person (not a spam script), type the answer to the math equation shown in the picture.
Anti-spam equation