Re: Back up a profile
NoBrainsIncluded <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.windows |
|---|---|
| Message-ID | <[email protected]> |
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