The high number in the range (145 in the examples) is always exclusive. s145-123 also selects bytes 123 through 144 (inclusive) but places the cursor at byte offset 123. The first column on the line is number 1.įinally, /s123-145 selects bytes 123 through 144 (inclusive) and places the text cursor at byte offset 145. c7 places the text cursor at the 7th column on the line indicated by /l. If you use /c in combination with /l, then the meaning of /c changes. If the file is opened in text mode and the file has a byte order marker then the byte order marker is not included in the count. Byte offset 0 is at the first character in the file. c45 tells EditPad to place the text cursor at byte offset 45 in the file. l-1 (slash el minus one) places the text cursor at the very end of the file. Negative numbers count from the end of the file. The lines are counted as if word wrap were off. The first line in the file is number one. l123 (slash el one two three) tells EditPad to place the text cursor on line 123 of the file. p tells EditPad to show the print preview immediately after opening the file, so you can print it with one click. The order of the parameters does not matter. EditPad does not show any error messages if you do not respect these rules, but the result will not be what you expected. Each of them can appear only once on the command line. Parameters Specific to One FileĪll of the parameters in this section require a single file to be specified on the command line. While waiting, the newly run instance appears as a separate process in the task manager, but is otherwise invisible. Alternatively, you can specify the /wait parameter to reuse the existing window as usual, but to make the newly run copy wait until you have closed the file in the existing instance. To avoid this problem you can specify the /newinstance parameter to start a new EditPad instance that the application can wait for. Such applications won’t behave correctly when EditPad reuses an existing instance and then closes as soon as the file has been opened. Some applications that launch a text editor wait for the editor to close as a signal that you’re done editing the file and that the application can proceed with whatever it was doing. brl100t200r300b400 sets the window’s bounding rectangle to left 100, top 200, right 300 and bottom 400, counting pixels from the top left corner of the screen. When using /newinstance, you can also specify the location of the new EditPad window.
![editpad lite requirments editpad lite requirments](http://www.portablefreeware.com/screenshots/scr2Aw0O2.gif)
It can be used in combination with any other command line parameter. This parameter can appear anywhere on the command line. If you want to force a second EditPad window to appear, specify the /newinstance parameter on the command line. The newly run copy closes itself as soon as the existing copy has processed the command line parameters and opened all files. If you start EditPad while another copy of EditPad is already running then the newly run copy sends the command line parameters to the existing copy. You can use paths relative to the current directory.Įxample: EditPadPro8.exe "C:\My Documents\text.txt" C:\Development\source.c You can use wildcards such as *.txt to make EditPad open all files that match the wildcard. The file itself is not created until you save it. If you specify a file that does not exist on the command line, EditPad creates a blank tab with that file name. Putting double quotes around file names without spaces makes no difference.
![editpad lite requirments editpad lite requirments](https://www.howtogeek.com/wp-content/uploads/2009/07/editpad18.png)
You should put double quotes around file names that contain spaces. You can specify as many files as you want on the command line. Command Line Parameters Command Line Parameters