[Tip?] Batches

Home Forums General Chat [Tip?] Batches

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2915
    David
    Participant

    Obviously, if you use Linux you should be used to this already, but for PC users, the DOS commands are very powerful, efficient, and yet simple tools to speed up your workflow…

    You can do a whole lot of stuff with them. I’ll just show you mine as a small example. You can base some of yours off mine too! They’re very easy to understand and make yourself. Just add the extension .bat after a notepad file instead of the .txt. 🙂

    David’s Startup Manager said: @echo off
    cls
    title Startup Management System…
    color 2F
    cd C:UsersDavidDesktopMainBatches

    goto menu
    :menu
    cls
    echo *********************************
    echo *****David’s Startup Manager*****
    echo *********************************
    echo.
    echo 1. Refresh Object Dock if it’s borked.
    echo 2. Kill unnecessary processes.
    echo 3. Open up MSN Messenger.
    echo 4. Run CCleaner.
    echo 5. Run Firefox with VuTales.
    echo 6. Run Firefox with Google.
    echo 9001. End program.
    :choice
    echo.
    echo.Type in a corresponding number:
    set /P C=[1,2,3,4,5,6,9001]?
    if “%C%”==”9001” goto crazyexit
    if “%C%”==”6” goto ffg
    if “%C%”==”5” goto ffv
    if “%C%”==”4” goto clean
    if “%C%”==”3” goto msn
    if “%C%”==”2” goto kill
    if “%C%”==”1” goto objectd
    goto choice

    :objectd
    cls
    call Objectdock.bat
    goto menu

    :kill
    cls
    call Taskkiller.bat
    goto menu

    :msn
    cls
    call MSN.bat
    goto menu

    :clean
    cls
    call CCleaner.bat
    goto menu

    :ffv
    cls
    cd C:Program Files (x86)Mozilla Firefox
    start firefox.exe http://www.vutales.vuii.co.uk/
    cd C:UsersDavidDesktopMainBatches
    goto menu

    :ffg
    cls
    cd C:Program Files (x86)Mozilla Firefox
    start firefox.exe http://www.google.com/
    cd C:UsersDavidDesktopMainBatches
    goto menu

    :crazyexit
    cls
    echo All done! Thanks for using
    echo *********************************
    echo *****David’s Startup Manager*****
    echo *********************************
    pause
    exit

    CCleaner said: echo *************************************************
    cd C:Program Files (x86)CCleaner
    call CCleaner.exe
    cd C:UsersDavidDesktopMainBatches
    KillProcesses said: echo *************************************************
    echo Killing process(es)…
    taskkill /F /IM WebThunder.exe
    taskkill /F /IM mobsync.exe
    taskkill /F /IM wmdc.exe
    taskkill /F /IM wmplayer.exe
    taskkill /F /IM GoogleUpdate.exe
    taskkill /F /IM GoogleUpdaterService.exe
    taskkill /F /IM PWRISOVM.exe
    Object Dock said: echo *************************************************
    echo Killing Object Dock process…
    taskkill /F /IM ObjectDock.exe
    taskkill /F /IM Dock64.exe
    echo Refreshing Object Dock…
    cd C:Program Files (x86)StardockObjectDock
    start ObjectDock.exe
    cd C:UsersDavidDesktopMainBatches

    Etc.

    #11239
    FunnyFroggy
    Participant

    tb;dr
    tl;dr

    #11242
    DarkDragoon
    Participant

    rofl
    Davey you nerd

    #11348
    David
    Participant

    No, it’s just for better workflow paceage. Useful.

    #11352
    Jil
    Participant

    ts;dr

    #11353
    David
    Participant

    Lmao. XD

    #11360
    Nass
    Participant

    tl;jc

    Too long..Just commented.

    #11430
    Pirkid
    Participant

    You can use Spybot for process killing.

    And..pretty much everything on that list. xD

    #11436
    David
    Participant

    Spybot has a GUI and therefore takes space.

    This is automated and much faster than opening up spybot, killing processes, etc.

    + this only needs to be ran once during startup. 😀

    #11441
    MasterCheeze
    Participant

    David’s a batch.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.