<?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>LosByers- Interesting Musings Helpful Hints from a Unix System Administrator &#187; Windows OS</title>
	<atom:link href="http://losbyers.com/wordpress/category/windows-os/feed/" rel="self" type="application/rss+xml" />
	<link>http://losbyers.com/wordpress</link>
	<description>All the info I need</description>
	<lastBuildDate>Wed, 01 Sep 2010 19:48:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>DOS commands / Batch file scripting</title>
		<link>http://losbyers.com/wordpress/2010/07/dos-commands-batch-file-scripting/</link>
		<comments>http://losbyers.com/wordpress/2010/07/dos-commands-batch-file-scripting/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 15:14:35 +0000</pubDate>
		<dc:creator>LosByers</dc:creator>
				<category><![CDATA[Windows OS]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://losbyers.com/wordpress/?p=193</guid>
		<description><![CDATA[<p>I hate to admit on a Unix admin type Blog that I have been recently forced to work in the Windows OS world.</p>
<p>Thankfully I have been able to place Cygwin on most of the systems that I support.</p>
<p>I have, however, needed to be able to create a few batch files that would run on a [...]]]></description>
			<content:encoded><![CDATA[<p>I hate to admit on a Unix admin type Blog that I have been recently forced to work in the Windows OS world.</p>
<p>Thankfully I have been able to place Cygwin on most of the systems that I support.</p>
<p>I have, however, needed to be able to create a few batch files that would run on a scheduled basis for various things and had to learn the tricks of the trade for working in the DOS command prompt.</p>
<p><strong>Personal Cheat Sheet.</strong></p>
<p style="padding-left: 30px;">: &#8212; (followed by a space), alternative for &#8220;rem&#8221;, starts a comment<br />
^ &#8212; line continuation&#8230;  like a backslash (\) at the end of the line in unix<br />
&amp; &#8212; command separator (cmd1&amp;  cmd2&amp;  cmd3), like &#8220;;&#8221; in unix<br />
&amp;&amp; &#8212; only execute the next statement if the last one succeeded, like unix/perl<br />
||  &#8212;  only execute the next statement if the last one failed, like unix/perl</p>
<ul>
<li>Passing in command line variables/parameters</li>
</ul>
<p style="padding-left: 30px;">Batch files can only handle parameters %0 to %9, ie cmd.bat Foo Bar where in the cmd.bat Foo=%1 and Bar = %2</p>
<ul>
<li>For Loops</li>
<li>FOR %A IN (<em>list</em>) DO <em>command</em> [ <em>parameters</em> ]</li>
</ul>
<pre><code>
I did find <a title="RobVanderwoude Scripting site" href="http://www.robvanderwoude.com/" target="_blank">this web site</a> has tons of useful information on windows scripts.
The menu at the left will expand to show more info on each topic.

Finding system uptime
* net statistics server

Listing all of your systems drivers</code><code>
* DRIVERQUERY /V /FO CSV &gt; %ComputerName%.csv</code></pre>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Flosbyers.com%2Fwordpress%2F2010%2F07%2Fdos-commands-batch-file-scripting%2F&amp;linkname=DOS%20commands%20%2F%20Batch%20file%20scripting"><img src="http://losbyers.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://losbyers.com/wordpress/2010/07/dos-commands-batch-file-scripting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up xbmc on Acer Aspire 1600</title>
		<link>http://losbyers.com/wordpress/2010/03/setting-up-xbmc-on-acer-aspire-1600/</link>
		<comments>http://losbyers.com/wordpress/2010/03/setting-up-xbmc-on-acer-aspire-1600/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 03:07:32 +0000</pubDate>
		<dc:creator>LosByers</dc:creator>
				<category><![CDATA[Windows OS]]></category>

		<guid isPermaLink="false">http://losbyers.com/wordpress/?p=173</guid>
		<description><![CDATA[<p>My journey on setting up a Media Center PC on a Acer Aspire 1600.</p>
<p>Tigerdirect had a great sale on the units so I purchased one and a Gyrus Universal Media Center Remote.</p>
<p>From some message boards I read up on I also purchased the extra 1GB of ram for the Acer, so that 1080p video would [...]]]></description>
			<content:encoded><![CDATA[<p>My journey on setting up a Media Center PC on a Acer Aspire 1600.</p>
<p>Tigerdirect had a great sale on the units so I purchased one and a Gyrus Universal Media Center Remote.</p>
<p>From some message boards I read up on I also purchased the extra 1GB of ram for the Acer, so that 1080p video would be possible.  Although, I just found out that my TV is 720p/1080i which isn&#8217;t 1080p.  Oh, well the system should work just that much better.</p>
<p>I decided to just setup the Acer as is, with all of its standard components before I start adding on things.</p>
<p>My planned addons are:</p>
<ol>
<li>The Gyrus remote</li>
<li>Wireless keyboard and mouse.</li>
<li>Wireless USB dongle (If this thing doesn&#8217;t have wireless internal.</li>
<li>The extra GB of RAM.</li>
</ol>
<p>My software plans for now are</p>
<ol>
<li>I-Tunes</li>
<li>XBMC for windows.  ( I know I probably could just install Ubuntu or boot from a USB drive, but all of the other systems in the house are PC, so I will stick with it for now)</li>
</ol>
<p>First impressions.  Well, it didn&#8217;t come with a manual.  WTF! I guess I have to go find one.<br />
I found the <a title="Acer Aspire R1600 user manuals" href="http://support.acer.com/acerpanam/desktop/2009/acer/aspire/AspireR1600/AR1600ul.shtml" target="_blank">manuals online at Acer&#8217;s Web site</a>.</p>
<p>I found a nice video on how to <a href="http://www.youtube.com/watch?v=7ayQOyTEWRw" target="_blank">open the Acer Aspire on Youtube</a> to add the memory.  Adding the memory was a bit tight.  I found that you need to shove the memory in at an angle then push down and snap into place.</p>
<p>The mouse and keyboard look cute, like small size Mac style and all white.  Good think I have an extra wireless unit available.  When I had the unit open I did see that there was not a wireless card installed.  I&#8217;ll have to go with the USB dongle for now.  I do plan on an upgrade for the house to Wireless N and I might just get a new internal card at that time.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Flosbyers.com%2Fwordpress%2F2010%2F03%2Fsetting-up-xbmc-on-acer-aspire-1600%2F&amp;linkname=Setting%20up%20xbmc%20on%20Acer%20Aspire%201600"><img src="http://losbyers.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://losbyers.com/wordpress/2010/03/setting-up-xbmc-on-acer-aspire-1600/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Notepad++ Keyboard Shortcuts</title>
		<link>http://losbyers.com/wordpress/2010/01/notepad-keyboard-shortcuts/</link>
		<comments>http://losbyers.com/wordpress/2010/01/notepad-keyboard-shortcuts/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 20:29:24 +0000</pubDate>
		<dc:creator>LosByers</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[Web Related]]></category>
		<category><![CDATA[Windows OS]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://losbyers.com/wordpress/2010/01/notepad-keyboard-shortcuts/</guid>
		<description><![CDATA[<p>Notepad++ has become my favorite editor when coding PHP or XML.  It just has so many useful little features.  You can have all of the documents you need opened in one window and separated with tabs.  You can have a 2nd workspace hidden within the same window, which is great when you [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Notepadd++ download site " href="http://notepad-plus.sourceforge.net">Notepad++ </a>has become my favorite editor when coding PHP or XML.  It just has so many useful little features.  You can have all of the documents you need opened in one window and separated with tabs.  You can have a 2nd workspace hidden within the same window, which is great when you are updating some code, you can have the original in one &#8220;view&#8221; and the new code in another view.  The FIND feature of looking into all open documents, or documents in a directory is awesome to have if you are stuck on windows and don&#8217;t have cools tools like &#8216;find&#8217; and &#8216;grep&#8217; handy.  I have also setup my own &#8220;language&#8221; that parses through Java error logs so that you can collapse each error and skip all of the &#8220;at ..&#8221; lines when not needed.</p>
<p>The TextFX plugins are awesome and the XML re-indent tool has been a real life saver and speeds up fixing messed up CSS sheets and other XML coding.</p>
<p>Read more to get a list of the Notepad++ keyboard shortcut keys.</p>
<p><span id="more-140"></span></p>
<table style="border-collapse: collapse; table-layout: fixed; width: 586pt;" border="0" cellspacing="0" cellpadding="0" width="781">
<col style="width: 91pt;" width="121"></col>
<col style="width: 303pt;" width="404"></col>
<col style="width: 48pt;" span="4" width="64"></col>
<tbody>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt; width: 394pt;" colspan="2" width="525" height="20">List of Notepad++ shortcut keys (Bold I use most)</td>
<td style="width: 48pt;" width="64"></td>
<td style="width: 48pt;" width="64"></td>
<td style="width: 48pt;" width="64"></td>
<td style="width: 48pt;" width="64"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="height: 15pt;" height="20">Shortcut</td>
<td class="xl65"><span style="mso-spacerun:yes"> </span>Action</td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="height: 15pt;" height="20">Ctrl-C</td>
<td class="xl65">Copy<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="height: 15pt;" height="20">Ctrl-X</td>
<td class="xl65">Cut<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="height: 15pt;" height="20">Ctrl-V</td>
<td class="xl65">Paste<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="height: 15pt;" height="20">Ctrl-Z</td>
<td class="xl65">Undo<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Y</td>
<td>Redo<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="height: 15pt;" height="20">Ctrl-A</td>
<td class="xl65">Select All<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="height: 15pt;" height="20"><strong>Ctrl-F</strong></td>
<td class="xl65">Launch Find Dialog<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="height: 15pt;" height="20"><strong>Ctrl-H</strong></td>
<td class="xl65">Launch Find / Replace Dialog<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-D</td>
<td>Duplicate Current Line<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-L</td>
<td>Delete Current Line<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-T</td>
<td>Switch the current line position with the previous line position<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20"><strong>F3</strong></td>
<td>Find Next<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Shft-F3</td>
<td>Find Previous<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Shft-F</td>
<td>Find in Files<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-F3</td>
<td>Find (volatil) Next<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Shft-F3</td>
<td>Find (volatil) Previous<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Shft-I</td>
<td>Incremental Search<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="height: 15pt;" height="20"><strong>Ctrl-S</strong></td>
<td class="xl65">Save File<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="height: 15pt;" height="20"><strong>Ctrl-Alt-S</strong></td>
<td class="xl65">Save As<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="height: 15pt;" height="20"><strong>Ctrl-Shft-S</strong></td>
<td class="xl65">Save All<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-O</td>
<td>Open File<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="height: 15pt;" height="20"><strong>Ctrl-N</strong></td>
<td class="xl65">New Tab<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-F2</td>
<td>Toggle Bookmark<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">F2</td>
<td>Go To Next Bookmark<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Shft-F2</td>
<td>Go To Previous Bookmark<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-G</td>
<td>Launch GoToLine Dialog<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-W</td>
<td>Close Current Document<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Alt-Shft-Arrow key<span style="display:   none">s or Alt + Left mouse click</span></td>
<td>Column Mode Select<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">F5</td>
<td>Launch Run Dialog<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Space</td>
<td>Launch CallTip ListBox<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="height: 15pt;" height="20">Alt-Space</td>
<td class="xl65">Launch Word Completion ListBox<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Tab (selection of se<span style="display:none">veral lines)</span></td>
<td>Insert Tabulation or Space (Indent)<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Shft-Tab (selection <span style="display:none">of several lines)</span></td>
<td>Remove Tabulation or Space (outdent)<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-(Keypad-/Keyp<span style="display:   none">ad+) or Ctrl + mouse wheel butto</span></td>
<td>Zoom in (+ or up) and Zoom out (- or down)<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Keypad/</td>
<td>Restore the original size from zoom<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">F11</td>
<td>Toggle Full Screen Mode<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Tab</td>
<td>Next Document<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Shft-Tab</td>
<td>Previous Document<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Shft-Up</td>
<td>Move Current Line Up<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Shft-Down</td>
<td>Move Current Line Down<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Alt-F</td>
<td>Collapse the Current Level<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Alt-Shft-F</td>
<td>Uncollapse the Current Level<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Alt-0</td>
<td>Fold All<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="height: 15pt;" height="20"><strong>Alt-(1~8)</strong></td>
<td class="xl65">Collapse the Level (1~8)<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Alt-Shft-0</td>
<td>Unfold All<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="height: 15pt;" height="20"><strong>Alt-Shft-(1~8)</strong></td>
<td class="xl65">Uncollapse the Level (1~8)<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-BackSpace</td>
<td>Delete to start of word<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Delete</td>
<td>Delete to end of word<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Shft-BackSpace</td>
<td>Delete to start of line<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="height: 15pt;" height="20"><strong>Ctrl-Shft-Delete</strong></td>
<td class="xl65">Delete to end of line<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-U</td>
<td>Convert to lower case<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Shft-U</td>
<td>Convert to UPPER CASE<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20"><strong>Ctrl-B</strong></td>
<td>Go to matching brace<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Shft-R</td>
<td>Start to record /Stop recording the macro<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Shft-P</td>
<td>Play recorded macro<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Q</td>
<td>Block comment/uncomment<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Shft-Q</td>
<td>Stream comment<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Shft-T</td>
<td>Copy current line to clipboard<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-P</td>
<td>Print<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Alt-F4</td>
<td>Exit<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-I</td>
<td>Split Lines<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-J</td>
<td>Join Lines<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Alt-R</td>
<td>Text Direction RTL<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Ctrl-Alt-L</td>
<td>Text Direction LTR<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" colspan="6" height="20"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">F1</td>
<td>About<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">F2</td>
<td>Go To Next Bookmark<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="height: 15pt;" height="20">F3</td>
<td class="xl65">Find Next<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">F4</td>
<td style="mso-ignore:colspan" colspan="5"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">F5</td>
<td>Launch Run Dialog</td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">F6</td>
<td>Execute Command Dialog</td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">F7</td>
<td style="mso-ignore:colspan" colspan="5"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">F8</td>
<td style="mso-ignore:colspan" colspan="5"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">F9</td>
<td style="mso-ignore:colspan" colspan="5"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">F10</td>
<td style="mso-ignore:colspan" colspan="5"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">F11</td>
<td>Toggle Full Screen Mode</td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">F12</td>
<td>Post-it (Remove all menus)</td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 30pt;" height="40">
<td style="height: 30pt;" colspan="6" height="40"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Alt-F1</td>
<td>Get PHP Help From us2.php.net/manual</td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Alt-F2</td>
<td>Launch Google Search</td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Alt-F3</td>
<td>Launch Wikipedia Search</td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Alt-F4</td>
<td>Exit Application</td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Alt-F5</td>
<td>Open file<span style="mso-spacerun:yes"> </span></td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="height: 15pt;" height="20"><strong>Alt-F6</strong></td>
<td class="xl65">Opens a new window (Ctrl-N opens new Tab)</td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 30pt;" height="40">
<td style="height: 30pt;" colspan="6" height="40"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" colspan="2" height="20">Menu Options of note:</td>
<td style="mso-ignore:colspan" colspan="4"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" colspan="4" height="20">Right click on a Tab and Send the Tab to &#8220;The other View&#8221; this splits the<br />
window Virtually in two.</td>
<td style="mso-ignore:colspan" colspan="2"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" colspan="6" height="20">Under the Run Tab there is the option to Open the Containing Folder, and open a Command<br />
Prompt to the containing folder</td>
</tr>
<p><!--[if supportMisalignedColumns]--></p>
<tr style="display:none" height="0">
<td style="width: 91pt;" width="121"></td>
<td style="width: 303pt;" width="404"></td>
<td style="width: 48pt;" width="64"></td>
<td style="width: 48pt;" width="64"></td>
<td style="width: 48pt;" width="64"></td>
<td style="width: 48pt;" width="64"></td>
</tr>
<p><!--[endif]--></tbody>
</table>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Flosbyers.com%2Fwordpress%2F2010%2F01%2Fnotepad-keyboard-shortcuts%2F&amp;linkname=Notepad%2B%2B%20Keyboard%20Shortcuts"><img src="http://losbyers.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://losbyers.com/wordpress/2010/01/notepad-keyboard-shortcuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Explorer Ruler (Shift R)</title>
		<link>http://losbyers.com/wordpress/2010/01/internet-explorer-ruler-shift-r/</link>
		<comments>http://losbyers.com/wordpress/2010/01/internet-explorer-ruler-shift-r/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 21:43:32 +0000</pubDate>
		<dc:creator>LosByers</dc:creator>
				<category><![CDATA[Windows OS]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://losbyers.com/wordpress/?p=134</guid>
		<description><![CDATA[<p>While browsing the web the other day and I was in the midst of entering a search term when an odd little window unexpectedly popped up. It was titled “Ruler”, and offered some options to check, such as “Snap to X/Y axis” and “Hide Tick marks.”</p>
<p>I found that my keyboard was no longer responding, so [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-family: verdana;">While browsing the web the other day and I was in the midst of entering a search term when an odd little window unexpectedly popped up. <img style="margin: 10px; float: right; width: 320px;" src="http://www.pioneervalleysoftware.com/images/blog/ruler.jpg" border="0" alt="renegade ruler" />It was titled “Ruler”, and offered some options to check, such as “Snap to X/Y axis” and “Hide Tick marks.”</span></p>
<p><span style="font-family: verdana;">I found that my keyboard was no longer responding, so I clicked the peculiar popup’s close box and continued typing. All was fine until I had occasion to enter an upper case “R,” then suddenly the strange ruler window popped up again. What the hack was going on?</span><br />
<span style="font-family: verdana;">The ruler box is a feature of the <a href="http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038&amp;displaylang=en">Internet Explorer 7 Developer Toolbar</a> add-on and for some reason is in certain versions of the toolbar and not others for various versions of IE.  Go figure? <img src='http://losbyers.com/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  </span></p>
<p><span style="font-family: verdana;">To make the Shift-R ruler &#8220;feature&#8221; go away, I typed</span><span style="font-family: verdana;"> <em>Ctrl-Shift-J </em></span><span style="font-family: verdana;">and the Shift-R now works as it should.  You may need to bring up the Developer Tool Bar before hitting the keys strokes to make the change take effect, </span><span style="font-family: verdana;">by selecting <strong>View | Explorer Bar</strong></span></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Flosbyers.com%2Fwordpress%2F2010%2F01%2Finternet-explorer-ruler-shift-r%2F&amp;linkname=Internet%20Explorer%20Ruler%20%28Shift%20R%29"><img src="http://losbyers.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://losbyers.com/wordpress/2010/01/internet-explorer-ruler-shift-r/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Source Alternatives</title>
		<link>http://losbyers.com/wordpress/2009/12/open-source-alternatives/</link>
		<comments>http://losbyers.com/wordpress/2009/12/open-source-alternatives/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 20:54:26 +0000</pubDate>
		<dc:creator>LosByers</dc:creator>
				<category><![CDATA[Business Help]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Windows OS]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://losbyers.com/wordpress/?p=111</guid>
		<description><![CDATA[<p>There is a ton of software a new business sometimes feels that they must purchase right when they are starting off a new business.</p>
<p>There Word, Excel, and Powerpoint from Micro$soft that are usually very expensive.</p>
<p>There is also money management software, project planning software, and graphic software.</p>
<p>Well there is a solution for small businesses that are [...]]]></description>
			<content:encoded><![CDATA[<p><span>There is a ton of software a new business sometimes feels that they must purchase right when they are starting off a new business.</p>
<p>There Word, Excel, and Powerpoint from Micro$soft that are usually very expensive.</p>
<p>There is also money management software, project planning software, and graphic software.</p>
<p>Well there is a solution for small businesses that are starting out is to use Open Source Software.<br />
There is a great web site that lists all of the commercial software along with it&#8217;s Open Source Alternative.<br />
Check out <a href="http://www.osalt.com/" target="_blank">Open Source Alternatives web site</a>.</p>
<p>They will show you stuff like<br />
Expensive App             Free Apps<br />
Photoshop                   The GIMP<br />
VISIO                         DIA<br />
MS Office                    Open Office<br />
Illustrator, CorelDraw  Inkscape<br />
Quickbooks                 Postbooks</p>
<p>There are many more and almost every big commercial application now has an Open Source alternative.  It is possible that you may need to be running Linux for some of these, but Ubuntu has become as easy to use as Windows or a Mac.</span></p>
<p><span>I found another Blog posting about 50 top applications and their alternatives.<br />
The post was made early in 2008 so the software most likely has gotten even better since then.</p>
<p>Check out <a href="http://whdb.com/2008/the-top-50-proprietary-programs-that-drive-you-crazy-and-their-open-source-alternatives/" target="_blank">http://whdb.com/2008/the-top-50-proprietary-programs-that-drive-you-crazy-and-their-open-source-alternatives/</a></span></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Flosbyers.com%2Fwordpress%2F2009%2F12%2Fopen-source-alternatives%2F&amp;linkname=Open%20Source%20Alternatives"><img src="http://losbyers.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://losbyers.com/wordpress/2009/12/open-source-alternatives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exporting Tomcat SSL keys to Apache httpd</title>
		<link>http://losbyers.com/wordpress/2009/12/exporting-tomcat-ssl-keys-to-apache-httpd/</link>
		<comments>http://losbyers.com/wordpress/2009/12/exporting-tomcat-ssl-keys-to-apache-httpd/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 20:41:37 +0000</pubDate>
		<dc:creator>LosByers</dc:creator>
				<category><![CDATA[Web Related]]></category>
		<category><![CDATA[Windows OS]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://losbyers.com/wordpress/?p=98</guid>
		<description><![CDATA[<p>Apache Tomcat SSL keys created with keytool are, by default, in der format. These keys cannot be used in Apache httpd since httpd, be default, expects the keys in pem(X509) format. Using the below steps you can export the tomcat&#8217;s keys to Apache httpd format and use it for Apache.</p>
<p>I assume that you already have [...]]]></description>
			<content:encoded><![CDATA[<p>Apache Tomcat SSL keys created with keytool are, by default, in <strong>der</strong> format. These keys cannot be used in Apache httpd since httpd, be default, expects the keys in <strong>pem(X509)</strong> format. Using the below steps you can export the tomcat&#8217;s keys to Apache httpd format and use it for Apache.</p>
<p>I assume that you already have a working copy of tomcat with SSL.</p>
<p>If Not follow Verisign&#8217;s instructions on requesting an SSL certificate, then:</p>
<ul>
<li>Create a keystore:   $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA</li>
<li>Import the Intermediate CA Certificate:   keytool -import -alias root -keystore &lt;your_keystore_filename&gt; -trustcacerts -file &lt;filename_of_the_chain_certificate&gt;</li>
<li>Import your SSL Certificate:  keytool -import -alias &lt;your_alias&gt; -keystore &lt;your_keystore_filename&gt; -trustcacerts -file &lt;your_certificate_filename&gt;</li>
</ul>
<p>You will need a copy of the tomcat&#8217;s keystore file and the keystore password.</p>
<p>Let us start&#8230;.</p>
<p>First copy the existing tomcat&#8217;s keystore file to a new directory so that we don&#8217;t break anything that is working.</p>
<p>List the key and verify you know the passphrase.<br />
<span style="color: #008000;"><strong># keytool -list -keystore your.key </strong></span></p>
<p>Now we will export the key in DER format<br />
<span style="color: #008000;"><strong># keytool -export -alias tomcat -keystore tomcat.keystore -file exported-der.crt </strong></span><br />
Enter keystore password:<br />
Output will be: Certificate stored in file</p>
<p>The certificate will be stored in the file called exported-der.crt</p>
<p>Verify the certificate with this command:<br />
<span style="color: #008000;"><strong># openssl x509 -noout -text -in exported-der.crt -inform der </strong></span><br />
Output will be: The whole certificate saying &#8211; who issued it  and other info like your company name etc.</p>
<p>Now Convert the key to PEM format so that apache can understand it:<br />
<span style="color: #008000;"><strong># openssl x509 -out exported-pem.crt -outform pem -in exported-der.crt -inform der </strong></span></p>
<p>The exported key will be in the file exported-pem.crt.</p>
<p>We have exported the public key and now are going to export the private key.</p>
<p>Download a  file called (ExportPrivateKey.zip) from <a href="http://www.anandsekar.com/wp-content/uploads/2006/01/ExportPrivateKey.zip" target="_blank">Anandsekar.com</a></p>
<p>Extract the key<br />
<span style="color: #008000;"><strong># java -jar ExportPrivateKey.zip {keystore_path} JKS {keystore_password} {alias} exported-pkcs8.key </strong></span></p>
<p>The key is in PKCS #8 PEM format. Now run openssl to convert it to the format apache modssl expects the file.<br />
Use a cygwin shell to get a good version of OpenSSL without having to install another application.<br />
# openssl pkcs8 -inform PEM -nocrypt -in exported-pkcs8.key -out exported.key</p>
<p>The Private key is now exported to the file exported.key.</p>
<p>Edit the httpd.conf/httpd-ssl.conf file<br />
<span style="color: #000080;">SSLCertificateFile /root/SSL_export/exported-pem.crt  -&gt; I used the cert from Verisign instead.<br />
SSLCertificateKeyFile /root/SSL_export/exported.key<br />
SSLCertificateChainFile /root/SSL_export/&lt;intermediate&gt;</span></p>
<p>Example:<br />
#Verisign Certificate<br />
SSLCertificateFile &#8220;C:/Program Files/Apache Software Foundation/Apache2.2/conf/cmmssl/cert/cert.crt&#8221;<br />
# Our new key<br />
SSLCertificateKeyFile &#8220;C:/Program Files/Apache Software Foundation/Apache2.2/conf/cmmssl/private/exported.key&#8221;<br />
# The Verisign Intermediary cert file.<br />
SSLCertificateChainFile &#8220;C:/Program Files/Apache Software Foundation/Apache2.2/conf/cmmssl/intermediate/intermediate.crt&#8221;</p>
<p>Restart Apache, with fingers crossed, pixie dust in the air, while the rooster crows, on a full moon, and a live sacrificial chicken waiting on standby.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Flosbyers.com%2Fwordpress%2F2009%2F12%2Fexporting-tomcat-ssl-keys-to-apache-httpd%2F&amp;linkname=Exporting%20Tomcat%20SSL%20keys%20to%20Apache%20httpd"><img src="http://losbyers.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://losbyers.com/wordpress/2009/12/exporting-tomcat-ssl-keys-to-apache-httpd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Killing windows processes from the command line</title>
		<link>http://losbyers.com/wordpress/2009/12/killing-windows-processes-from-the-command-line/</link>
		<comments>http://losbyers.com/wordpress/2009/12/killing-windows-processes-from-the-command-line/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 20:33:33 +0000</pubDate>
		<dc:creator>LosByers</dc:creator>
				<category><![CDATA[Windows OS]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://losbyers.com/wordpress/?p=96</guid>
		<description><![CDATA[<p>Use TASKLIST and TASKKILL :  Good web site on this http://commandwindows.com/taskkill.htm</p>
<p>(F)orce Kill running processes for ImageName of java.exe
taskkill.exe /F /IM java.exe</p>
<p>NOTE: Wildcard &#8216;*&#8217; for the /IM switch is accepted only with filters, use /FI
taskkill /F /FI &#8220;IMAGENAME eq note*&#8221;</p>
<p>Find all running Java processes command line
tasklist /FI “IMAGENAME eq java.exe”</p>
<p>Example:  I started 2 Calculator programs.</p>
<p>H:\&#62;tasklist /FI [...]]]></description>
			<content:encoded><![CDATA[<p><span>Use TASKLIST and TASKKILL :  Good web site on this <a href="http://commandwindows.com/taskkill.htm" target="_blank">http://commandwindows.com/taskkill.htm</a></p>
<p>(F)orce Kill running processes for ImageName of java.exe<br />
taskkill.exe /F /IM java.exe</p>
<p>NOTE: Wildcard &#8216;*&#8217; for the /IM switch is accepted only with filters, use /FI<br />
taskkill /F /FI &#8220;IMAGENAME eq note*&#8221;</p>
<p>Find all running Java processes command line<br />
tasklist /FI “IMAGENAME eq java.exe”</p>
<p>Example:  I started 2 Calculator programs.</p>
<p>H:\&gt;tasklist /FI &#8220;IMAGENAME eq calc*&#8221;</p>
<pre>Image Name                   PID Session Name     Session#    Mem Usage
========================= ====== ================ ======== ============
calc.exe                    4652 Console                 0      3,420 K
calc.exe                    1936 Console                 0      3,412 K
</pre>
<p>H:\&gt;taskkill /F /FI &#8220;IMAGENAME eq calc*&#8221;<br />
SUCCESS: The process with PID 4652 has been terminated.<br />
SUCCESS: The process with PID 1936 has been terminated.</p>
<p>I needed these commands to script a nightly restart of a java application that had a bad memory leak.  For some reason the normal stop wasn&#8217;t working. <img title="Crying or Very sad" src="http://www.losbyers.com/modules/Forums/images/smiles/icon_cry.gif" border="0" alt="Crying or Very sad" /></span></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Flosbyers.com%2Fwordpress%2F2009%2F12%2Fkilling-windows-processes-from-the-command-line%2F&amp;linkname=Killing%20windows%20processes%20from%20the%20command%20line"><img src="http://losbyers.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://losbyers.com/wordpress/2009/12/killing-windows-processes-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows XP 2003 timestamps</title>
		<link>http://losbyers.com/wordpress/2009/12/windows-xp-2003-timestamps/</link>
		<comments>http://losbyers.com/wordpress/2009/12/windows-xp-2003-timestamps/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 18:11:53 +0000</pubDate>
		<dc:creator>LosByers</dc:creator>
				<category><![CDATA[Windows OS]]></category>
		<category><![CDATA[2003]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://losbyers.com/wordpress/?p=91</guid>
		<description><![CDATA[<p>I needed to do a little research on how timestamps work in Winders, XP and 2003 server.</p>
<p>Creation date later than modified date (&#8221;date modified&#8221; less than &#8220;date created&#8221;)
In Word XP the creation date of a document can be later than the modified date when saved elsewhere. Microsoft says
&#8220;When the document is copied or is saved [...]]]></description>
			<content:encoded><![CDATA[<p>I needed to do a little research on how timestamps work in Winders, XP and 2003 server.</p>
<p>Creation date later than modified date (&#8221;date modified&#8221; less than &#8220;date created&#8221;)<br />
In Word XP the creation date of a document can be later than the modified date when saved elsewhere. Microsoft says<br />
<span style="color: #008000;">&#8220;When the document is copied or is saved to a new location, a new file is created. This file is generated by a parent file that has the earlier &#8220;Modified&#8221; date. This parent file also has an earlier &#8220;Created&#8221; date. &#8220;</span></p>
<p>When you copy or re-save a document, the &#8220;Created&#8221; date is updated in the Statistics tab and in the General tab. However, the &#8220;Modified&#8221; date is not updated.&#8221;</p>
<p><span style="font-weight: bold;">* Turn off Last Modified timestamping</span><br />
Whenever XP reads a file, it stamps the file with the date and time of the access.</p>
<p>This feature has its place but is not required for normal use unless you rely on the date of last access for backup purposes, which is a rare requirement for most backups. Putting a timestamp on a file that has just been read means that a write access has to be made to disk, so every time a read is executed, a corresponding write is also executed.</p>
<p>At the command prompt, enter the following then reboot:</p>
<p><span style="font-style: italic;"><span style="font-weight: bold;">&gt; FSUTIL behavior set disablelastaccess 1</span></span></p>
<p>To turn timestamps back on, repeat the command but replace the 1 with 0.</p>
<p><span style="font-weight: bold;">*Update</span><br />
It appears the FSUTIL is XP Pro and server only.</p>
<p>To Improve Windows XP Home Edition?s NTFS performance<br />
There are two possibilities for the Home Edition: (but only, if you trust yourself to edit the registry)<br />
1. Start, Run and type Regedit:navigate to:<br />
HKEY CURRENT USER/Software/Microsoft/Windows/<br />
CurrentVersion/Policies/Explorer:<br />
Rightclick in the right column,choose New,<br />
then Dword-value and name it: NoInstrumentation,doubleclick on it and give it a value 1,close and restart.<br />
2. Start, Run and type Regedit: navigate to:<br />
HKEY LOCAL MACHINE/System/CurrentControlSet/<br />
Control/FileSystem:<br />
Rightclick in the right column, choose New,<br />
then Dword-value and name it:<br />
NtfsDisableLastAccessUpdate, doubleclick on it and give it a value 1, close and restart.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Flosbyers.com%2Fwordpress%2F2009%2F12%2Fwindows-xp-2003-timestamps%2F&amp;linkname=Windows%20XP%202003%20timestamps"><img src="http://losbyers.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://losbyers.com/wordpress/2009/12/windows-xp-2003-timestamps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Launch Application from Excel</title>
		<link>http://losbyers.com/wordpress/2009/12/launch-application-from-excel/</link>
		<comments>http://losbyers.com/wordpress/2009/12/launch-application-from-excel/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 22:11:33 +0000</pubDate>
		<dc:creator>LosByers</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[Windows OS]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://losbyers.com/wordpress/?p=46</guid>
		<description><![CDATA[<p>I started out with the need to be able to launch a putty SSH window from Excel that had a list of hosts and/or IP addresses.</p>
<p>In Microsoft Excel</p>
<p>1) View/Toolbars Visual Basic
2) Click the Control Toolbox icon
3) Click on the Command Button icon and then click in your worksheet or drag the icon symbol.
4) Right click [...]]]></description>
			<content:encoded><![CDATA[<p>I started out with the need to be able to launch a putty SSH window from Excel that had a list of hosts and/or IP addresses.</p>
<p><span>In Microsoft Excel</p>
<p>1) View/Toolbars Visual Basic<br />
2) Click the Control Toolbox icon<br />
3) Click on the Command Button icon and then click in your worksheet or drag the icon symbol.<br />
4) Right click on the button and choose properties.<br />
5) Change the name to PuttyButton<br />
6) Change the Caption to &#8220;Launch Putty&#8221;<br />
7) Double click on the button to bring up the Visual Basic Editor<br />
 <img src='http://losbyers.com/wordpress/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Make the script look like the following (Make sure the paths are correct for you)<br />
Private Sub PuttyButton_Click()<br />
Shell &#8220;C:\Program Files\putty\putty.exe &#8221; &amp; ActiveCell, vbNormalFocus<br />
End Sub<br />
9) Go to file and choose close and return.<br />
10) Unselect Control Toolbox and Unselect the Design Mode button.<br />
11) Add an IP or hostname to a cell and Click on the Launch Putty Button.</p>
<p>If you have a different login then make the cell read &#8220;-l login 12.9.12.10&#8243; and the button will still work.</span></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Flosbyers.com%2Fwordpress%2F2009%2F12%2Flaunch-application-from-excel%2F&amp;linkname=Launch%20Application%20from%20Excel"><img src="http://losbyers.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://losbyers.com/wordpress/2009/12/launch-application-from-excel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Command Line Search and Replace</title>
		<link>http://losbyers.com/wordpress/2009/12/command-line-search-and-replace/</link>
		<comments>http://losbyers.com/wordpress/2009/12/command-line-search-and-replace/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 22:02:17 +0000</pubDate>
		<dc:creator>LosByers</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[Web Related]]></category>
		<category><![CDATA[Windows OS]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[KSH]]></category>

		<guid isPermaLink="false">http://losbyers.com/wordpress/?p=39</guid>
		<description><![CDATA[<p>So you want to change some text in many unix files.</p>
<p>Try the following.</p>
<p>perl -pi -e &#8217;s/find/replace/g&#8217; *.txt</p>
<p>or to script it out.
Find the TEXT in regular files and replace with NEWTEXT</p>
<p>for file in `find ./ -type f -exec grep -l TEXT {} \;`
do
perl -pi -e &#8217;s/TEXT/NEWTEXT/g&#8217; $file 
done </p>
<p>I found out how to pass KSH variables [...]]]></description>
			<content:encoded><![CDATA[<p><span>So you want to change some text in many unix files.</p>
<p>Try the following.</p>
<p>perl -pi -e &#8217;s/find/replace/g&#8217; *.txt</p>
<p>or to script it out.<br />
Find the TEXT in regular files and replace with NEWTEXT</p>
<p>for file in `find ./ -type f -exec grep -l TEXT {} \;`<br />
do<br />
<strong>perl -pi -e &#8217;s/TEXT/NEWTEXT/g&#8217; $file </strong><br />
done </span></p>
<p><span><span id="more-39"></span></span><span>I found out how to pass KSH variables to awk, just in case this ever comes in handy.</p>
<p><span style="font-weight: bold;">VAR=&#8221;some_data&#8221;</p>
<p>echo &#8220;This is nice&#8221; | awk &#8216;{ print $1, avar, $2, $3 }&#8217; avar=$VAR</span></p>
<p>&gt; This some_data is nice</p>
<p>Or a better example; Changing file names.</p>
<p><span style="font-weight: bold;">VAR=&#8221;.poop&#8221;<br />
for x in *.php<br />
do<br />
echo &#8220;moving $x to \c&#8221; ;echo $x | awk -F. &#8216;{ print $1 newext }&#8217; newext=$VAR<br />
mv $x `echo $x | awk -F. &#8216;{ print $1 newext }&#8217; newext=$VAR&#8217;`<br />
done</span></p>
<p>&gt; moving test1.php to test1.poop<br />
&gt; moving test2.php to test2.poop<br />
&gt; moving test3.php to test3.poop</p>
<p>Of course if you had a file called test.this.file.php the awk statement above would mv it to test.poop and drop the other items after the first period.  There is probably a nice way to code around this, but hey, this works. for now.</span></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Flosbyers.com%2Fwordpress%2F2009%2F12%2Fcommand-line-search-and-replace%2F&amp;linkname=Command%20Line%20Search%20and%20Replace"><img src="http://losbyers.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://losbyers.com/wordpress/2009/12/command-line-search-and-replace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
