The simplest way to produce and test scripts is to configure Windows Explorer to help. You only need do this on your own PC where you do this work as it is not needed to run scripts but it comes in very handy when creating, editing and testing them.
Choose or create a folder to experiment in and start the CNC Editor. Select the menu items File and then New and type into the new file one line:
about( )
Save this as about.sbs in your working folder and close the editor. Then open that folder in Windows Explorer and highlight that file and press the right button. Explorer will display a menu with Open with… at the top. (If it does not somebody has been here before you.) Select this and it should open an Open With dialog asking for a description of the file, enter Batch Script here. Then it asks you to choose the program you want to use. Hopefully Editor95 is in the list but if not select the Other button and locate it in the \nms4\bin directory. Make sure the Always use this program to open this file box is ticked and select OK.
What you have just done has arranged that CNC Editor will open any file whose name ends in .sbs if you click it in the explorer and so Editor95 will now again display your about.sbs file. Notice that Windows may not be displaying the extension .sbs now because it now knows about sbs files. Hiding or not hiding extensions is an option in Explorer. It is your choice but I find it much less confusing not to hide them.
Next we need to arrange for SBS.EXE to run the script. Back in Windows Explorer select the View menu item and then Folder Options. Choose the File Types tab. Hunt down the list of registered file types for Batch Script and highlight it. This should cause it to show in the bottom of the window that it opens with Editor95. Select Edit… Now you see you have one Action defined called open and we want to add a new one so select New… and enter the Action: as &Run and use the Browse… button to set the Application to perform the action: to sbs.exe in the \nms4\bin folder. Edit the command line so it reads C: \nms4\bin\sbs.exe "%1" so it will handle script names with spaces in them. Make sure the Use DDE box is not checked. Click several Close buttons to get back to Windows Explorer.
Select your about.sbs file and right button it. You should now have two options in the top group Open and Run. If you double click an Batch Script file it should open in the CNC Editor and if you right button it you can select Run and use SBS to directly test it.
If you really want to play the game add a further action called Debug with the command line C: \nms4\bin\sbs.exe –d "%1" so you can run a script under the debugger directly