2009-07-02 12:45:08 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
< html > < head > < meta content = "text/html; charset=utf-8" http-equiv = "content-type" > < title > Command Line< / title >
< link rel = "stylesheet" href = "styles.css" type = "text/css" >
< / head > < body >
< h1 > Command
Line< / h1 > < p >
< table border = "1" bordercolor = "#000000" cellpadding = "4" cellspacing = "0" width = "100%" >
< col width = "256*" >
< tbody > < tr >
< td valign = "top" width = "100%" style = "background-color:Aquamarine;" >
Notepad++.exe [-multiInst]
[-noPlugin] [-ro] [-nosession] [-notabbar] [-n##] [-l$$$] [FILES]< / font >
< / td >
< / tr >
< / tbody > < / table >
< p >
Notepad++
supports a few command line parameters to control its startup. The
following options are supported (they are case sensitive):< / font >
p>< dl >
2009-11-23 01:34:38 +00:00
< dt > -n< span style = "font-weight: normal;" > < i > line number< / i > < / span >
< dd > Line number to go to for each file opened.
2009-07-02 12:45:08 +00:00
< dt > -c
< dd > Start editing in Column mode.
2009-11-23 01:34:38 +00:00
< dt > --help
< dd > Displays this list, i.e. all the command line switches
2009-07-02 12:45:08 +00:00
< dt > -multiInst
< dd > allow Notpead++ to start more than one instance. By default, if
Notepad++ is already started files wil lbe opened in that instance,
but this option will start a new one.
< dt > -noPlugin
< dd > Do not load any plugins. If you suspect a defunct plugin or you
just do not wish to load them, add this option.
< dt > -ro
< dd > Any file now opened will be opened in Read only mode.
< dt > -nosession
2009-09-19 21:43:11 +00:00
< dd > Do not load the previous session if Notepad++ is started. Do not save the session on exit either.
2009-07-02 12:45:08 +00:00
< dt > -notabbar
< dd > Hide the Tab Bar, even if the settings say otherwise.
2009-11-23 01:34:38 +00:00
< dt > -systemtray
< dd > Start Notepad++ minimised in the system tray, aka notification area
2009-07-02 12:45:08 +00:00
< dt > -x< span style = "font-weight: normal;" > < i > line number< / i > < / span >
2009-09-19 21:43:11 +00:00
< dd > Specify the horizontal position (in pixels) at which Notepad++ main window is to open.
2009-07-02 12:45:08 +00:00
< dt > -y< span style = "font-weight: normal;" > < i > line number< / i > < / span >
2009-09-19 21:43:11 +00:00
< dd > Specify the vertical position (in pixels) at which Notepad++ main window is to open.
2009-07-02 12:45:08 +00:00
< dt > -l< span style = "font-weight: normal;" > < i > language short name< / i > < / span >
< dd > Language to set for each file opened. $$$ is a short identifier
2009-11-23 01:34:38 +00:00
string, of which the following are allowed:< br > < / font > < table style = "text-align: left; width: 100%;" border = "1" cellpadding = "2" cellspacing = "0" > < tbody > < tr > < td style = "background-color:aquamarine;" > normal, php, c, cpp, cs, objc, d,
2009-07-02 12:45:08 +00:00
java, rc, html, xml, makefile, pascal, batch, ini, nfo, asp, sql, vb,
2009-11-23 01:34:38 +00:00
javascript, css, perl, python, lua, tex, cobol, fortran, bash, actionscript,
2009-07-02 12:45:08 +00:00
nsis, tcl, lisp, scheme, asm, diff, props, postscript, ruby, smalltalk,
2009-11-23 01:34:38 +00:00
vhdl, kix, autoit, Gui4Cli, powershell, caml, ada, verilog, matlab, haskell, inno, cmake,
yaml, r< / td > < / tr > < / tbody > < / table >
2009-07-02 12:45:08 +00:00
< dt > Files
< dd > Anything else will be interpreted as a filename. Always quote your
filename to allow the path to contain spaces, otherwise Notepad++
will split the single path into multiple paths at each space.< p >
< / dl >
The
order of the options is not important.< p >
For
compatibility, Notepad++ will first try to identify the entire
command line as a filename, even if it is unquoted. It is however not
recommended to do this, always quote the filename.
< / body > < / html >