View Single Post
Old 01-20-2013, 06:18 PM   PM User | #3
Justsawyer
New Coder

 
Join Date: Nov 2012
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Justsawyer is an unknown quantity at this point
Macintosh

Thanks ^_^ works great, I don't really understand the top and bottom code , but this is what it got from it:

@echo off
for /F "tokens=1,2 delims=#" %%a in ('"prompt #$H#$E# & for %%b in (1) do rem"') do (
set "DEL=%%a"
)
SETLOCAL EnableDelayedExpansion
:start
call :C C0 "POOP`"
call :C E0 "POOP`"
call :C A0 "POOP`"
call :C B0 "POOP`"
goto start


echo.
pause && goto :eof

:C
echo off
<nul set /p ".=%DEL%" > "%Temp%\%~2"
cd %Temp%
findstr /v /a:%1 /R "^$" "%~2" nul
del "%Temp%\%~2" > nul 2>&1
goto :eof


It works fine, but it would be nice if it printed faster, it takes about 20 seconds to fill the whole command prompt, anyway to make it faster? also moar pics in the bottem

Also this same code works when on my hardrive, but not when on a flashdrive :/
Attached Thumbnails
Click image for larger version

Name:	pics.png
Views:	32
Size:	28.9 KB
ID:	11876  

Last edited by Justsawyer; 01-20-2013 at 07:05 PM..
Justsawyer is offline   Reply With Quote