PDA

View Full Version : Firefox on data/memory stick?


keith.evans
August 10th, 2004, 04:06 PM
Hi guys,

I've been trying to copy firefox on to my data stick so when I go a travelling I've got my fav browser with me. These are the instructions I got and have followed them umpteen times but still can't get it to work.

Run Firefox from removable media

This advanced tip makes it possible to run Firefox from removable media, such as a USB memory stick. This will allow you to run Firefox with your personal settings from any computer, even those that don't have Firefox installed. It has only been tested on Windows XP/2000. The basic instructions are as follows:

1. Copy the Firefox application folder and your profile folder to the removable medium. In this example we will use R:\Firefox for the application folder and R:\FFProfile as the profile folder, assuming the drive letter for the removable media is R:.

2. Create a simple batch file called R:\Firefox.bat with the following line:

start \Firefox\firefox.exe -profile \FFProfile

3. Optionally, disable the disk cache to reduce the amounts of file writes to the removable storage by entering about:config in the address field of Firefox and set browser.cache.disk.enable to false.

The reason why a batch file is needed instead of a simple shortcut is that a shortcut uses absolute paths, and since the actual drive letter for the removable media may change depending on which computer it is plugged into, the relative path used in the batch file is guaranteed to work anywhere.


I must be doing something wrong??!!

degsy
August 10th, 2004, 04:22 PM
What bit are you getting stuck on?

keith.evans
August 10th, 2004, 04:35 PM
I don't know Degs basically cos I followed those instructions. Tell you what I did.

Copied the ff app icon into E from c:\pfiles\firefox
Copied profile folder into E from c:\pfiles\firefox\defaults
renamed profile in E > ffprofile
then start>run> edit firefox.bat then typed in the line as per inst's above and saved batch file as E:\firefox.bat
double click .bat file and it says cannot find file???

:dizzy:

degsy
August 10th, 2004, 04:53 PM
Copied the ff app icon into E from c:\pfiles\firefox
So on your memory stick you have you created a folder called
firefox?

Then copy the Profile folder into it.

So you now have

- Firefox
-- firefox.exe
-- Profile

Now open Notepad and type

start \Firefox\firefox.exe -profile \Profile

Save this to the Root of the drive

keith.evans
August 10th, 2004, 05:13 PM
OK Degs, did all that, how do I get the notepad file to run like a batch file?

degsy
August 10th, 2004, 05:35 PM
Sorry, forgot to add that.

Open Notepad,
add the line then goto
Save As,
choose All Files from the dropdown and filename as firefox.bat

keith.evans
August 10th, 2004, 05:48 PM
Cheers Degs, I'll give it a go later, got to rush off somewhere.

Cheers.

thebig429
September 11th, 2005, 02:25 AM
http://fileforum.betanews.com/detail/Portable_Firefox/1100800989/1

keith.evans
September 11th, 2005, 02:36 AM
Thanks for the reply thebig429.

I managed to sort it out shortly after I started this thread a year ago though! :eek: