--
[ Picked text/plain from multipart/alternative ]
hello Dan, thanks for your reply.
the changelevel bug is on listening servers.

here is what I've got in a batch script.
@echo off
setlocal enabledelayedexpansion
if exist filenames.txt del filenames.txt
for %%x in (*.bsp) do echo %%x >>filenames.txt
for /f "tokens=* delims=" %%a in (filenames.txt) do (
set txtline=%%a
set txtline=!txtline:.bsp=!
echo !txtline!>>tmp.txt)
del filenames.txt & ren tmp.txt filenames.txt
endlocal

reads file names from a directory into a text file strips off the file name
extension.
I don't know how to compare the file names or do sub string manipulation.
maybe it cannot be done in a batch script.
anyone have vbscript experience?
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to