<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Cranky Bit</title>
	<atom:link href="http://blog.crankybit.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.crankybit.com</link>
	<description>Take a byte out of tech!</description>
	<lastBuildDate>Tue, 15 May 2012 14:56:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>Comment on Why That Batch For Loop Isn&#8217;t Working by Aj N</title>
		<link>http://blog.crankybit.com/why-that-batch-for-loop-isnt-working/#comment-135610</link>
		<dc:creator>Aj N</dc:creator>
		<pubDate>Tue, 15 May 2012 14:56:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/why-that-batch-for-loop-isnt-working/#comment-135610</guid>
		<description>Thank you for this wonderful tip. For loop incremeters in Batch Script used to be the toughest challenge for me and I used to use a lot of GOTO labels in my scripts earlier. This solves my problem like a Charm!
Thanks once again!</description>
		<content:encoded><![CDATA[<p>Thank you for this wonderful tip. For loop incremeters in Batch Script used to be the toughest challenge for me and I used to use a lot of GOTO labels in my scripts earlier. This solves my problem like a Charm!<br />
Thanks once again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Why That Batch For Loop Isn&#8217;t Working by Sabsy</title>
		<link>http://blog.crankybit.com/why-that-batch-for-loop-isnt-working/#comment-135486</link>
		<dc:creator>Sabsy</dc:creator>
		<pubDate>Mon, 14 May 2012 05:29:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/why-that-batch-for-loop-isnt-working/#comment-135486</guid>
		<description>Thanks mate, your article was a lifesaver. This problem was doing my head in! :)</description>
		<content:encoded><![CDATA[<p>Thanks mate, your article was a lifesaver. This problem was doing my head in! <img src='http://blog.crankybit.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Looping Through Datagrid Rows in Flex by Yoseph M.</title>
		<link>http://blog.crankybit.com/looping-through-datagrid-rows-in-flex/#comment-135282</link>
		<dc:creator>Yoseph M.</dc:creator>
		<pubDate>Fri, 11 May 2012 06:07:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=301#comment-135282</guid>
		<description>thanks for this post. It was very helpful for me.</description>
		<content:encoded><![CDATA[<p>thanks for this post. It was very helpful for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Solution to Flex Remoting Over SSL by Jim</title>
		<link>http://blog.crankybit.com/flex-remoting-over-ssl/#comment-135247</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Thu, 10 May 2012 13:32:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/flex-remoting-over-ssl/#comment-135247</guid>
		<description>Any fix?</description>
		<content:encoded><![CDATA[<p>Any fix?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Solution to Flex Remoting Over SSL by Jim</title>
		<link>http://blog.crankybit.com/flex-remoting-over-ssl/#comment-135246</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Thu, 10 May 2012 13:31:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/flex-remoting-over-ssl/#comment-135246</guid>
		<description>faultDetail=&quot;NetConnection.Call.Failed: HTTP: Failed&quot;]

I can&#039;t believe no one can figure this out. I don&#039;t think it has to do with a server. I have been accessing a new program for my job. It worked fine for a while. I update something and it stopped working resulting in the above code. What is odd is I have three user profiles on my computer. The program works fine when I access it from the other two user profiles. It does not work when I try to access it from mine.Something has changed on my profile. I can&#039;t figure out for the life of me what has changed. I am using explorer 9 and the latest Adobe. I have tried uninstalling and re instalin both Explorer and Adobe. Nothing works.</description>
		<content:encoded><![CDATA[<p>faultDetail=&#8221;NetConnection.Call.Failed: HTTP: Failed&#8221;]</p>
<p>I can&#8217;t believe no one can figure this out. I don&#8217;t think it has to do with a server. I have been accessing a new program for my job. It worked fine for a while. I update something and it stopped working resulting in the above code. What is odd is I have three user profiles on my computer. The program works fine when I access it from the other two user profiles. It does not work when I try to access it from mine.Something has changed on my profile. I can&#8217;t figure out for the life of me what has changed. I am using explorer 9 and the latest Adobe. I have tried uninstalling and re instalin both Explorer and Adobe. Nothing works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Solution to Flex Remoting Over SSL by tandblekninng med laser</title>
		<link>http://blog.crankybit.com/flex-remoting-over-ssl/#comment-135218</link>
		<dc:creator>tandblekninng med laser</dc:creator>
		<pubDate>Thu, 10 May 2012 04:01:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/flex-remoting-over-ssl/#comment-135218</guid>
		<description>&lt;strong&gt;tandblekninng med laser...&lt;/strong&gt;

[...]q Its like you read my mind! You seem to know a lot about this, like you wrot 87[...]...</description>
		<content:encoded><![CDATA[<p><strong>tandblekninng med laser&#8230;</strong></p>
<p>[...]q Its like you read my mind! You seem to know a lot about this, like you wrot 87[...]&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using LIKE in Query of Queries SQL by Like query &#124; Jaykaymotors</title>
		<link>http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-134736</link>
		<dc:creator>Like query &#124; Jaykaymotors</dc:creator>
		<pubDate>Thu, 03 May 2012 23:12:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/using-like-in-query-of-queries-sql/#comment-134736</guid>
		<description>[...] Cranky Bit &#187; Using LIKE in Query of Queries SQLJul 12, 2007 &#8230; But you can search for more than &#8216;StartOfPhrase%&#8217; when using LIKE. I have an app that calls an LDAP query and then uses QoQ to find all &#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] Cranky Bit &#187; Using LIKE in Query of Queries SQLJul 12, 2007 &#8230; But you can search for more than &#8216;StartOfPhrase%&#8217; when using LIKE. I have an app that calls an LDAP query and then uses QoQ to find all &#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Redirecting Output to a File in Windows Batch Scripts by Adrian</title>
		<link>http://blog.crankybit.com/redirecting-output-to-a-file-in-windows-batch-scripts/#comment-134579</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Tue, 01 May 2012 18:28:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/redirecting-output-to-a-file-in-windows-batch-scripts/#comment-134579</guid>
		<description>I needed ro run the s script as a batch job, and wanted the ourput and errors, but did not want to redirect ecerything either, so I created a wrapper script, which allowed all output to go to the file, when required.

@ECHO OFF
REM==============================================================
REM  XXX_SYSTARTUP.CMD
REM
SET mydir=%~DP0
IF NOT EXIST %mydir%xxx_systartup_win.cmd GOTO :bad_exit
%mydir%xxx_systartup_win &gt; %mydir%xxx_systartup_win.log 2&gt;&amp;1
REM
REM N.B. The called script never returns
REM
:bad_exit
ECHO xxx_systartup.cmd - System Startup Failed &gt;&gt; %mydir%xxx_systartup_win.log
EXIT /B 2</description>
		<content:encoded><![CDATA[<p>I needed ro run the s script as a batch job, and wanted the ourput and errors, but did not want to redirect ecerything either, so I created a wrapper script, which allowed all output to go to the file, when required.</p>
<p>@ECHO OFF<br />
REM==============================================================<br />
REM  XXX_SYSTARTUP.CMD<br />
REM<br />
SET mydir=%~DP0<br />
IF NOT EXIST %mydir%xxx_systartup_win.cmd GOTO :bad_exit<br />
%mydir%xxx_systartup_win &gt; %mydir%xxx_systartup_win.log 2&gt;&amp;1<br />
REM<br />
REM N.B. The called script never returns<br />
REM<br />
:bad_exit<br />
ECHO xxx_systartup.cmd &#8211; System Startup Failed &gt;&gt; %mydir%xxx_systartup_win.log<br />
EXIT /B 2</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PrintJobMgr Uses 99% CPU by AsumaBob</title>
		<link>http://blog.crankybit.com/printjobmgr-uses-99-cpu/#comment-133253</link>
		<dc:creator>AsumaBob</dc:creator>
		<pubDate>Wed, 18 Apr 2012 15:42:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/printjobmgr-uses-99-cpu/#comment-133253</guid>
		<description>Dude, I think I love you.
Thanks so much.</description>
		<content:encoded><![CDATA[<p>Dude, I think I love you.<br />
Thanks so much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Why That Batch For Loop Isn&#8217;t Working by jayrod</title>
		<link>http://blog.crankybit.com/why-that-batch-for-loop-isnt-working/#comment-129912</link>
		<dc:creator>jayrod</dc:creator>
		<pubDate>Mon, 19 Mar 2012 01:50:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/why-that-batch-for-loop-isnt-working/#comment-129912</guid>
		<description>This post was very helpful... 
i want to learn batch scripting so i volunteered to create a simple monitoring script here... 
i was stuck at this problem for three days.. :(
i did use setLocal EnableDelayedExpansion, but still cannot echo the variable that i want to display..
so the key was using &quot;!&quot; instead of &quot;%&quot; while inside the FOR loop.

Thanks again! :)</description>
		<content:encoded><![CDATA[<p>This post was very helpful&#8230;<br />
i want to learn batch scripting so i volunteered to create a simple monitoring script here&#8230;<br />
i was stuck at this problem for three days.. <img src='http://blog.crankybit.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
i did use setLocal EnableDelayedExpansion, but still cannot echo the variable that i want to display..<br />
so the key was using &#8220;!&#8221; instead of &#8220;%&#8221; while inside the FOR loop.</p>
<p>Thanks again! <img src='http://blog.crankybit.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Why That Batch For Loop Isn&#8217;t Working by user</title>
		<link>http://blog.crankybit.com/why-that-batch-for-loop-isnt-working/#comment-129290</link>
		<dc:creator>user</dc:creator>
		<pubDate>Wed, 14 Mar 2012 07:09:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/why-that-batch-for-loop-isnt-working/#comment-129290</guid>
		<description>This post is very helpful!</description>
		<content:encoded><![CDATA[<p>This post is very helpful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Solution to Flex Remoting Over SSL by Balashankar</title>
		<link>http://blog.crankybit.com/flex-remoting-over-ssl/#comment-129122</link>
		<dc:creator>Balashankar</dc:creator>
		<pubDate>Mon, 12 Mar 2012 22:16:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/flex-remoting-over-ssl/#comment-129122</guid>
		<description>I followed the steps you have given, but why this error comes?

(mx.messaging.messages::ErrorMessage)#0
  body = (null)
  clientId = &quot;EBEBD2B1-1B0D-4FBA-96D7-E4EF997B458E&quot;
  correlationId = &quot;B5BB5A82-F351-0C08-F627-08FA97B7E72B&quot;
  destination = &quot;ColdFusion&quot;
  extendedData = (null)
  faultCode = &quot;Server.Processing&quot;
  faultDetail = (null)
  faultString = &quot;Destination &#039;ColdFusion&#039; not accessible over channel &#039;my-cfamf-secure&#039;.&quot;
  headers = (Object)#1
  messageId = &quot;EBEBD2B1-1B1E-01EC-285E-843B7C436FEB&quot;
  rootCause = (null)
  timestamp = 1331590502987
  timeToLive = 0</description>
		<content:encoded><![CDATA[<p>I followed the steps you have given, but why this error comes?</p>
<p>(mx.messaging.messages::ErrorMessage)#0<br />
  body = (null)<br />
  clientId = &#8220;EBEBD2B1-1B0D-4FBA-96D7-E4EF997B458E&#8221;<br />
  correlationId = &#8220;B5BB5A82-F351-0C08-F627-08FA97B7E72B&#8221;<br />
  destination = &#8220;ColdFusion&#8221;<br />
  extendedData = (null)<br />
  faultCode = &#8220;Server.Processing&#8221;<br />
  faultDetail = (null)<br />
  faultString = &#8220;Destination &#8216;ColdFusion&#8217; not accessible over channel &#8216;my-cfamf-secure&#8217;.&#8221;<br />
  headers = (Object)#1<br />
  messageId = &#8220;EBEBD2B1-1B1E-01EC-285E-843B7C436FEB&#8221;<br />
  rootCause = (null)<br />
  timestamp = 1331590502987<br />
  timeToLive = 0</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Why That Batch For Loop Isn&#8217;t Working by Colin Firth</title>
		<link>http://blog.crankybit.com/why-that-batch-for-loop-isnt-working/#comment-127724</link>
		<dc:creator>Colin Firth</dc:creator>
		<pubDate>Mon, 27 Feb 2012 20:25:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/why-that-batch-for-loop-isnt-working/#comment-127724</guid>
		<description>Dianna,

I have attempted to recreate your problem but it has worked every time for me.  What I would like to alert you of, is that you needn&#039;t use &#039;type&#039; .  You can just use (filename.txt) and it will do the same thing. This may help in your situation.</description>
		<content:encoded><![CDATA[<p>Dianna,</p>
<p>I have attempted to recreate your problem but it has worked every time for me.  What I would like to alert you of, is that you needn&#8217;t use &#8216;type&#8217; .  You can just use (filename.txt) and it will do the same thing. This may help in your situation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Why That Batch For Loop Isn&#8217;t Working by ben</title>
		<link>http://blog.crankybit.com/why-that-batch-for-loop-isnt-working/#comment-127154</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Wed, 22 Feb 2012 16:14:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/why-that-batch-for-loop-isnt-working/#comment-127154</guid>
		<description>thank you!</description>
		<content:encoded><![CDATA[<p>thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Why That Batch For Loop Isn&#8217;t Working by Diana</title>
		<link>http://blog.crankybit.com/why-that-batch-for-loop-isnt-working/#comment-126817</link>
		<dc:creator>Diana</dc:creator>
		<pubDate>Fri, 17 Feb 2012 22:02:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/why-that-batch-for-loop-isnt-working/#comment-126817</guid>
		<description>I am new at window&#039;s scripting and have a question.
I have a file called temp_file that has the following 3 lines
A
B
C
 
FOR /f %%i in (%temp_file%) DO echo %%i     

It correctly shows
A
B
C

But when I try executing  

FOR /f %%i in (&#039;type %temp_file%&#039;) DO (@call cycle.bat %%i)

it only executes cycle.bat once and passes A as a parameter, instead of looping 3 times.
Any help is appreciated.</description>
		<content:encoded><![CDATA[<p>I am new at window&#8217;s scripting and have a question.<br />
I have a file called temp_file that has the following 3 lines<br />
A<br />
B<br />
C</p>
<p>FOR /f %%i in (%temp_file%) DO echo %%i     </p>
<p>It correctly shows<br />
A<br />
B<br />
C</p>
<p>But when I try executing  </p>
<p>FOR /f %%i in (&#8216;type %temp_file%&#8217;) DO (@call cycle.bat %%i)</p>
<p>it only executes cycle.bat once and passes A as a parameter, instead of looping 3 times.<br />
Any help is appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Shrink the Unshrinkable SQL Transaction Log by Paul</title>
		<link>http://blog.crankybit.com/shrink-the-unshrinkable-sql-transaction-log/#comment-126231</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Fri, 10 Feb 2012 17:49:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=309#comment-126231</guid>
		<description>Thank you. Many attempts to shrink the log file in SQL 2005 did not work and I Googled it in the end and found your solution which worked perfectly.</description>
		<content:encoded><![CDATA[<p>Thank you. Many attempts to shrink the log file in SQL 2005 did not work and I Googled it in the end and found your solution which worked perfectly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Redirecting Output to a File in Windows Batch Scripts by Josh</title>
		<link>http://blog.crankybit.com/redirecting-output-to-a-file-in-windows-batch-scripts/#comment-126035</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Wed, 08 Feb 2012 15:54:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/redirecting-output-to-a-file-in-windows-batch-scripts/#comment-126035</guid>
		<description>Tony, I&#039;m not sure but I don&#039;t think Windows provides that kind of encapsulation of the output.</description>
		<content:encoded><![CDATA[<p>Tony, I&#8217;m not sure but I don&#8217;t think Windows provides that kind of encapsulation of the output.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Redirecting Output to a File in Windows Batch Scripts by Josh</title>
		<link>http://blog.crankybit.com/redirecting-output-to-a-file-in-windows-batch-scripts/#comment-126034</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Wed, 08 Feb 2012 15:52:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/redirecting-output-to-a-file-in-windows-batch-scripts/#comment-126034</guid>
		<description>This is because the plain date command echoes the date in a format that is not file-friendly, such as &quot;Wed 02/08/2012&quot;. When I&#039;m generating a filename based on date, I do something like this:

%date:~10,4%-%date:~4,2%-%date:~7,2%-%date:~0,3%

Which would generate something comparable to this: &quot;2012-02-08-Wed&quot; which is friendly for a filename.

Hope this helps.</description>
		<content:encoded><![CDATA[<p>This is because the plain date command echoes the date in a format that is not file-friendly, such as &#8220;Wed 02/08/2012&#8243;. When I&#8217;m generating a filename based on date, I do something like this:</p>
<p>%date:~10,4%-%date:~4,2%-%date:~7,2%-%date:~0,3%</p>
<p>Which would generate something comparable to this: &#8220;2012-02-08-Wed&#8221; which is friendly for a filename.</p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Redirecting Output to a File in Windows Batch Scripts by Mark</title>
		<link>http://blog.crankybit.com/redirecting-output-to-a-file-in-windows-batch-scripts/#comment-126024</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 08 Feb 2012 12:56:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/redirecting-output-to-a-file-in-windows-batch-scripts/#comment-126024</guid>
		<description>What I&#039;m trying to do is very similar but I want to use commandline variable to name the file.  What I&#039;m trying to do is something like:

chkdsk h: &gt; %date%.txt

But this doesn&#039;t work

Any Ideas??</description>
		<content:encoded><![CDATA[<p>What I&#8217;m trying to do is very similar but I want to use commandline variable to name the file.  What I&#8217;m trying to do is something like:</p>
<p>chkdsk h: &gt; %date%.txt</p>
<p>But this doesn&#8217;t work</p>
<p>Any Ideas??</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Solution to Flex Remoting Over SSL by MikeG</title>
		<link>http://blog.crankybit.com/flex-remoting-over-ssl/#comment-125962</link>
		<dc:creator>MikeG</dc:creator>
		<pubDate>Wed, 08 Feb 2012 01:47:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/flex-remoting-over-ssl/#comment-125962</guid>
		<description>I spent a lot of time today trying to figure out why Flex Remoting was not working.  These instructions are old hat and normal stuff for us but we just could not get it working.  So, I took a dive into the cfusion-event.log and cfusion-out.log files and found the problem.  Somehow an extra node was added to the properties node in the services-config.xml file.  The log files pointed me right to it.  So, for anyone else who is scratching their head wondering why it aint working, take a good look at those log files.  The easiest way to is stop CF, move all the log files (jrun4\logs for enterprise version) somewhere else. Start CF and it will re create the files.  Now open up the log files looking for errors.  In my case, this was the error, clear as day
javax.servlet.ServletException: Unrecognized tag found in &lt;properties&gt;.  Please consult the documentation to determine if the tag is invalid or belongs inside of a different tag: 
  &#039;/instantiate-types&#039; in channel with id: &#039;my-cfamf-secure&#039; from file: services-config.xml
I removed that node from the xml file, restarted CF and all was golden.  So, don&#039;t forget your log files..</description>
		<content:encoded><![CDATA[<p>I spent a lot of time today trying to figure out why Flex Remoting was not working.  These instructions are old hat and normal stuff for us but we just could not get it working.  So, I took a dive into the cfusion-event.log and cfusion-out.log files and found the problem.  Somehow an extra node was added to the properties node in the services-config.xml file.  The log files pointed me right to it.  So, for anyone else who is scratching their head wondering why it aint working, take a good look at those log files.  The easiest way to is stop CF, move all the log files (jrun4\logs for enterprise version) somewhere else. Start CF and it will re create the files.  Now open up the log files looking for errors.  In my case, this was the error, clear as day<br />
javax.servlet.ServletException: Unrecognized tag found in &lt;properties&gt;.  Please consult the documentation to determine if the tag is invalid or belongs inside of a different tag:<br />
  &#8216;/instantiate-types&#8217; in channel with id: &#8216;my-cfamf-secure&#8217; from file: services-config.xml<br />
I removed that node from the xml file, restarted CF and all was golden.  So, don&#8217;t forget your log files..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

