Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- :: Notepad++ execution
- if [%1]==[-h] goto :HELP
- if [%1]==[--help] goto :HELP
- if [%1]==[/?] goto :HELP
- goto :START
- :START
- start "" /i "%ProgramFiles(x86)%notepad++notepad++.exe" %*
- goto :EOF
- :HELP
- echo -------------------------------
- echo Notepad++ Command Argument Help
- echo -------------------------------
- echo Usage :
- echo.
- echo notepad++ [--help] [-multiInst] [-noPlugins] [-lLanguage] [-nLineNumber] [-cColumnNumber] [-xPos] [-yPos] [-nosession] [-notabbar] [-ro] [-systemtray] [-loadingTime] [fullFilePathName]
- echo.
- echo --help : This help message
- echo -multiInst : Launch another Notepad++ instance
- echo -noPlugins : Launch Notepad++ without loading any plugin
- echo -l : Launch Notepad++ by applying indicated language to the file to open
- echo -n : Launch Notepad++ by scrolling indicated line on the file to open
- echo -c : Launch Notepad++ on scrolling indicated column on the file to open
- echo -x : Launch Notepad++ by indicating its left side position on the screen
- echo -y : Launch Notepad++ by indicating its top position on the screen
- echo -nosession : Launch Notepad++ without any session
- echo -notabbar : Launch Notepad++ without tabbar
- echo -ro : Launch Notepad++ and make the file to open read only
- echo -systemtray : Launch Notepad++ directly in system tray
- echo -loadingTime : Display Notepad++ loading time
- echo -alwaysOnTop : Make Notepad++ always on top
- echo fullFilePathName : file name to open (absolute or relative path name)
- echo.
- goto :EOF
- :EOF
- @"C:Program FilesGitbingit.exe" %*
- setx PATH "%PATH%;C:Shortcuts"
- setx PATHEXT %pathext%;.LNK
- mklink "C:UsersMeDocumentsPathsnp.exe" "C:Program Files (x86)Notepad++notepad++.exe"
- HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp Paths
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement