Miranda IM

Results 1 to 2 of 2

Thread: automatic update script for Miranda32

  1. #1
    Join Date
    October 2007
    Posts
    6

    automatic update script for Miranda32

    Hi,
    This is simple "one click" tool for update miranda32 unicode in WinXP. You must only set program directory on first line. here is more information...

    You can translate it into other languages (google translate gagget).

    chdir /D .\cejvik-update
    c:\programy\batch\wget.exe http://code.google.com/p/miranda/downloads/list -O data.txt
    type data.txt|c:\programy\batch\grep.exe unicode.zip > data1.txt
    del data.txt
    ren data1.txt data.txt
    c:\programy\batch\wget.exe --force-html -c -i data.txt
    for /f "tokens=1-3 delims=." %%a in ('dir *unicode.zip /b') do set ver=%%a_%%b_%%c
    echo S|c:\programy\7-zip\7z.exe x *unicode.zip -o%TEMP%\%ver%
    del *unicode.zip
    del data.txt
    cd ..
    %windir%\system32\taskkill.exe /IM miranda32.exe
    ping localhost -n 5 > nul
    %windir%\system32\taskkill.exe /F /IM miranda32.exe
    for /f %%f in ('dir *.* /b/a:-d') do copy %TEMP%\%ver%\%%f %%f
    cd Plugins
    for /f %%f in ('dir *.* /b/a:-d') do copy %TEMP%\%ver%\Plugins\%%f %%f
    cd ..
    start miranda32.exe
    If you If you like this tool, click and read the advertisements from Google on my page ;-)
    Last edited by cejvik; 15 Dec 2009 at 11:14 AM.

  2. #2
    Join Date
    October 2007
    Posts
    6
    new version because code.google.com update....

    You can download here: http://code.google.com/p/cejvik-tools/

    @echo off
    c:\programy\batch\wget.exe http://code.google.com/p/miranda/downloads/list -O data.txt
    type data.txt|findstr /i unicode.7z 1> data1.txt
    del data.txt
    ren data1.txt data.txt
    type data.txt|findstr /i http://miranda.googlecode.com 1> data1.txt
    del data.txt
    ren data1.txt data.txt
    echo ^> >> data.txt
    C:\programy\batch\wget.exe -c -i data.txt --force-html
    pause
    for /f "tokens=1-3 delims=." %%a in ('dir *unicode.7z /b') do set ver=%%a_%%b_%%c
    echo S|"c:\Program Files\7-Zip\7z.exe" x *unicode.7z -o%TEMP%\%ver%
    del *unicode.7z
    del data.txt
    cd ..
    echo "Ukoncete prosím program Miranda32 a stisknete libovolnou klavesu..."
    pause > nul
    %windir%\system32\taskkill.exe /IM miranda32.exe
    ping localhost -n 5 > nul
    %windir%\system32\taskkill.exe /F /IM miranda32.exe
    for /f %%f in ('dir *.* /b/a:-d') do copy %TEMP%\%ver%\%%f %%f
    cd Plugins
    for /f %%f in ('dir *.* /b/a:-d') do copy %TEMP%\%ver%\Plugins\%%f %%f
    cd ..
    start miranda32.exe

Similar Threads

  1. Miranda-im automatic update
    By sergey321 in forum Feature Requests
    Replies: 75
    Last Post: 2 Dec 2011, 7:26 PM
  2. How to use Automatic Configuration Script
    By larry in forum Technical Support
    Replies: 12
    Last Post: 28 Apr 2011, 6:30 AM
  3. Automatic configuration script
    By Sir.Carmn in forum Feature Requests
    Replies: 2
    Last Post: 20 Jul 2007, 7:42 AM
  4. Automatic Update Feature
    By MasterTorr in forum General Discussion
    Replies: 1
    Last Post: 13 Apr 2007, 11:06 PM
  5. Mbot script request
    By TommieV in forum Customisation
    Replies: 6
    Last Post: 13 May 2006, 7:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •