I have a need to delete a file called pluginreg.dat that is placed in a randomly named directory by Mozilla. It is located in the following location, where * is the randomly named directory.
Courtesy of BillPrew he helped me accomplish some other tasks within this directory and I would like to build off of his script:
for /D %%A in ("%USERPROFILE%\AppData\Roaming\Mozilla\Firefox\Profiles\*.default") do (
xcopy "\\domain\netlogon\blocklist.xml" "%%~A"
echo user_pref^("extensions.blocklist.url", "127.0.0.1"^); >>"%%~A\prefs.js"
I did try to accomplish this on my own but was not successful by adding this line inside the brackets:
echo del "%%~A\pluginreg.dat"
Any help would be appreciated.