batch file to find first directory in relative path and add file

Can someone help me with a bat file to do the following.

Firefox makes randomized default profile directories in app data.
I need to add a certificate file to that directory on over 120 computers.

The path is something like this:"c:documents and settingsmanagerapplication dataMozillaprofiles"
then it will be like tz3456d.default
and so forth

I need to run a bat to find that directory and copy a certificate.txt file into that directory.
Thanks!
-tony-



Is there more than 1 tz?????.default folder in the app folder at any time? If so, how to know which to put cert in?



Is there more than 1 tz?????.default folder in the app folder at any time? If so, how to know which to put cert in?



Since this is part of a user profile, you should roll that out using a logon script.
This will copy the certificate into all profile folders for the user:



thank you so much





Share this

Related Posts

There was an error in this gadget