set upd=080918
%ifnx% %apup%\tmp2 echo  This ConFetch updates log was started on: %date%>%apup%\tmp2
find "[ %upd% ]" %apup%\tmp2>nul
%ife% 1 goto na
goto ya
:na
%sed% "s/080214/%upd%/g;s/080215/%upd%/g;/Wscript.Sleep/d;s/echo   Wscript.Echo strComputer>>working.vbs/echo   Wscript.Echo strComputer>>working.vbs\necho   Wscript.Sleep ^1>>working.vbs/g;" conftrim.cmd>%upd%a.txt
%sed% "s/not removed this time.>>confetch.txt/not removed this time.>>confetch.txt\ndel yesno.tmp numlist numlist2 stoptw>nul 2>\&1\nexit\n:yes\necho\/\necho You typed y for Yes. Temporary files were removed./g;" %upd%a.txt>%upd%b.txt
%sed% "s/Temporary files were removed./Temporary files were removed.\necho\/>>confetch.txt\necho You typed y for Yes so temporary files were deemed expendable\;>>confetch.txt\n..\\bin\\sleep 3000\ndel yesno.tmp numlist numlist2 stoptw>nul 2>\&1\nconfetchclean.cmd\nexit/g;" %upd%b.txt>%upd%c.txt
%sed% "/del yesno.tmp.nul/d;/del numlist.nul/d;/del numlist2.nul/d;/del stoptw.nul/d;s/echo You typed n for No so temporary files were not removed this time.>>confetch.txt/echo\/>>confetch.txt\necho You typed n for No so temporary files were not removed this time.>>confetch.txt\n..\\bin\\sleep 3000\nexit/g;" %upd%c.txt>%upd%d.txt
%sed% "s/echo ConFetch_Trimmer stopped/find \x22ConFetch_Trimmer stopped\x22 confetch.txt>nul\nif not errorlevel 1 goto ycfstop\necho ConFetch_Trimmer stopped/;s/filter.conf.>>confetch.txt/filter.conf\x22>>confetch.txt\n:ycfstop/;s/.eol.. tokens.. delims. . //;" %upd%d.txt>%upd%e.txt
%slp% 2000
find /N ":ycfstop" %upd%e.txt>%upd%f.txt
%sed% "3q" %upd%f.txt | %sed% "/^$/d;/---/d;s/\[//;s/\](*.*)*//;" >%upd%g.txt
for /f %%V in (%upd%g.txt) do sed -n "1,%%Vp" %upd%e.txt | %sed% "s/ycfstop/ycfstopa/;s/rem ... //;" >%upd%h.txt
for /f %%W in (%upd%g.txt) do sed -n "%%W,$p" %upd%e.txt | %sed% "1,1d;s/rem ... //;/^$/d;" >%upd%i.txt
type %upd%i.txt>>%upd%h.txt
del conftrim.cmd>nul 2>&1
rename %upd%h.txt conftrim.cmd>nul 2>&1
%getarg% filename.cmd %geturl%/flname/fn080917.zip
echo ^>com.edgesuite.net^<>>name_w
%sed% "/^com.edgesuite.net$/d;" names0>%upd%f.txt
del names0>nul 2>&1
rename %upd%f.txt names0>nul 2>&1
%ifnx% delbm.cmd. (
   goto ndelbm
) else (
   goto ydelbm
)
:ndelbm
goto xdelbm
:ydelbm
%sed% "s/bm.cmd/bm.cmd>nul 2>\&1/;" delbm.cmd>delbm.txt
del delbm.cmd>nul 2>&1
rename delbm.txt delbm.cmd>nul 2>&1
:xdelbm
%ifx% delbm.cmd call delbm.cmd
del %upd%*.txt>nul 2>&1
echo %date% %time% -- Update [ %upd% ] %applied%>>%apup%\tmp2
%appdup% %upd% ]
:: ______________________________________________\|/
:: Use the yupdate label for the latest update ONLY
goto yupdate
:: """"""""""""""""""""""""""""""""""""""""""""""/|\
:ya