hi everyone i am trying to make a batch file that runs when i load up mozilla firefox but i don't know how to do this. i don't want a batch file that runs firefox i want a batch file that runs with firefox after clicking on "firefox.exe". i am using this to make a log of every time firefox is run. don't ask me why i just want to. this is what i have: Code: @echo off cd C:\ echo %DATE% %TIME% %USERNAME% >> firefoxlog.log
whats with the scripting questions on this site? try google and look for some better resources. a few hints... appdeploy.com desktopengineer.com autoit.com visualbasicscript.com the scripting guys anyway...if i understand you correctly...it cant be done the way you want to. you cant have firefox.exe write to a logfile each time it is opened. you can however change the firefox shortcut to open a batch file that writes to a log file, launches FF and then quits. try this Code: @echo off cd C:\ echo %DATE% %TIME% %USERNAME% >> firefoxlog.log start firefox let me know if this helps. if you are worried about the user seeing the flashing dos box then i would look at using vbsript or autoit.