You are here

Rerouting system paths

5 posts / 0 new
Last post
dantmusicman
Offline
Last seen: 15 years 7 months ago
Joined: 2007-02-22 10:17
Rerouting system paths

Hello, I have been following PortableApps.com for a while, and decide to try to portablize a few apps for myself.

The one program that I am trying to portablize writes to a few system folders on install, for example, the Fonts folder. I'm trying to figure out how to handle this, i.e., can I reroute the path in the launcher, or do I have to make it temporarily install the files, and then delete them upon exit. Or maybe there is a third option?

Thanks in advance for your help.

EspaÑaks (not verified)
Before i finded

Before i finded portableapps.com, all the portables i used were configured to extract all their data in the temp directory (as they were 7zip sfx configured files) & some in its original program files folder, & then most deleted the files. you could try to emulate something like that (unless you use the portableapps.com installer, & I'm sure you do), but that isn't portable as all, ¿is it? (& anyway, they didnt save your configurations...)

digitxp
digitxp's picture
Offline
Last seen: 13 years 3 months ago
Joined: 2007-11-03 18:33
Rerouting...

Hm...
You'll need to know which Enviroment Variable it accesses to get the path.
Could you tell us the path of the fonts folder?

Insert original signature here with Greasemonkey Script.

dantmusicman
Offline
Last seen: 15 years 7 months ago
Joined: 2007-02-22 10:17
The Path is...

The path to the Fonts folder is C:\Windows\Fonts

digitxp
digitxp's picture
Offline
Last seen: 13 years 3 months ago
Joined: 2007-11-03 18:33
So...

It's either:

  • %HOMEDRIVE%\Windows\Fonts
  • %PATH%
  • %WINDIR%\Fonts (most likely)
  • C:\Windows\Fonts

Try them all.

Insert original signature here with Greasemonkey Script.

Log in or register to post comments