Kommentare: BATch Datei erstellen - CMD, BAT Befehle in Windows (DOS)

Preview BATch Datei erstellen - CMD, BAT Befehle in Windows (DOS)

Fragen / Kommentare zu BATch Datei erstellen - CMD, BAT Befehle in Windows (DOS)

neueste zuerst

anonym
User:
nobody

do you now how to make remote unterstützung ??ßß

anonym
User:
sven

wenn sich jemand mit dem schiebn auf ein ftp auskennt bitte benachrichtigen mfg sven icq 197-620-495

anonym
User:
duffini

Also Bert meinen namen schreibt man klein OK. Also duffini. So nun zu dir du kriegst die eingabforderung net auf ist doh ganz ienfach. Also start\ausführen\cmd oder command.com je nach dem. Sollte gehen.

anonym
User:
toll

ick krieg die eingabeaufforderung nit auf

anonym
User:
Bommel

Hallo,

weiß jemand den Befehl für "Pause" bei
dem Media Player, da ich diesen Befehl einer Taste
meiner HP Tastatur zuordnen möchte!

vielen Dank und MFG
Bommel

anonym
User:
Bert

@Duffini
Um den Prozess aufzuschreiben, musst nicht extra in Taskmanager rein,
gib einfach
tasklist.exe in die console ein und alle Prozesse werden ins command-fenster gelistet.
dann kannst einfach per past und copy den prozess beenden

anonym
User:
Konstantinos

Hallo Zusamen,
wie kann ich eine mit .bat Erstellte rar Datei Brennen und zwar mit ein Externe DVD Brenner?
Die Gesicherte Datei ist unter C:\Backup
Externe DVD Brenner Lauwerk Buchstabe E

Danke im Voraus.
Konstantinos

anonym
User:
ttimo

hab mal ne frage wie kann ich ein Programm schließen

anonym
User:
southbam

start->ausführen->cmd->shutdown/?
da stehen alle Befehle

anonym
User:
PolytroX

@echo off
color 0E
:: ---- FFSaveBookmarks.bat Parameter1 = Bookmark-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\bookmarks.html" %1\*.* >nul && echo Bookmarks.html kopiert nach %1\*.*))
:: ---- 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\*.*))
echo.
echo.
echo *******************************************************
echo * WENN GEFRAGT WIRD,OB DIE DATEIEN UEBERSCHRIEBEN *
echo * WERDEN SOLL, AUF "J" FUER JA KLICKEN. DANN WIRD DAS *
echo * AKTUELLE PROFIL GESICHERT UND KANN WIEDER *
echo * HERGESTELLT WERDEN. DIESE ABFRAGE KOMMT, WENN MAN *
echo * DIE INSTALLATION ZUM ZWEITEN MAL DURCHFUEHRT. *
echo *-----------------------------------------------------*
echo * WENN GEFRAGT WIRD, OB DAS ZIEL C:\WINDOWS\Firefox- *
echo * Backup\Save EINE DATEI ODER EIN VERZEICHNIS IST, *
echo * BITTE DAS "V" FUER VERZEICHNIS WAEHLEN !! *
echo *******************************************************
Rem test
wait 5 key
color 0E
echo.
echo.
echo.
xcopy ** "C:\WINDOWS\FirefoxBackup"/E/I/Y/exclude:nocopy0.txt
xcopy "C:\Dokumente und Einstellungen\%USERNAME%\Anwendungsdaten\Mozilla\Firefox\profiles.ini" "C:\WINDOWS\FirefoxBackup" /Y /E /I/exclude:nocopy0.txt
echo.
echo.
echo.
echo *******************************************************
echo * HINWEIS: Die profiles.ini kann nur gesichert werden,*
echo * wenn Firefox zuvor installiert war oder ist. Das *
echo * Sichern ist sonst auch nicht notwendig, da kein *
echo * Benutzerprofil besteht. *
echo *******************************************************
echo.
echo.
echo *******************************************************
echo * ES WIRD NUN EVIL-FOX 2.0 INSTALLIERT !! BITTE *
echo * INSTALLIEREN SIE EVIL-FOX 2.0 IM STANDART *
echo * Verzeichnis C:/PROGRAMME *
echo *******************************************************
echo.
start "EvilFox" /D".\EvilFox" /MIN /WAIT "Firefox Setup 2.0.exe"
echo ... finished ...
echo.
echo.
echo.
taskkill /f /im Firefox.exe /t
echo.
echo.
echo.
echo *******************************************************
echo * DAS EVIL-FOX 2.0 PROFIL WIRD NUN Installiert *
echo *******************************************************
echo.
Rem test
wait 3 key
start "InternerZugriff" /D".\InternerZugriff" /MIN /WAIT "Extensions.bat"
echo ... finished ...
echo.
echo.
echo ******************************************************
echo * DAS EVIL-FOX 2.0 PROFIL WIRD NUN REGISTRIERT. *
echo ******************************************************
echo.
echo.
start "Profiler" /D".\Profiler" /MIN /WAIT "Extensions.bat"
echo ... finished ...
echo.
echo.
@echo off
::---- snipp FFRestBookmarks.bat Parameter1 = Bookmark-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\bookmarks.html" "%%~dpi%%a\%%b\*.*">nul && echo Bookmarks.html rueckkopiert nach "%%~dpi%%a\%%b\*.*"))
::---- 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\*.*"))
echo.
echo *******************************************************
echo * HERZLICHEN GLUECKWUNSCH!! EVIL-FOX 2.0 WURDE *
echo * VOLLSTAENDIG INSTALLIERT UND DAS ALTE PROFIL *
echo * AUTOMATISCH GESICHERT. *
echo *******************************************************
echo.
echo *******************************************************
echo * © by PolytroX *
echo * mail: polytrox@congster.de *
echo *******************************************************
Rem test
wait 8 key

anonym
User:
PolytroX

Mist, es wurde nur ein BRuchteil des Codes hier übernommen :(

anonym
User:
PolytroX

Die folgrnde Batch Datei installiert meinen selbst entwickelten Evil-Fox 2.0

Dieses Batch Script sichert die bookmarks, cookies und die profile.ini. Danach wird Firefox 2.0 installiert und das Evil-Fox 2.0 Profil angelegt. Danach die modifizierte profile.ini wieder zurück geschrieben und die cookies, bookmarks ins Evil-Fox 2.0 Prolil geschoben.

Hier mal der Batch Code für den Installer, falls es Jemanden interessieren sollte.

::---- 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\*.*"))