<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Delete 1.0.1</title>
		<link>http://tibasicdev.wikidot.com/forum/t-166629/delete-1-0-1</link>
		<description>Posts in the discussion thread &quot;Delete 1.0.1&quot; - This small batch file can delete everything unless you are not an administrator...its still very user unfriendly but that will improve over time. :P</description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-166629#post-524324</guid>
				<title>Delete 1.0.1</title>
				<link>http://tibasicdev.wikidot.com/forum/t-166629/delete-1-0-1#post-524324</link>
				<description></description>
				<pubDate>Thu, 02 Jul 2009 14:02:49 +0000</pubDate>
				<wikidot:authorName>Matthias1992</wikidot:authorName>				<wikidot:authorUserId>310020</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <div class="code"> <pre> <code>@ echo off color 0a cls Title Delete :strt set /p delfile="Name file to be deleted(type "0" to quit):" if %delfile%==0 goto :eof if not %delfile%==0 goto :cont :cont set /p upl="Extension(e.g. "txt"or "wav" (do NOT type ".wav" but "wav")):" set /p path="Set the path where the file can be found(0 for desktop)" if %path%==0 goto :delfileondesk if not %path%==0 goto :delelse :delfileondesk if exist %delfile%.%upl% del %delfile%.%upl% &amp;&amp; echo File %delfile%.%upl% succesfully deleted &amp;&amp; pause&gt;nul &amp;&amp; goto :strt if not exist %delfile%.%upl% echo file %delfile%.%upl% cannot be found &amp;&amp; pause&gt;nul &amp;&amp; goto :strt :delelse if exist %path%\%delfile%.%upl% del %path%\%delfile%.%upl% &amp;&amp; echo File %path%\%delfile%.%upl% succesfully deleted &amp;&amp; pause&gt;nul &amp;&amp; goto :strt if not exist %path%\%delfile%.%upl% echo file %path%\%delfile%.%upl% cannot be found &amp;&amp; pause&gt;nul &amp;&amp; goto :strt</code> </pre></div> <p>so that's it, i am still going to implent a function that knows when something is not delted to say that it is not deleted….i'll post it here than. I think it is as optimized as it can be, but any suggestion or critic is welcome!</p> <p>Matthias</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>