Can't run script - no such item

I admit this is most probably user error. I've written config import scripts before, but not automation. I can not get "/system script run scriptName" to function

RB951Ui-2HnD v6.40.2


Attempt to execute via file name, as other forum posts say is supposed to work

[scripttest@device] > /system script run test.rsc
no such item

Look at help. It says I need to use the file

[scripttest@device] > /system script run

-- Item number

List files (full list not posted here, for brevity)

[scripttest@device] > /file print

NAME TYPE SIZE CREATION-TIME

0 pub directory aug/31/2017 20:43:11
1 skins directory dec/31/1969 18:00:02
<..snip..>
12 log.2.txt .txt file 171.1KiB sep/01/2017 18:34:58
13 test.rsc script 2575 sep/04/2017 12:12:02
14 log.1.txt .txt file 173.3KiB sep/04/2017 09:09:40

I want # 13, try that. no dice

[scripttest@device] > /system script run 13
no such item

Try a known bad file entry, same result

[scripttest@device] > /system script run 0
no such item

Try another known bad, non-existant file. Same result

[scripttest@device] > /system script run test22222
no such item


I would appreciate any pointers as to what am I doing wrong. Thanks!

The “/system script run” command runs scripts from the “/system script” menu.

To run scripts in files, you need to use the “/import” command, with the file name, e.g.

/import test.rsc

Yes, you are absolutely correct. This was 100% user error. Thank you

When I try /import static.rsc, I also get “no such item”…