Batch Custom Launcher

by will4209 in Circuits > Tools

1199 Views, 4 Favorites, 0 Comments

Batch Custom Launcher

INST.jpg

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

it is pretty easy

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)

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