Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.
Computer Hope forum e-mail issues and down time
0 Members and 1 Guest are viewing this topic.
My question. How do i get the link to automatically detect the drive that the firefox is on and subsequently, the file i want
Maybe I'm still missing the point but, as I see it, you simply need to replace %drive% with the actual drive letter. For example: C:\
@echo user_pref("browser.startup.homepage", "file:///%~d0/PortableApps/FirefoxPortable/homepage.html"); >> Data\profile\prefs.js & start "" "FirefoxPortable.exe"
The point is that a USB flash drive is a removable drive and therefore does not have a predictable drive letter.I think the OP wishes to have the portable Firefox use a homepage stored on the same flash disk.