Computer Hope
Microsoft => Microsoft DOS => Topic started by: Blackberry on August 01, 2009, 03:11:18 AM
-
Hi there,
I want to backup my firefox profiles and with xcopy I can copy all the files, but the problem is the map structure is copied too. Now I want that all files from the profilesxxx folders are moved into one folder. The problem is: the xxx in profilesxxx is a random string so I can't just say "move profilesxxx onefolder"
Any ideas??
Tnx in forward
-
Please describe how your Firefox profile folders are arranged. The default is one folder for each user called
%APPDATA%\Mozilla\Firefox\Profiles\xxxxxxxx.default\
where %APPDATA% translates to the following
Vista: C:\Users\<username>\AppData\Roaming\
XP, 2000: C:\Documents and Settings\<username>\Application Data\
In this folder you will find one or more folders with names like
nlqmgqma.default
p0js9db5.default
Are your profile folders set out like this?
-
Hi Salmon,
I have a similar problem, so I'm posting here, too.
We are working on XP, so our Mozilla profiles are in C:\Documents...\...\Profiles\xxxxxxx.default\.
We need to copy a certain file into that folder (for all users, on all machines), but I do not have a clue how to do that with DOS.
Any idea?
Thanks in advance!
-
use wildcard.
copy *.default C:\Documents...\...\Profiles\
http://www.easydos.com/copy.html
"You can also combine files by using wildcard characters (? and *). To copy all files with a .DOC filename extension on drive C to a new file ALLDOCS on drive B, enter"
copy c:*.doc b:alldocs
-
C:\Documents and Settings\Bill Richardson\Local Settings\Application Data\Mozilla\Firefox\Profiles>
05/09/2009 07:11 AM <DIR> .
05/09/2009 07:11 AM <DIR> ..
08/15/2009 10:18 PM <DIR> wphrcj55.default
0 File(s) 0 bytes
3 Dir(s) 307,326,705,664 bytes free
copy *.default D:\
( use copy instead of move until you know it works )
-
Hi Bill,
thanks for your input, but I think we are talking about different things (maybe my explanation was poor...).
1. When Firefox is installed and started, the folder C:\Documents...\...\Profiles\xxxxxxx.default\ is created. This is the status of our machines which we cannot change...
2. One certain File shall be copied in a subdirectory of the xxxxx.default folder (or: into the xxxx.default folder on every machine).
3. I think the problem with copying inside DOS comes up only when I want to use a wildcard in the destination folder, not the source (and, especially, FOLDER).
Any more ideas?
Thanks a lot!
-
chobbes wrote:
"I think the problem with copying inside DOS comes up only when I want to use a wildcard in the destination folder, not the source (and, especially, FOLDER)."
[/color]
I have never used a wildcard as part of the destination folder or destination path.
There might be more restrictions with xcopy than copy?
Play with both copy and xcopy until they do what you need.
-
I'd just use MozBack to backup a Firefox/TBird profile myself...
-
Directory of C:\Documents and Settings\Bill Richardson\Local Settings\Application Data\Mozilla\Firefox\Profiles
05/09/2009 07:11 AM <DIR> .
05/09/2009 07:11 AM <DIR> ..
08/15/2009 10:18 PM <DIR> wphrcj55.default
0 File(s) 0 bytes
3 Dir(s) 307,320,496,128 bytes free
C:\Documents and Settings\Bill Richardson\Local Settings\Application Data\Mozill
a\Firefox\Profiles>cd wphrcj55.default
C:\Documents and Settings\Bill Richardson\Local Settings\Application Data\Mozilla\Firefox\Profiles\wphrcj55.default>dir
Volume in drive C is OS
Volume Serial Number is F4A3-D6B3
Directory of C:\Documents and Settings\Bill Richardson\Local Settings\Application Data\Mozilla\Firefox\Profiles\wphrcj55.default
08/15/2009 10:18 PM <DIR> .
08/15/2009 10:18 PM <DIR> ..
08/15/2009 10:18 PM <DIR> Cache
05/23/2009 12:59 PM <DIR> Cache(2)
08/11/2009 09:01 PM <DIR> OfflineCache
08/15/2009 10:18 PM 38,076,416 urlclassifier3.sqlite
08/11/2009 09:53 AM 2,260,858 XPC.mfl
08/15/2009 11:11 AM 1,018,170 XUL.mfl
3 File(s) 41,355,444 bytes
5 Dir(s) 307,320,471,552 bytes free
C:\Documents and Settings\Bill Richardson\Local Settings\Application Data\Mozill
a\Firefox\Profiles\wphrcj55.default>copy * C:\wphrcj55.default\
urlclassifier3.sqlite
XPC.mfl
XUL.mfl
3 file(s) copied.
C:\Documents and Settings\Bill Richardson\Local Settings\Application Data\Mozilla\Firefox\Profiles\wphrcj55.default>