User:
PolytroX
Wer seine cookies ebenfalls sicher möchte gibt dann folgendes ein:
SICHERN:
:: ---- FFPWSAVE.bat Parameter1 = COOKIES-Sicherungs-Verzeichnis
@for /f \"delims=\" %%i in (\'dir \"%appdata%\\profiles.ini\" /s/b ^2^>nul^|find \"Mozilla\"\') do @(
for /f \"delims==/ tokens=2*\" %%a in (\'type \"%%~dpi\\profiles.ini\"^|find /i \"Path\"\') do @(
Xcopy /y \"%%~dpi%%a\\%%b\\cookies.txt\" %1\\*.* >nul && echo cookies.txt kopiert nach %1\\*.*))
Wieder herstellen:
::---- snipp COOKIES.bat Parameter1 = COOKIES-Sicherungs-Verzeichnis
@for /f \"delims=\" %%i in (\'dir \"%appdata%\\profiles.ini\" /s/b ^2^>nul^|find \"Mozilla\"\') do @(
for /f \"delims==/ tokens=2*\" %%a in (\'type \"%%~dpi\\profiles.ini\"^|find /i \"Path\"\') do @(
Xcopy /y \"%~1\\cookies.txt\" \"%%~dpi%%a\\%%b\\*.*\">nul && echo cookies.txt rueckkopiert nach \"%%~dpi%%a\\%%b\\*.*\"))
Ich hoffe es ist für Euch nützlich! ;)
PolytroX
Wer seine cookies ebenfalls sicher möchte gibt dann folgendes ein:
SICHERN:
:: ---- FFPWSAVE.bat Parameter1 = COOKIES-Sicherungs-Verzeichnis
@for /f \"delims=\" %%i in (\'dir \"%appdata%\\profiles.ini\" /s/b ^2^>nul^|find \"Mozilla\"\') do @(
for /f \"delims==/ tokens=2*\" %%a in (\'type \"%%~dpi\\profiles.ini\"^|find /i \"Path\"\') do @(
Xcopy /y \"%%~dpi%%a\\%%b\\cookies.txt\" %1\\*.* >nul && echo cookies.txt kopiert nach %1\\*.*))
Wieder herstellen:
::---- snipp COOKIES.bat Parameter1 = COOKIES-Sicherungs-Verzeichnis
@for /f \"delims=\" %%i in (\'dir \"%appdata%\\profiles.ini\" /s/b ^2^>nul^|find \"Mozilla\"\') do @(
for /f \"delims==/ tokens=2*\" %%a in (\'type \"%%~dpi\\profiles.ini\"^|find /i \"Path\"\') do @(
Xcopy /y \"%~1\\cookies.txt\" \"%%~dpi%%a\\%%b\\*.*\">nul && echo cookies.txt rueckkopiert nach \"%%~dpi%%a\\%%b\\*.*\"))
Ich hoffe es ist für Euch nützlich! ;)
Fragen / Kommentare zu BATch Datei erstellen - CMD, BAT Befehle in Windows (DOS)