Jump to content

GoFrag

Member
  • Posts

    23
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Kuwait

Posts posted by GoFrag

  1. To easily expand the Libary use this code:

    START

    @ECHO OFF

    md c:\updatelog

    DIR /B %SYSTEMDRIVE%\install\hotfixes\win\1\>>%SYSTEMDRIVE%\install\hotfixes\win1.txt

    DIR /B %SYSTEMDRIVE%\install\hotfixes\win\2\>>%SYSTEMDRIVE%\install\hotfixes\win2.txt

    DIR /B %SYSTEMDRIVE%\install\hotfixes\win\3\>>%SYSTEMDRIVE%\install\hotfixes\win3.txt

    DIR /B %SYSTEMDRIVE%\install\hotfixes\IE\>>%SYSTEMDRIVE%\install\hotfixes\ie.txt

    FOR /f %%i IN (%SYSTEMDRIVE%\install\hotfixes\win1.txt) DO ECHO %SYSTEMDRIVE%\install\hotfixes\%%i -u -q -z>>%SYSTEMDRIVE%\install\hotfixes\hotfixrun.bat

    FOR /f %%i IN (%SYSTEMDRIVE%\install\hotfixes\win2.txt) DO ECHO %SYSTEMDRIVE%\install\hotfixes\%%i /q:a /r:n>>%SYSTEMDRIVE%\install\hotfixes\hotfixrun.bat

    FOR /f %%i IN (%SYSTEMDRIVE%\install\hotfixes\win3.txt) DO ECHO %SYSTEMDRIVE%\install\hotfixes\%%i /C:"dahotfix.exe /q /n" /q>>%SYSTEMDRIVE%\install\hotfixes\hotfixrun.bat

    FOR /f %%i IN (%SYSTEMDRIVE%\install\hotfixes\ie.txt) DO ECHO %SYSTEMDRIVE%\install\hotfixes\%%i /q:a /r:n>>%SYSTEMDRIVE%\install\hotfixes\hotfixrun.bat

    Move %SYSTEMDRIVE%\install\Hotfixes\win\1\*.* %SYSTEMDRIVE%\install\hotfixes

    Move %SYSTEMDRIVE%\install\Hotfixes\win\2\*.* %SYSTEMDRIVE%\install\hotfixes

    Move %SYSTEMDRIVE%\install\Hotfixes\win\3\*.* %SYSTEMDRIVE%\install\hotfixes

    Move %SYSTEMDRIVE%\install\Hotfixes\ie\*.* %SYSTEMDRIVE%\install\hotfixes

    Echo.

    Echo Installiere Windows XP und Internet Explorer 6 SP1 Hotfixes

    Echo Dieses kann bis zu einer Stunde dauern!

    Echo bitte warten!

    Echo.

    ECHO qchain.exe>>%SYSTEMDRIVE%\install\hotfixes\hotfixrun.bat

    %SYSTEMDRIVE%\install\hotfixes\hotfixrun.bat

    exit

  2. Hello Mdes,

    Thanks for your Help!

    Also:

    I have no Idee how this work, bud i will do what you say....

    Also Date /T is not accepted

    The Second: under Winxp: %i can not be used at this point (Translated from Didaktisch).

    and under Win98SE stops the Prozess so I must break up...

    the CRLF.txt file i have created empty

    What i do wrong?

    cu

    GoFrag

  3. And this is the Result:

    ==============================================

    @echo off

    set x=%date%

    set yy=%x:~8,2%

    set mm=%x:~3,2%

    set dd=%x:~0,2%

    set CURRENTDATE=%yy%%mm%%dd%

    If exist l:\DCIM\100MLT32 set Kamera=l:\DCIM\100MLT32

    If exist k:\DCIM\100MLT32 set Kamera=k:\DCIM\100MLT32

    If exist j:\DCIM\100MLT32 set Kamera=j:\DCIM\100MLT32

    If exist i:\DCIM\100MLT32 set Kamera=i:\DCIM\100MLT32

    If exist h:\DCIM\100MLT32 set Kamera=h:\DCIM\100MLT32

    If exist g:\DCIM\100MLT32 set Kamera=g:\DCIM\100MLT32

    If exist f:\DCIM\100MLT32 set Kamera=f:\DCIM\100MLT32

    If exist e:\DCIM\100MLT32 set Kamera=e:\DCIM\100MLT32

    If exist d:\DCIM\100MLT32 set Kamera=d:\DCIM\100MLT32

    Set Ladung=L1

    IF exist d:\eigene~1\bilder\%CURRENTDATE%\L1 set ladung=L2

    IF exist d:\eigene~1\bilder\%CURRENTDATE%\L2 set ladung=L3

    IF exist d:\eigene~1\bilder\%CURRENTDATE%\L3 set ladung=L4

    IF exist d:\eigene~1\bilder\%CURRENTDATE%\L4 set ladung=L5

    IF exist d:\eigene~1\bilder\%CURRENTDATE%\L5 set ladung=L6

    IF exist d:\eigene~1\bilder\%CURRENTDATE%\L6 set ladung=L7

    IF exist d:\eigene~1\bilder\%CURRENTDATE%\L7 set ladung=L8

    IF exist d:\eigene~1\bilder\%CURRENTDATE%\L8 set ladung=L9

    IF exist d:\eigene~1\bilder\%CURRENTDATE%\L9 set ladung=L10

    d:

    cd\eigene~1\bilder

    md %yy%%mm%%dd%

    xcopy %Kamera%\*.jpg d:\eigene~1\bilder\%CURRENTDATE%\%ladung% /V /C /I /F

    DEL %KAMERA%\*.* /F /S /Q

    exit

    ==================================================

    Thanks for Help!

    cu

    GoFrag

  4. This thread i have found...

    bud I will make a folder in the Format yymmdd not dd.mm.yyyy

    so windows will not correctly sort the folders...

    And make this folder to a Variable

    So i can use the Following command:

    xcopy32 h:\dcim\e345\*.* d:\eigene dateien\bilder\%Currentday%

    what i will is that the Foldersname will correctly sortet:

    040409

    040410

    040411

    040509

    050409

    Can anyone help me..?

    Thanks for your helps

    cu

    Gofrag

    Sorry about my bad english...

  5. hi!

    I have an question to this script...

    How i change this script from add Q:A R:N to end to add Start /wait at the Start of the Line?

    This is useful to me, there i would be change the Installation CD´s for many types of computers and the Setup Programms in this Forum do not work for me, there i have partly an Installation over 3 - 9 CD´s and so i could simply add or remove the install Folders and the Batch files in the root Install Folder.

    Thanks for Replys

    GoFrag

  6. hi!

    I have have the second Script modified to run.

    I had several Error Messages that can not be found any File.

    And a Error Message for the Q823718 Hotfix.

    This is a perfect Script to add new Hotfixes to them...

    to:

    START

    @ECHO OFF

    DIR /B %systemdrive%\install\hotfixes\win\1\>>%systemdrive%\install\hotfixes\win1.txt

    DIR /B %systemdrive%\install\hotfixes\win\2\>>%systemdrive%\install\hotfixes\win2.txt

    DIR /B %systemdrive%\install\hotfixes\win\3\>>%systemdrive%\install\hotfixes\win3.txt

    DIR /B %systemdrive%\install\hotfixes\IE\>>%systemdrive%\install\hotfixes\ie.txt

    FOR /f %%i IN (%systemdrive%\install\hotfixes\win1.txt) DO ECHO %%i -u -q -z>>hotfixrun.bat

    FOR /f %%i IN (%systemdrive%\install\hotfixes\win2.txt) DO ECHO %%i q:a r:n>>hotfixrun.bat

    FOR /f %%i IN (%systemdrive%\install\hotfixes\win3.txt) DO ECHO %%i /C:"dahotfix.exe /q /n" /q>>hotfixrun.bat

    FOR /f %%i IN (%systemdrive%\install\hotfixes\ie.txt) DO ECHO %%i q:a r:n>>hotfixrun.bat

    Move %systemdrive%\install\Hotfixes\win\1\*.* %systemdrive%\install\hotfixes

    Move %systemdrive%\install\Hotfixes\win\2\*.* %systemdrive%\install\hotfixes

    Move %systemdrive%\install\Hotfixes\win\3\*.* %systemdrive%\install\hotfixes

    Move %systemdrive%\install\Hotfixes\ie\*.* %systemdrive%\install\hotfixes

    ECHO qchain.exe>>hotfixrun.bat

    hotfixrun.bat

    RD /S/Q c:\hotfixes

    END

    Gofrag

    Sorry about my bad english

×
×
  • Create New...