Jump to content

woofer030

Member
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Germany

Posts posted by woofer030

  1. Hi, I have create a Batch-File for this!

    1. Install all Firefox Addon´s

    2. Make all Settings in Firefox perfekt.

    3. Make a backup with my Batch. Its Make a selfextracted File


    @echo off
    Set FFRUN=NO

    REM Hier den Pfad ändern, wohin dass Backup gesichert werden soll
    Set ZIEL=D:\

    %HOMEDRIVE%
    cd \
    For /F "Tokens=1,*" %%i IN ('tasklist^|find /I "firefox.exe"') DO Set FFRUN=YES
    If %FFRUN%==YES (Goto Kill) Else Goto Backup

    :Kill
    Echo Firefox wird geschlossen...
    %windir%\System32\taskkill.exe /im firefox.exe /F >nul



    :Backup
    echo Path=%%Appdata%%> %temp%\rar.txt
    echo SavePath >> %temp%\rar.txt
    echo Overwrite=1 >> %temp%\rar.txt
    echo silent=2 >> %temp%\rar.txt
    echo Presetup=%%windir%%\System32\taskkill.exe ^/im ^firefox.exe ^/F >> %temp%\rar.txt

    Echo Backup wird erstellt...
    Echo %ZIEL%\Firefox_Wiederherstellen_%Date%.exe
    del %ZIEL%Firefox_Wiederherstellen_%date%.exe
    c:\programme\Winrar\winrar.exe a -y -ep1 -sfx -z%TEMP%\rar.txt %ZIEL%Firefox_Wiederherstellen_%date%.exe "%APPdata%\Mozilla"
    rem c:\programme\Winrar\rar.exe c -z%TEMP%\rar.txt %ZIEL%Firefox_Wiederherstellen_%date%.rar
    del %TEMP%\rar.txt
    echo Fertig
    pause

    have Fun

×
×
  • Create New...