blog.world3.net

Miranda IM automatic update script

Found a useful script to auto-update Miranda IM. They really should create an update system for it. I modified the script to work on my system and with newer releases in 7zip format.

chdir /D update
c:\portable\gnu\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
c:\portable\gnu\wget.exe --force-html -c -i data.txt
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 ..
%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

This entry was written by mojo, posted on 28/08/2010 at 18:45, filed under Internet, software, windows. Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.
« Interesting article and debate on DNA identification probabilities
Google does not check Street View removal requests »

Post a Comment

Your email is never shared. Required fields are marked *

*
*

たとえ溺れても梦はゆめでしかない
  •  

    August 2010
    M T W T F S S
    « Jul   Nov »
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    3031  
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
  • Categories

    • audio (1)
    • avr (20)
    • BBC (1)
    • electronics (29)
    • genius (4)
    • hardware (22)
    • idiots (39)
    • Internet (21)
    • law (20)
    • microcontrollers (12)
    • networking (17)
    • politics (29)
    • privacy (19)
    • Retro Adapter (5)
    • security (17)
    • software (32)
    • Uncategorized (18)
    • windows (25)
  • Archives

    • February 2012
    • January 2012
    • December 2011
    • November 2011
    • October 2011
    • September 2011
    • July 2011
    • June 2011
    • May 2011
    • March 2011
    • January 2011
    • December 2010
    • November 2010
    • August 2010
    • July 2010
    • June 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • November 2005
  • Links:

    Main site: world3.net

    Electronics: denki.world3.net

WordPress | Sandbox