Danniel Hill
2012-03-31 19:53:46 UTC
I already use batch programming for opening multiple programs at once using the "start" command.
What I want to do is write a batch program that will do the following:
1) Prompt for a file path (ie. C:\User\Documents\..)
2) Save the file path as a string variable
3) Output string variable into multiple "Start" commands, each targeting a seperate internet browser
my idea was along the lines of:
<-- batch code --><-- assume that str is the variable of the user input -->
@echo off
cd "path of Firefox browser"
start firefox.exe str
cd "path of IE browser"
start iexplore.exe str
cd "path of......... (you get the idea)
I just don't know how to store user input as a string variable or how to recall the string inside another command.
Can anyone help me?