Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Mozilla Firefox file copy

$
0
0

I need to copy a file from a network share to %appdata%\Mozilla\Firefox\Profiles\m3fh72ep.default location.

Since the above location will be different for all the Users, I tried creating File Preference in User Configuration with following as Destination.

%AppDataDir%\Mozilla\Firefox\Profiles\*.default\file.txt

%AppDataDir%\Mozilla\Firefox\Profiles\*\file.txt

However both did not work. I need a script which can read the Path from %appdata%\Mozilla\Firefox\profiles.ini file and then copy a file from network share to this location. Please help.

General]
StartWithLastProfile=1

[Profile0]
Name=default
IsRelative=1
Path=Profiles/m3fh72ep.default

Please help.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>