batch file help

blodhi74

Diamond Member
Mar 28, 2003
4,566
1
0
can I create a batch file that will let me open Firefox,outlook and TV tuner app with one click

eg

@echo off
title Batch File Testing

echo test

echo.
echo Starting MS Paint
start mspaint

echo.
echo Starting Calculator
start calc

echo.
pause
exit


the above file opens paint and the calculator ... can I accomplish this by putting the paths for the *exe files for the apps
 

azel

Member
Jun 16, 2004
40
0
0
Yes, you can either specify the full path of the application to run, or you can add the path to the %PATH% variable in the script using quotes.

example:

start "C:\Program Files\Mozilla Firefox\firefox.exe"

or

set path=%path%;"C:\Program Files\Mozilla Firefox"
start firefox.exe