Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Move file out of unknown subfolder(s)  (Read 1929 times)

0 Members and 1 Guest are viewing this topic.

Blackberry

    Topic Starter


    Adviser
  • For those with wings, fly to your dreams.
    Move file out of unknown subfolder(s)
    « 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
    « Last Edit: August 01, 2009, 07:01:28 AM by Blackberry »
    Everybody knows you can't click here. But I know you will try it :)

    Salmon Trout



      Genius

      Thanked: 759
      • Yes
    • Computer: Specs
    • Experience: Experienced
    • OS: Windows 7
    Re: Move file out of unknown subfolder(s)
    « Reply #1 on: August 01, 2009, 02:24:49 PM »
    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?

    This week I am mostly worshipping Zeus.

    chobbes



      Newbie

      Re: Move file out of unknown subfolder(s)
      « Reply #2 on: August 11, 2009, 06:17:06 AM »
      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!

      billrich

      • Guest
      Re: Move file out of unknown subfolder(s)
      « Reply #3 on: August 16, 2009, 05:53:16 AM »
      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

      billrich

      • Guest
      Re: Move file out of unknown subfolder(s)
      « Reply #4 on: August 16, 2009, 06:34:57 AM »
      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 )

      chobbes



        Newbie

        Re: Move file out of unknown subfolder(s)
        « Reply #5 on: August 16, 2009, 07:08:40 AM »
        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!

        billrich

        • Guest
        Re: Move file out of unknown subfolder(s)
        « Reply #6 on: August 16, 2009, 11:03:35 AM »
        Quote
        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.

        patio

        • Moderator


        • Guru
        • Maud' Dib
        • Thanked: 1405
          • Yes
        • Experience: Beginner
        • OS: Windows 7
        Re: Move file out of unknown subfolder(s)
        « Reply #7 on: August 16, 2009, 01:14:56 PM »
        I'd just use MozBack to backup a Firefox/TBird profile myself...
           
        "
        All generalizations are false, including this one.  "

        billrich

        • Guest
        Re: Move file out of unknown subfolder(s)
        « Reply #8 on: August 16, 2009, 01:16:04 PM »


         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>