19 lines
471 B
Batchfile
19 lines
471 B
Batchfile
|
:: The purpose of this script is to zip and upload a Firefox profile.
|
||
|
|
||
|
:: Set parameters here
|
||
|
set file_name=profile.zip
|
||
|
set save_path=Y:\path\to\firefox-profile
|
||
|
set sevenz_exe="C:\Program Files\7-Zip\7z.exe"
|
||
|
set firefox_data_path=C:\Users\USER\AppData\Roaming\Mozilla\Firefox\Profiles
|
||
|
set profile_name=profile
|
||
|
|
||
|
:: Main process
|
||
|
|
||
|
:: Remove archive
|
||
|
del %save_path%\%file_name%
|
||
|
|
||
|
:: Save profile
|
||
|
%sevenz_exe% a %save_path%\%file_name% %firefox_data_path%\%profile_name%
|
||
|
|
||
|
exit
|