Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rem Made Using LiamBogurs Super Command Prompt Plugin Compiler
- if %D%==1 (
- if exist "%FIRDIR%\Intergration++.cfg" (
- echo Deleting extra files..
- del "%FIRDIR%\Intergration++.cfg"
- )
- goto :eof
- )
- if not exist "%FIRDIR%\Intergration++.cfg" (
- echo Creating Intergration++ Config.
- echo 2 CHROME false "C:\Program Files ^(x86^)\Google\Chrome\Application\chrome.exe">"%FIRDIR%\Intergration++.cfg"
- echo 2 BASH false "bash">>"%FIRDIR%\Intergration++.cfg"
- echo 0 EDIT++ true "C:\Program Files ^(x86^)\Notepad++\notepad++.exe">>"%FIRDIR%\Intergration++.cfg"
- echo 2 DISKPART false "diskpart">>"%FIRDIR%\Intergration++.cfg"
- )
- if %A%==2 (
- if /I %Command%==PHELP (
- echo Intergration++ ^| Check the config
- echo Intergration++ ^| First Parameter: Mode ^(2=Main, 1=VBS, 0=Files^)
- echo Intergration++ ^| Second Parameter: SCMD Command
- echo Intergration++ ^| Third Parameter: Recieve parameters?
- echo Intergration++ ^| Fourth Parameter: Command/File
- echo Intergration++ ^| TIP: Remember to include ^^ before ^( or ^)
- goto :eof
- )
- )
- cd "%FIRDIR%"
- for /f "delims=*" %%i in (Intergration++.cfg) do (
- set IntergrationPlusPlusVar1=%%i
- call :IntergrationPlusPlus
- )
- cd "%FIRDIR%\SCMDPLUGINS"
- goto :eof
- :IntergrationPlusPlus
- for /f "tokens=1" %%i in ("%IntergrationPlusPlusVar1%") do set IntergrationPlusPlusCommandD1=%%i
- for /f "tokens=2" %%i in ("%IntergrationPlusPlusVar1%") do set IntergrationPlusPlusCommandD2=%%i
- for /f "tokens=3" %%i in ("%IntergrationPlusPlusVar1%") do set IntergrationPlusPlusCommandD3=%%i
- for /f "tokens=4,*" %%a in ("echo %IntergrationPlusPlusVar1%") do set IntergrationPlusPlusCommandD=%%b
- if %A%==%IntergrationPlusPlusCommandD1% (
- if /I %IntergrationPlusPlusCommandD2%==%Command% (
- cd "%LASTDIR%"
- echo.%IntergrationPlusPlusCommandD% | findstr /C:":">nul && if not exist %IntergrationPlusPlusCommandD% (
- echo Intergration++ Config Invalid
- cd "%FIRDIR%\SCMDPLUGINS"
- goto :eof
- )
- if %IntergrationPlusPlusCommandD3%==false (
- %IntergrationPlusPlusCommandD%
- )
- if %IntergrationPlusPlusCommandD3%==true (
- %IntergrationPlusPlusCommandD% %CommandD1%
- )
- cd "%FIRDIR%"
- )
- )
- goto :eof
Advertisement
Add Comment
Please, Sign In to add comment