Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. @echo off
  2.  
  3. :: Notepad++ execution
  4.  
  5. if [%1]==[-h] goto :HELP
  6. if [%1]==[--help] goto :HELP
  7. if [%1]==[/?] goto :HELP
  8. goto :START
  9.  
  10. :START
  11. start "" /i "%ProgramFiles(x86)%notepad++notepad++.exe" %*
  12. goto :EOF
  13.  
  14. :HELP
  15. echo -------------------------------
  16. echo Notepad++ Command Argument Help
  17. echo -------------------------------
  18. echo Usage :
  19. echo.
  20. echo notepad++ [--help] [-multiInst] [-noPlugins] [-lLanguage] [-nLineNumber] [-cColumnNumber] [-xPos] [-yPos] [-nosession] [-notabbar] [-ro] [-systemtray] [-loadingTime] [fullFilePathName]
  21. echo.
  22. echo --help : This help message
  23. echo -multiInst : Launch another Notepad++ instance
  24. echo -noPlugins : Launch Notepad++ without loading any plugin
  25. echo -l : Launch Notepad++ by applying indicated language to the file to open
  26. echo -n : Launch Notepad++ by scrolling indicated line on the file to open
  27. echo -c : Launch Notepad++ on scrolling indicated column on the file to open
  28. echo -x : Launch Notepad++ by indicating its left side position on the screen
  29. echo -y : Launch Notepad++ by indicating its top position on the screen
  30. echo -nosession : Launch Notepad++ without any session
  31. echo -notabbar : Launch Notepad++ without tabbar
  32. echo -ro : Launch Notepad++ and make the file to open read only
  33. echo -systemtray : Launch Notepad++ directly in system tray
  34. echo -loadingTime : Display Notepad++ loading time
  35. echo -alwaysOnTop : Make Notepad++ always on top
  36. echo fullFilePathName : file name to open (absolute or relative path name)
  37. echo.
  38. goto :EOF
  39.  
  40. :EOF
  41.  
  42. @"C:Program FilesGitbingit.exe" %*
  43.  
  44. setx PATH "%PATH%;C:Shortcuts"
  45.  
  46. setx PATHEXT %pathext%;.LNK
  47.  
  48. mklink "C:UsersMeDocumentsPathsnp.exe" "C:Program Files (x86)Notepad++notepad++.exe"
  49.  
  50. HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp Paths
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement