@echo off rem Firefox install script - http://gaugusch.at/firefox.shtml rem ------------------------------------------------------------ rem Enter your firefox installation directory here rem ------------------------------------------------------------ set fileserver=\\fileserver\public\software\firefox rem If you want to create a start menu entry, you have to do rem it yourself - I was lazy ;) rem Same for the shortcut "Firefox.lnk". It is expected to be rem inside the Firefox directory (where firefox.exe is located). rem Let it point to "%ProgramFiles%\Firefox" (with the quotes!) rem rem ------------------------------------------------------------ rem No changes needed below (hopefully ;-) rem ------------------------------------------------------------ if exist "%ProgramFiles%\Firefox" goto exists mkdir "%ProgramFiles%\Firefox" xcopy /s /q %fileserver% "%ProgramFiles%\Firefox" copy "%ProgramFiles%\Firefox\Firefox.lnk" "%Userprofile%\Desktop" copy "%ProgramFiles%\Firefox\Firefox.lnk" "%APPDATA%\Microsoft\Internet Explorer\Quick Launch" goto end :exists echo A firefox directory is already present at %ProgramFiles%\Firefox! echo No files copied! :end pause