<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>REVERT TO CONSOLE &#187; emrg</title>
	<atom:link href="http://www.reverttoconsole.com/blog/author/emrg/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.reverttoconsole.com</link>
	<description>for f in *;do echo &#124; sed &#039;i\rtc&#039; &#62;&#62; $f;done; java programming et al</description>
	<lastBuildDate>Thu, 25 Aug 2011 15:02:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Windows XP: Batch of Goodies</title>
		<link>http://www.reverttoconsole.com/blog/linux/windows-xp-batch-of-goodies/</link>
		<comments>http://www.reverttoconsole.com/blog/linux/windows-xp-batch-of-goodies/#comments</comments>
		<pubDate>Tue, 27 Feb 2007 15:28:00 +0000</pubDate>
		<dc:creator>emrg</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://reverttoconsole.com/archives/45</guid>
		<description><![CDATA[A couple of Windows batch files. Because sometimes while I&#8217;m at a Windows Console, I&#8217;m still thinking UNIX commands. Launching a graphical executable from the command line vi.bat @echo off start "title" /b "C:\Program Files\Vim\vim70\gvim.exe" %* Locating the executable in the classpath which.bat @ECHO OFF setlocal set DELAY=YES set DELAY=!DELAY! if "%DELAY%" == "YES" ( [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of Windows batch files.<br />
Because sometimes while I&#8217;m at a Windows Console, I&#8217;m still thinking UNIX commands.</p>
<p><strong>Launching a graphical executable from the command line</strong></p>
<p>vi.bat</p>
<blockquote><p><code><br />
@echo off<br />
start "title" /b "C:\Program Files\Vim\vim70\gvim.exe" %*<br />
</code></p></blockquote>
<p><strong>Locating the executable in the classpath</strong></p>
<p>which.bat</p>
<blockquote><p><code><br />
@ECHO OFF<br />
setlocal<br />
set DELAY=YES<br />
set DELAY=!DELAY!</p>
<p>if "%DELAY%" == "YES" (<br />
	set files=<br />
	for %%i in (%PATHEXT%) DO set files=!files!;%1%%i<br />
	for %%i in (!files!) DO if EXIST %%~$PATH:i (@echo.%%~$PATH:i)<br />
) else (<br />
  if "%2" == "with_delay" (<br />
	echo Invalid state. Prevent infinite recursion<br />
  ) else (<br />
	cmd /v:on /c which.bat %1 with_delay<br />
  )<br />
)<br />
endlocal<br />
</code></p></blockquote>
<p><strong>Links</strong><br />
<a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/batch.mspx">Batch Reference</a><br />
<a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds_o.mspx">Command Line Reference</a></p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Flinux%2Fwindows-xp-batch-of-goodies%2F&amp;title=Windows+XP%3A+Batch+of+Goodies" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Flinux%2Fwindows-xp-batch-of-goodies%2F&amp;title=Windows+XP%3A+Batch+of+Goodies" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Flinux%2Fwindows-xp-batch-of-goodies%2F&amp;title=Windows+XP%3A+Batch+of+Goodies" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Flinux%2Fwindows-xp-batch-of-goodies%2F&amp;title=Windows+XP%3A+Batch+of+Goodies" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Flinux%2Fwindows-xp-batch-of-goodies%2F&amp;title=Windows+XP%3A+Batch+of+Goodies', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://images.del.icio.us/static/img/delicious.small.gif" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Flinux%2Fwindows-xp-batch-of-goodies%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Flinux%2Fwindows-xp-batch-of-goodies%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Flinux%2Fwindows-xp-batch-of-goodies%2F&amp;title=Windows+XP%3A+Batch+of+Goodies" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Flinux%2Fwindows-xp-batch-of-goodies%2F&amp;title=Windows+XP%3A+Batch+of+Goodies" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.reverttoconsole.com/blog/linux/windows-xp-batch-of-goodies/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Malware Removal</title>
		<link>http://www.reverttoconsole.com/blog/tools/malware-removal/</link>
		<comments>http://www.reverttoconsole.com/blog/tools/malware-removal/#comments</comments>
		<pubDate>Sat, 09 Dec 2006 22:47:06 +0000</pubDate>
		<dc:creator>emrg</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://reverttoconsole.com/archives/55</guid>
		<description><![CDATA[If you want to disinfect or check your computer, then I strongly recommend you start with http://castlecops.com It provides short guides to malware removal and preventions, links to freeware and shareware utilities, and forums to access experienced help. I had McAfee installed and running on the family PC. It still got infected by some nasty [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to disinfect or check your computer, then I strongly recommend you start with <a href="http://castlecops.com">http://castlecops.com</a><br />
It provides short guides to malware removal and preventions, links to freeware and shareware utilities, and forums to access experienced help.</p>
<p>I had McAfee installed and running on the family PC.  It still got infected by some nasty ad-ware that would pop up random web pages warning that the computer was infected and that I should buy  <a href="http://en.wikipedia.org/wiki/WinFixer">WinAntiVirusPro2006</a> to remove it.  This is pure extortion and I refuse to support it.</p>
<p>Searching the web tended to give me more bad information than good, so I decided to try to leave it to the experts and bought Norton Security 2007.  It detected a couple of more viruses that McAfee, but I still was getting popups and explorer.exe errors.</p>
<p>Eventually, I learned enough browsing the web to locate CastleCops.  It provided me with instructions and links to shareware utilities that allowed me to quickly remove Vundo and other &#8220;potentially unwanted applications&#8221; (apparently the legally safe way to refer to malware).</p>
<p>I would have saved a lot of time and money if I had started with http://castlecops.com.</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Ftools%2Fmalware-removal%2F&amp;title=Malware+Removal" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Ftools%2Fmalware-removal%2F&amp;title=Malware+Removal" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Ftools%2Fmalware-removal%2F&amp;title=Malware+Removal" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Ftools%2Fmalware-removal%2F&amp;title=Malware+Removal" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Ftools%2Fmalware-removal%2F&amp;title=Malware+Removal', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://images.del.icio.us/static/img/delicious.small.gif" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Ftools%2Fmalware-removal%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Ftools%2Fmalware-removal%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Ftools%2Fmalware-removal%2F&amp;title=Malware+Removal" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Ftools%2Fmalware-removal%2F&amp;title=Malware+Removal" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.reverttoconsole.com/blog/tools/malware-removal/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fun with USB Flash Drive</title>
		<link>http://www.reverttoconsole.com/blog/general/fun-with-usb-flash-drive/</link>
		<comments>http://www.reverttoconsole.com/blog/general/fun-with-usb-flash-drive/#comments</comments>
		<pubDate>Mon, 30 Oct 2006 03:06:21 +0000</pubDate>
		<dc:creator>emrg</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://reverttoconsole.com/archives/39</guid>
		<description><![CDATA[I&#8217;ve got a 2G USB Flash Drive and I&#8217;ve been trying to find the most useful ways for me to use it. Here are some things I&#8217;ve discovered on my journey. Safely Remove Hardware Clicking on the tray icon to safely remove the USB drive tells you that the drive is still in use. After [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got a 2G USB Flash Drive and I&#8217;ve been trying to find the most useful ways for me to use it.  Here are some things I&#8217;ve discovered on my journey.</p>
<p><strong>Safely Remove Hardware</strong><br />
Clicking on the tray icon to safely remove the USB drive tells you that the drive is still in use.  After closing all the visible applications, the issue continues.  After using the task manager to stop all user specific processes, the issue continues.  Scanning the web only gave me multiple causes and possible workarounds.  My current approach:</p>
<ol>
<li>Close applications that I know are using the USB drive</li>
<li>Attempt to use the &#8220;Safely Remove Hardware&#8221; icon in the system tray</li>
<li>If step 2 fails, then close applications that might be using USB drive and repeat step 2</li>
<li>As my final option, I use the &#8220;Eject&#8221; command within explorer.exe</li>
</ol>
<p><strong>Encryption</strong><br />
I&#8217;m currently using <a href="http://www.truecrypt.org/">TrueCrypt</a> to encode sensitive data I don&#8217;t want falling into the wrong hands.  It does require admin privileges on the machine.  However, since that data is fairly sensitive, then it is unlikely I will try to use it on a machine I don&#8217;t control.</p>
<p>I also use <a href="http://keepass.sourceforge.net/">KeePass</a> to store passwords.</p>
<p><strong>Version Control</strong><br />
Here I use <a href="http://subversion.tigris.org">Subversion</a>.  I keep a repository on my flash drive and access it with the URL &#8220;file:///G:/svn&#8221;.  I keep the subversion executables on my USB drive so that I have access via the command line, but I normally use the Subclipse plug-in within Eclipse.</p>
<p><strong>Revert to Console</strong><br />
I setup special .BAT files to create console windows that have the correct PATH and environment settings for the console applications stored on my USB drive.  I use the TITLE command to give the window a descriptive name.</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Fgeneral%2Ffun-with-usb-flash-drive%2F&amp;title=Fun+with+USB+Flash+Drive" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Fgeneral%2Ffun-with-usb-flash-drive%2F&amp;title=Fun+with+USB+Flash+Drive" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Fgeneral%2Ffun-with-usb-flash-drive%2F&amp;title=Fun+with+USB+Flash+Drive" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Fgeneral%2Ffun-with-usb-flash-drive%2F&amp;title=Fun+with+USB+Flash+Drive" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Fgeneral%2Ffun-with-usb-flash-drive%2F&amp;title=Fun+with+USB+Flash+Drive', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://images.del.icio.us/static/img/delicious.small.gif" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Fgeneral%2Ffun-with-usb-flash-drive%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Fgeneral%2Ffun-with-usb-flash-drive%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Fgeneral%2Ffun-with-usb-flash-drive%2F&amp;title=Fun+with+USB+Flash+Drive" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.reverttoconsole.com%2Fblog%2Fgeneral%2Ffun-with-usb-flash-drive%2F&amp;title=Fun+with+USB+Flash+Drive" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.reverttoconsole.com/blog/general/fun-with-usb-flash-drive/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

