Batch Custom Launcher

Published

Introduction: Batch Custom Launcher

About: for questions email me at rwf4209@gmail.com i will be happy to help with any issues with batch programs you have

hello guys today im going to show you how to create a file launcher using a batch file

it is pretty easy

Step 1: The Coding Is Below...

@echo off

echo what file do you want to start

set /p file=

echo what file type is it

set /p type=

start %file%.%type%

if you want a "one type" launcher

@echo off

echo what file do you want to run(.mp3)

Step 2: For a "one Type" File Launcher

if you want a "one type" launcher

@echo off

echo what file do you want to run(.mp3) < (.mp3 could be .avi or .bat

set /p file=

start %file%.mp3

if you type the name no mediocre then it interprets it as no mediocre.mp3 just change the file extension name in the bottom line to change the file type you want to launch

NOTE: it might be easier to make a shortcut and move the shortcut to your desktop because the batch file will only find it if both file are in the same folder

HAPPY CODING :D I HAD TO ADD AN IMAGE SOO... this is my first instructables and im 14

Share

    Recommendations

    • Make it Move Contest

      Make it Move Contest
    • Microcontroller Contest

      Microcontroller Contest
    • Woodworking Contest

      Woodworking Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    2 Comments

    your welcome hey any ideas on what I should do next? any suggestions would be appreciated :D