View Single Post
Old Nov 15th, 2007, 7:06 PM   #5
ineedofhelp
Newbie
 
Join Date: Nov 2007
Posts: 4
Rep Power: 0 ineedofhelp is on a distinguished road
Re: I have tried.. but I just can't get this

ok I got it working using...


:BROWSE
Echo %1 will be searched...
echo.
for %%i in (.\Movie_List\List.txt) do findstr /b /i /c:"%1" %%i >> moviesfound.txt
if not errorlevel=1 (type moviesfound.txt) else echo There are no movies that start with letter '%1'
del moviesfound.txt
goto :begin



I don't know how u guys do this programming/scripting. It's rocket science to me. I hope I never need to do another one of these.
ineedofhelp is offline   Reply With Quote