Community discussions

MikroTik App
 
User avatar
leostereo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 92
Joined: Thu Oct 18, 2012 11:36 pm
Location: mendoza , argentina
Contact:

How to create / edit a configuration file / fullscreen edito

Thu Nov 22, 2012 8:44 pm

Hi , Im new working with routerOS,
I would like write a few lines ,Ex:

/systema identity set name="router1"
/interface bridge add name="bridge1"
/ip addreess add address=1.1.1.1 interface=ether1

then save, edit , execute , schedulle, etc.

********************
Up to now I can do:
export file=myscript
but when I do:
file edit myscript.rsc contents ;
it shows an empty screen on the editor

also
system script print ...... is empty (my script does not exist?)
file print detail (now it is)

Ok .... any help would be preciated, thanks.
Leandro.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26918
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: How to create / edit a configuration file / fullscreen e

Fri Nov 23, 2012 11:14 am

did you try command "/system script edit"?

Who is online

Users browsing this forum: zzing123 and 28 guests