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.