Re: Back up a profile

Tony Mechelynck <[email protected]> Fri, 20 May 2005 12:51:04 +0200
Newsgroups gmane.comp.mozilla.devel.windows
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
NoBrainsIncluded wrote:
> Tim Roberts schreef:
> 
>> Tony Mechelynck wrote:
>>
>>>
>>> Note: Instead of "%USERPROFILE%\Application Data" you can use
>>> "%APPDATA%". Easier to type and IIUC more general (some systems like W98
>>> may have no %USERPROFILE% but %APPDATA% defined, possibly as
>>> "C:\WINDOWS\Application Data"
>>
>>
>>
>> I couldn't find a Win98 machine to prove it, but I don't think Win98
>> defines the %APPDATA% variable at all.  There IS an "Application Data"
>> folder, but there is no environment variable pointing to it.
>>
>> Win98 defines practically nothing that isn't explicitly set in
>> autoexec.bat or config.sys.
> 
> 
> Well,
> First of all, I forgot to mention I'm running win2k.
> 
> The solution to non-existant variables is easy.
> As you can see from the file, I use variables for almost anything that
> would take lots of keystrokes;-) Find out the path to %APPDATA% and add
> the variable with the SET command.
> The only thing I'm still looking for is a way to take the \default.xxx
> directory, no mather what the extension looks like. default.* or .???
> doesn't seem to work. I know, I might be able to use regular expressions
>  but let's say I use them on a not so regular basis;-)
> 
> NBI

In my Fx and TB profiles, it's not default.xxx but xxxxxxxx.default

There may be other profiles, and the one currently selected at startup
is not necessarily the *.default one.


Best regards,
Tony.