Third3ye Posted August 5, 2005 Posted August 5, 2005 I wrote the start.cmd script and stuff, I made the Firefox install unattended, and I know how to set it as the standard web-browser (thanks to the help I got here). But I can't find the right way to execute the firefox executable from the start.cmd so I can set it as the standard browser.The thing is I'm not only making an unattended install disc for my self. I'm also making one for my sister and a couple friends as well. The only problem is that they usually keep their programs in C:\Program Files (or don't really care) where as I use my D: partition (which could be a problem for most of my friends I think). I've managed to set the program files my self in the start.cmd batch script (set ProgramFiles=D: (this line is removed ofcourse when making a CD for someone else)) and thats exactly where the command for setting firefox as the default browser is going. I tried using start /wait %programfile%\Mozilla Firefox\firefox.exe -silent -nosplash -setDefaultBrowser (with and without quotes) but with no luck.Hope this isn't all confusing, just needed to make a few things clear so no one missunderstood what I needed help with.But anyways, thanks for reading
benners Posted August 5, 2005 Posted August 5, 2005 you have set the ProgramFiles=D but the variable you use in the cmd is %programfile%.Change start /wait %programfile%\Mozilla Firefox\firefox.exe -silent -nosplash -setDefaultBrowser to start /wait "%ProgramFiles%\Mozilla Firefox\firefox.exe" -silent -nosplash -setDefaultBrowser and try it.You could use goto %ComputerName% and add a label matching the individual computer names, then add the code there to install firefox.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now