EtreeWiki | RecentChanges | Preferences
EtreeWikiGoals | AboutThisSite | EditingTips

 
xpbatch
Working with shn files. They can be a pain in the arse if you don’t use that mkw toolkit thing. So you can do it this way! I’ve tailored this entire thing for Windows XP Pro.

Make a directory
C:\Program Files\shn. This way we'll keep all our stuff in the same place, and it will just be easier to work with in the future.

Install the Latest shorten.exe
http://etree.org/shnutils/shorten/
The readme says to put the files into your %path or something like that, but just put them in C:\Program Files\shn

Install md5summer.exe
http://www.etree.org/md5com.html, or directly [here]
put that in the C:\Program Files\shn

We're going to be making a bunch of .bat files, so eventually your C:\Program Files\shn will look like mine.
image001.gif

All of these batch files you can put them

shn>wav

unshorten_ctemp.bat, associate with .shn's
cls
for %%f in (*.shn) do "C:\Program Files\shn\shorten.exe" -x "%%f" "c:\temp\%%f.wav"
pause

wav>shn

create a file in c:\program files\shn called “shorten.bat”. Paste the following text into the file
cls
for %%f in (*.wav) do "C:\Program Files\shn\shorten.exe" "%%f"
pause
This one will have to be associated with .wav files, the instructions should be basically the same as below though.

making seek tables

create a file in c:\program files\shn called “makeskt.bat”. Paste the following text into the file
cls
for %%f in (*.md5) do "C:\Program Files\shn\md5sum.exe" -s "%%f"
pause

verify shn files

create a file in c:\program files\shn called “verify.bat”. Paste the following text into the file
cls
for %%f in (*.md5) do "c:\Program Files\shn\md5sum.exe" --check "%%f"
pause
This is one of those files that also needs to be associated with .md5 files

verify shn files to results.txt

create a file in c:\program files\shn called “verifytoresults.bat”. Paste the following text into the file

This Page Last Changed: Apr 17, 2004 00:24:47
Edit this page · View page history

All content written by members of the etree.org community, for the etree.org community.
© 1998-2017, All Rights Reserved.