【RouterOS】—— Full Screen Editor
Whenever you need write scripts on your RouterOS, you may need to prepare your scripts on Windows programs such as Notepad or other applications which allow to write your own scripts. Once scripts are completed, you need to move them onto your RouterOS terminal windows (/file folder). Whenever you have problems in your scripts, you need to repeat the same process to re-edit your scripts and move them to the RouterOS /file again.
You can get rid of the above process using the following command
1. Create of a script in /file folder (just printing the current contents to a file named myFile)2. Empty of the file myFile- /file set myFile.txt contents=""
複製代碼 3. Start to edit the file myFile- /file edit myFile.txt
- value-name (just press <Enter> key to continue
複製代碼 4. A full-screen editor giving you to edit the file myFile.txt and press <CTRL>+<o> to save and exit the full-screen editing mode |