Forum: Bash / Shell Scripting
Nov 15th, 2007, 7:06 PM
|
|
Replies: 4
Views: 530
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)...
|
Forum: Bash / Shell Scripting
Nov 15th, 2007, 4:06 PM
|
|
Replies: 4
Views: 530
Re: I have tried.. but I just can't get this
:BROWSE
set /P lettervar="Enter the First Letter of Movie "
for %lettervar% in (A:\Movie_List\List.txt) do findstr /b /i /c:"%lettervar%" >>
moviesfound.txt
if not errorlevel=1 (type...
|
Forum: Bash / Shell Scripting
Nov 15th, 2007, 3:49 PM
|
|
Replies: 4
Views: 530
Re: I have tried.. but I just can't get this
Ok, well,
:BROWSE
Echo Enter Letter to search movie starting with that letter: %%i
for %%i in (A:\Movie_List\List.txt) do findstr /b /i /c:"%%i" >> moviesfound.txt
if not errorlevel=1 (type...
|
Forum: Bash / Shell Scripting
Nov 15th, 2007, 3:31 PM
|
|
Replies: 4
Views: 530
I have tried.. but I just can't get this
Hi. I have been trying to write this batch file (command prompt. bat file) for days now. It is due tomorrow. I am taking a degree in Computer Networking and We got asked to write a batch file. I...
|