![]() This wrapper script changes the current drive and directory to your script location, enables or disables ECHO depending on the checkbox setting in the toolbar, and CALLs your script using the arguments supplied in the toolbar. On Run (or F5, of course) MOBZcript saves the script you're editing in its intended location, and then saves a wrapper script in your TEMP-directory. I'll add it in the next update.Īs you can see from the source code, there's no magic involved - not even rocket science. Note: there's no New menu item - I forgot that. You can, of course, save your script under a different name in a different location, and it'll run from there. It's meant to start up fast, so when you run it, it'll create a file called 'untitled-1.cmd' in your temp-directory and run from there. The File menu offers Open, Save, Save As, and Exit the Script menu contains a single item: Run (F5). I want to pass arguments, and I want the output to pause, even when the batch file ends unexpectedly.Īnd basically, what you see is what you get. What I need is a way to type a small script and then have it executed on the command line. ![]() ![]() ![]() Plus, you can't split statements over several lines when in interactive mode, which is one really convenient features of batch files. you have to double percent-signs, there's no SETLOCAL, etc. One of the problems with writing and testing batch files is that behaviour from the command line is subtly different from 'interactive' mode, i.e. MOBZcript is an extremely simple script editor for cmd batch files. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |