EASy Batch Helper
Hier finden Sie ein paar kleine Batch Helper Applikationen die im Laufe der Jahre entstanden sind. Sie wurden hauptsächlich für Windows 2000 und XP entwickelt und dort in hunderten von Paketen ohne Probleme produktiv eingesetzt. Ob sie unter neueren OS, vor allem 64Bit Unicode, noch einwandfrei funktionieren kann nicht garantiert werden! Von daher vorher gut testen...Wenn Sie alle Programme und die Runtime in einer Datei runterladen möchten: AllBatchTools.zip | Grösse: 476.57 KB
Alle Programme benötigen die folgende Runtime DLL vdsrun50.zip | Grösse: 208.27 KB
Direkt Link: EditINI | GetINI | FillDisk | GetCPath | GetFileVer | IsDirEmpty | Reg2Bat | RunHidden | KillTask | WaitTask | Wait
EditINI
Funktion:Ändert Values in INI Files.
Syntax:
Beispiel:
editini.exe setup.iss AskDestPath-0 szPath "%C_PROGFILES%\abac"
Download: EditINI.zip | Grösse: 20.85 KB | Letzte Änderung: 28.06.2010Zum Anfang
GetINI
Funktion:Liest Values aus INI Files und schreibt sie in ein Batch File.
Syntax:
Beispiel:
getini.exe setup.iss AskDestPath-0 szPath
AskDestPath-0.BAT File aus Beispiel:SET szPath=C:\Programme
Download: GetINI.zip | Grösse: 30.58 KB | Letzte Änderung: 28.06.2010Zum Anfang
FillDisk
Funktion:Erstellt eine Dummy Datei auf der HD um sie zu füllen. Zum Beispiel um temporäre Installations Dateien von Lauwerk D: fern zu halten.
Syntax:
Beispiel:
filldisk.exe c:\temp\dummy.tmp 500
Download: FillDisk.zip | Grösse: 23.11 KB | Letzte Änderung: 12.08.2010Zum Anfang
GetCPath
Funktion:Liest den Pfad für System Verzeichnisse aus und generiert die Datei SetCPath.bat mit den aktuellen Pfadangaben (je nach OS und Sprache verschieden). Mit dem Parameter /u aufgerufen, werden noch die entsprechenden Userspezifischen Einträge geschrieben.
WICHTIG: Das Programm muss mit start /wait aufgerufen werden!!!
Syntax:
Beispiel 1:
start /wait getcpath.exe
call Setpath.bat
if exist "%C_DESKTOP%\Adobe Reader 6.0.lnk" del /f /q "%C_DESKTOP%\Adobe Reader 6.0.lnk"
SET C_PROGRAMS=C:\Documents and Settings\All Users\Start Menu\Programs
SET C_DESKTOP=C:\Documents and Settings\All Users\Desktop
SET C_STARTMENU=C:\Documents and Settings\All Users\Start Menu
SET C_APPDATA=C:\Documents and Settings\All Users\Application Data
SET C_STARTUP=C:\Documents and Settings\All Users\Start Menu\Programs\Startup
SET C_PROGFILES=C:\Program Files
start /wait getcpath.exe /u
call Setpath.bat
if exist "%U_PROGRAMS%\PrintMe Internet Printing\*" rd /s /q "%U_PROGRAMS%\PrintMe Internet Printing"
SET C_PROGRAMS=C:\Documents and Settings\All Users\Start Menu\Programs
SET C_DESKTOP=C:\Documents and Settings\All Users\Desktop
SET C_STARTMENU=C:\Documents and Settings\All Users\Start Menu
SET C_APPDATA=C:\Documents and Settings\All Users\Application Data
SET C_STARTUP=C:\Documents and Settings\All Users\Start Menu\Programs\Startup
SET C_PROGFILES=C:\Program Files
SET U_PROGRAMS=%USERPROFILE%\Start Menu\Programs
SET U_DESKTOP=%USERPROFILE%\Desktop
SET U_STARTMENU=%USERPROFILE%\Start Menu
SET U_APPDATA=%USERPROFILE%\Application Data
SET U_STARTUP=%USERPROFILE%\Start Menu\Programs\Startup
Zum Anfang
GetFileVer
Funktion:Liest die FileVersion aus einer Datei aus.
Syntax:
Beispiel:
start /wait GetFileVer WMI "%WINDIR%\system32\WBEM\WinMgmt.exe"
call WMI.BAT
if "%WMI%"=="1.50.1085.0001" goto end
SET WMI=1.50.1085.0100
Download: GetFileVer.zip | Grösse: 21.64 KB | Letzte Änderung: 28.06.2010Zum Anfang
IsDirEmpty
Funktion:Prüft ob ob das Verzeichnis leer ist, wenn ja wird die Datei true.txt erstellt. Für den Fall das das Verzeichnis nicht leer ist bzw. das Verzeichnis nicht existiert wird die Datei false.txt erstellt.
Syntax:
Beispiel:
isdirempty.exe "%C_PROGRAMS%\Dimensions"
if exist false.txt goto end
if exist true.txt rd "%C_PROGRAMS%\Dimensions" /s /q
Zum Anfang
Reg2Bat
Funktion:Liest einen Value aus der Registry aus.
Syntax:
Beispiel:
# Value abfragen
Reg2Bat.exe WCONTROLFIX hlm "SYSTEM\CurrentControlSet\Services\WControl" DependOnService
call WCONTROLFIX.bat
# Falls Value nicht vorhanden gehe zu Reboot1
if "%WCONTROLFIX%"=="Not found" goto Reboot1
SET WCONTROLFIX=Spooler
Download: Reg2Bat.zip | Grösse: 23.25 KB | Letzte Änderung: 28.06.2010Zum Anfang
RunHidden
Funktion:Startet ein Programm im hidden Mode.
Syntax:
Beispiel:
RunHidden.exe "C:\Program Files\Common Files\Roxio Shared\Project Selector\projselector.exe" -r
Download: RunHidden.zip | Grösse: 19.06 KB | Letzte Änderung: 28.06.2010Zum Anfang
KillTask
Funktion:Beendet einen noch aktiven Task.
Syntax:
Beispiel 1:
In diesem Fall wird jeder Install.exe Task beendet!
killtask.exe c:\test\install.exe
oderkilltask.exe install.exe
Beispiel 2:In diesem Fall wird nur der Install.exe Task der aus dem angegebenen Pfad gestartet wurde beendet!
killtask.exe c:\test\install.exe /P
Download: KillTask.zip | Grösse: 20.69 KB | Letzte Änderung: 28.06.2010Zum Anfang
WaitTask
Funktion:Wartet solange bis ein noch laufender Task beendet wurde.
Syntax:
Beispiel:
waittask.exe c:\test\install.exe 5 10
Download: WaitTask.zip | Grösse: 21.21 KB | Letzte Änderung: 28.06.2010Zum Anfang
Wait
Funktion:Wartet die angegebene Zahl an Sekunden.
Syntax:
Beispiel:
wait.exe 10
Download: Wait.zip | Grösse: 32.99 KB | Letzte Änderung: 12.08.2010Zum Anfang
Hinweis: Alle diese Programme werden nicht mehr aktiv weiterentwickelt. Aus diesem Grunde wird auch kein Support mehr geleistet!