Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO OFF
- TITLE $~fazledyn: Executor v1.1
- @REM This batch script was made by https://github.com/fazledyn
- @REM Taking input through command line argument
- @REM the input from the command line is accessed through the variable '%1'
- @REM then I'm assigning it to my case VAR 'choice' and then iterating it
- SET choice=%1
- if %choice%==brave GOTO openBrave
- if %choice%==codelite GOTO openCodelite
- if %choice%==edge GOTO openEdge
- if %choice%==excel GOTO openExcel
- if %choice%==powerpoint GOTO openPowerpoint
- if %choice%==pycharm GOTO openPycharm
- if %choice%==snip GOTO openSnip
- if %choice%==torrent GOTO openTorrent
- if %choice%==vscode GOTO openVscode
- if %choice%==word GOTO openWord
- if %choice%==help GOTO openHelp
- ECHO input error. type "help" to know more.
- :openBrave
- ECHO Starting Brave..
- START C:\"Program Files (x86)"\BraveSoftware\Brave-Browser\Application\brave.exe
- EXIT /b
- :openCodelite
- ECHO Starting CodeLite..
- START D:\ProgramFilesX\CodeLite\codelite.exe
- EXIT /b
- :openEdge
- ECHO Starting Edge-Beta..
- START C:\"Program Files (x86)"\Microsoft\"Edge Beta"\Application\msedge.exe
- EXIT /b
- :openExcel
- ECHO Starting Excel..
- START C:\"Program Files (x86)"\"Microsoft Office"\root\Office16\EXCEL.exe
- EXIT /b
- :openPowerpoint
- ECHO Starting PowerPoint..
- START C:\"Program Files (x86)"\"Microsoft Office"\root\Office16\POWERPNT.exe
- EXIT /b
- :openPycharm
- ECHO Starting PyCharm..
- START C:\"Program Files"\JetBrains\"PyCharm 2019.1.2"\bin\pycharm64.exe
- EXIT /b
- :openSnip
- ECHO Starting Snipping Tool..
- START C:\Windows\system32\SnippingTool.exe
- EXIT /b
- :openTorrent
- ECHO Starting Torrent Client..
- START C:\Users\ASUS\AppData\Roaming\uTorrent\uTorrent.exe
- EXIT /b
- :openVscode
- ECHO Starting VS Code...
- START D:\ProgramFilesX\"Microsoft VS Code"\Code.exe
- EXIT /b
- :openWord
- ECHO Starting MS Word..
- START C:\"Program Files (x86)"\"Microsoft Office"\root\Office16\WINWORD.exe
- EXIT /b
- :openHelp
- ECHO ------------------------------------------------------------
- ECHO This is Executor help menu
- ECHO Enter keywords as shown below to execute different programs
- ECHO.
- ECHO brave = Brave Browser
- ECHO codelite = Codelite IDE
- ECHO edge = Microsoft Edge Browser
- ECHO excel = Microsoft Excel Spreadsheet
- ECHO powerpoint = Microsoft PowerPoint
- ECHO pycharm = Jetbrains PyCharm Professional
- ECHO snip = Snipping Tool
- ECHO torrent = uTorrent Client
- ECHO vscode = Microsoft Visual Studio Code Editor
- ECHO word = Microsoft Word
- ECHO ------------------------------------------------------------
- ECHO ------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement