<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-25573579</id><updated>2025-08-31T06:43:16.697+08:00</updated><category term="admin scripts"/><category term="developer scripts"/><category term="windows xp"/><category term="wsh"/><category term="freeware"/><category term="wmi"/><category term="vbs"/><category term="query scripts"/><category term="api script"/><category term="pinoy scripts"/><category term="powershell"/><category term="ultimate secret"/><category term="Citrix"/><category term="msxml"/><category term="NT Scripts"/><category term="google search"/><category term="root\cimv2"/><category term="root\wmi"/><category term="Mods"/><category term="google"/><category term="iPod Touch"/><category term="login scripts"/><category term="ps1"/><category term="wmic"/><category term=".Document.getElementsByTagName"/><category term="ActiveX"/><category term="Kixtart"/><category term="PS4"/><category term="SMTP"/><category term="adsense"/><category term="eCPM"/><category term="iPhone Browser"/><category term="intext"/><category term="intitle"/><category term="inurl"/><category term="open source"/><category term="search tricks"/><category term="wbem"/><category term="web design"/><category term=".Net"/><category term="MFCOM"/><category term="MSXML2.ServerXMLHTTP.4.0"/><category term="UDF"/><category term="cpu process enum"/><category term="cpu temperature probe"/><category term="digital blah blah&#39;s"/><category term="email"/><category term="free music download"/><category term="ftp"/><category term="google dorks"/><category term="iGopher"/><category term="pinoy"/><category term="string"/><category term="uncyclopedia"/><category term="wafufu"/><category term="win32_performattedData_perfOS_System"/><category term=".Net Class"/><category term="2K3"/><category term="ADODB.Stream"/><category term="Agent.Control"/><category term="Apache"/><category term="Cable"/><category term="FormatDateTime"/><category term="IBM"/><category term="Ice"/><category term="Kixtart Copy"/><category term="Local Intranet"/><category term="MIME::Lite"/><category term="MSAcpi_ThermalZoneTemperature"/><category term="MatchDirect"/><category term="MatchInternet"/><category term="MatchIntranet"/><category term="Microsoft.XMLHTTP"/><category term="Monolith"/><category term="Monopoly"/><category term="MySQL"/><category term="NT Backup"/><category term="Net::SMTP"/><category term="OJ and a raw egg"/><category term="OWA"/><category term="Oist"/><category term="Outlook"/><category term="PHP"/><category term="Paint.net"/><category term="Perl SMTP"/><category term="Price Increase"/><category term="Proxy Server"/><category term="RegObj.Registry"/><category term="Scripting.FileSystemObject"/><category term="Shell.Application"/><category term="Social Map"/><category term="System.Net.Mail.MailMessage"/><category term="Trusted Site"/><category term="WMI Ping"/><category term="WPAD"/><category term="WScript.Shell"/><category term="Win32_NTEventLogFile"/><category term="Win32_PingStatus"/><category term="bagoong"/><category term="bsod"/><category term="cgi"/><category term="club soda"/><category term="dnsDomainIs"/><category term="emergency"/><category term="ext"/><category term="family"/><category term="filetype"/><category term="filipino"/><category term="ftp script"/><category term="garci"/><category term="gma"/><category term="google dork"/><category term="graphic design software"/><category term="hangover"/><category term="hangover cure"/><category term="image editing"/><category term="imaging software"/><category term="isPlainHostName"/><category term="javascript"/><category term="jologs"/><category term="kernel debugging"/><category term="lactobacilli shirota strain"/><category term="life matters"/><category term="live cams"/><category term="macro"/><category term="mobile awareness"/><category term="perl"/><category term="philippines"/><category term="pinakbet"/><category term="pinas"/><category term="pinay"/><category term="prodigal son"/><category term="public awareness"/><category term="rabbit dropping"/><category term="remedy"/><category term="replytoall"/><category term="safety"/><category term="smtp.credentials"/><category term="software inventory"/><category term="soyouwannat.com"/><category term="tapa"/><category term="thermal stamp"/><category term="user list"/><category term="wafufu . password"/><category term="wiki on pinas"/><category term="willie revillame"/><category term="win32_product"/><category term="win32_service"/><category term="yahoo"/><category term="yakult"/><title type='text'>The Prodigal Son on 26th G Street</title><subtitle type='html'>&lt;br&gt;&lt;br&gt;All Rights Reserved.&#xa;Est 1978, Proud Noypi 4Lyf - 3 Stars and the Sun.&#xa;&lt;br&gt;&#xa;Prodigal Son&#39;s digital scribbles, thoughts and code snippets.&#xa;&lt;br&gt;&lt;br&gt;26thGstreet (C) Copyright Unregistered Trade Mark.&#xa;&lt;br&gt;Gimoterapee (C) Copyright Unregistered Trade Mark.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>56</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-25573579.post-9016743666169180357</id><published>2011-11-14T18:04:00.003+08:00</published><updated>2011-11-14T18:15:57.829+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="admin scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="api script"/><category scheme="http://www.blogger.com/atom/ns#" term="developer scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="freeware"/><category scheme="http://www.blogger.com/atom/ns#" term="google search"/><category scheme="http://www.blogger.com/atom/ns#" term="open source"/><category scheme="http://www.blogger.com/atom/ns#" term="vbs"/><title type='text'>HowTo: Pretend you are working (While Text Browsing)</title><content type='html'>&lt;span style=&quot;font-size:85%;&quot;&gt;Commandline Web Browser&lt;span style=&quot;font-style: italic;&quot;&gt; (Just like lynx)&lt;/span&gt; using VbScript and IE API.&lt;br /&gt;&lt;br /&gt;About the code: The code below will use the Internet Explorer API to load the top 20 stories from &lt;a href=&quot;http://news.google.com/&quot;&gt;google news&lt;/a&gt; and choosing one of the article will load the document html of the target URL for you to be able to read news from your DOS command line. Best way to look like you are still working on a code while actually reading news without opening any web browsers :p&lt;br /&gt;&lt;br /&gt;Requirements: IE 6++&lt;br /&gt;&lt;br /&gt;Code Snippet:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;Sub Loadnews()&lt;br /&gt;    Dim arrTestArray()&lt;br /&gt;    Dim urlSelect&lt;br /&gt;    intSize = 0&lt;br /&gt;        Dim rInterval:rInterval=60&lt;br /&gt;    Dim sTime:sTime = Now&lt;br /&gt;    Set ie = CreateObject(&quot;InternetExplorer.Application&quot;)&lt;br /&gt;    with ie&lt;br /&gt;        .visible = 0&lt;br /&gt;            .navigate &quot;http://news.google.com/&quot;&lt;br /&gt;        WScript.StdOut.Write vbcrlf &amp;amp; vbtab &amp;amp; &quot;Loading Top Stories for @ &quot; &amp;amp; Now&lt;br /&gt;        while .busy&lt;br /&gt;            WScript.StdOut.Write &quot;.&quot;&lt;br /&gt;            WScript.Sleep 1000&lt;br /&gt;            wend&lt;br /&gt;        WScript.Echo vbcrlf &amp;amp; vbtab &amp;amp; &quot;elapsed     : &quot; &amp;amp; datediff(&quot;s&quot;,sTime,Now) &amp;amp; &quot; secs&quot;&lt;br /&gt;        WScript.Echo vbtab &amp;amp; &quot;next refresh: &quot; &amp;amp; dateadd(&quot;s&quot;,rInterval,Now) &amp;amp; &quot; secs&quot; &amp;amp; vbcrlf&lt;br /&gt;        dim ctr:ctr=1&lt;br /&gt;        Set newsTitle = .Document.getElementsByTagName(&quot;a&quot;)&lt;br /&gt;        For each xTag in newsTitle&lt;br /&gt;             If instr(xTag.InnerHTML,&quot;titletext&quot;) &amp;gt;0 then&lt;br /&gt;            WScript.Echo vbcrlf &amp;amp; vbtab &amp;amp; ctr &amp;amp; &quot;. &quot; &amp;amp; xTag.InnerText &amp;amp; _&lt;br /&gt;                     &quot;...&quot; &amp;amp; vbcrlf &amp;amp; vbTab &amp;amp; &quot;[&quot; &amp;amp; xTag &amp;amp; &quot;]&quot;&lt;br /&gt;            ctr = ctr + 1&lt;br /&gt;            ReDim Preserve arrTestArray(intSize)&lt;br /&gt;            arrTestArray(intSize) = xTag&lt;br /&gt;            intSize = intSize + 1&lt;br /&gt;            If ctr &amp;gt;20 Then Exit For&lt;br /&gt;         End If&lt;br /&gt;        Next&lt;br /&gt;    end with&lt;br /&gt;    ie.quit&lt;br /&gt;    Set ie = nothing&lt;br /&gt;    Dim sleepctr:sleepctr=1&lt;br /&gt;    WScript.StdOut.Write vbcrlf &amp;amp; vbtab &amp;amp; &quot;Choose an article #: &quot;&lt;br /&gt;&lt;br /&gt;        urlSelect = WScript.StdIn.ReadLine&lt;br /&gt;        Set ie = CreateObject(&quot;InternetExplorer.Application&quot;)&lt;br /&gt;        Dim tgt:tgt=arrTestArray(urlSelect-1)&lt;br /&gt;        with ie&lt;br /&gt;             .navigate tgt&lt;br /&gt;            WScript.StdOut.Write vbcrlf &amp;amp; vbtab &amp;amp; &quot;Loading [URL]...&quot; &amp;amp; arrTestArray(urlSelect-1)&lt;br /&gt;            while .busy&lt;br /&gt;                WScript.StdOut.Write &quot;.&quot;&lt;br /&gt;                WScript.Sleep 1000&lt;br /&gt;            wend&lt;br /&gt;            WScript.Echo .Document.Body.InnerText&lt;br /&gt;        end with&lt;br /&gt;        WScript.StdOut.Write vbcrlf &amp;amp; vbtab &amp;amp; &quot;Press any key to continue...&quot;&lt;br /&gt;        jcontinue = WScript.StdIn.ReadLine&lt;br /&gt;&lt;br /&gt;End Sub&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Screen grab:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgp1Hh9jGI4WwB_7ZFZZt7aKL4XMp5Th4Xg9jhMrPCMxBJRnUlTwl8Q2oH5a4XTGUxT4Ga99xq1G4CqTayqAF02g9yiAIZXJ2dj-kskE9CLpafmVFcwOZtuyuQ0deZwTNiKYNkO/s1600/screengrab51.jpg&quot;&gt;&lt;img style=&quot;cursor:pointer; cursor:hand;width: 320px; height: 222px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgp1Hh9jGI4WwB_7ZFZZt7aKL4XMp5Th4Xg9jhMrPCMxBJRnUlTwl8Q2oH5a4XTGUxT4Ga99xq1G4CqTayqAF02g9yiAIZXJ2dj-kskE9CLpafmVFcwOZtuyuQ0deZwTNiKYNkO/s320/screengrab51.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5674792539928461858&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If at first you fail, call it version 1.0&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/9016743666169180357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/9016743666169180357?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/9016743666169180357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/9016743666169180357'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2011/11/howto-pretend-you-are-working-while.html' title='HowTo: Pretend you are working (While Text Browsing)'/><author><name>Gimoterapee</name><uri>http://www.blogger.com/profile/00149445003614926486</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgp1Hh9jGI4WwB_7ZFZZt7aKL4XMp5Th4Xg9jhMrPCMxBJRnUlTwl8Q2oH5a4XTGUxT4Ga99xq1G4CqTayqAF02g9yiAIZXJ2dj-kskE9CLpafmVFcwOZtuyuQ0deZwTNiKYNkO/s72-c/screengrab51.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-5791413018219357933</id><published>2011-05-10T19:47:00.004+08:00</published><updated>2018-06-15T09:06:49.626+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="digital blah blah&#39;s"/><title type='text'>How can someone so beautiful be so angry?</title><content type='html'>Have you ever met someone so beautiful... yet so angry?&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;They are common nowadays... you can&#39;t seem to figure out the root of their anger....&lt;/div&gt;&lt;div&gt;Everyone has issues... who doesn&#39;t? &lt;/div&gt;&lt;div&gt;If you think you have bigger issues... there will always be someone out there with bigger dilemma... &lt;/div&gt;&lt;div&gt;It&#39;s just a matter of squaring it...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/5791413018219357933/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/5791413018219357933?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/5791413018219357933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/5791413018219357933'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2011/05/how-can-someone-so-beautiful-be-so-angry.html' title='How can someone so beautiful be so angry?'/><author><name>Gimoterapee</name><uri>http://www.blogger.com/profile/00149445003614926486</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-7202242539693366272</id><published>2011-05-10T19:30:00.008+08:00</published><updated>2018-06-15T09:06:49.895+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="digital blah blah&#39;s"/><title type='text'>I&#39;m blogging again... I must be bored.</title><content type='html'>&lt;div&gt;After a decade of stfu&#39;d attitude and spontaneous random life turning events...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I look back... what do I see? blurred vision... which is good as I would not want to look back... I just wanna keep moving forward... without hesitation...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Few questions that bogged me and pushed me to blog again... hoping someone from somewhere will somehow comment on my stupidity...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;How do you prove your existence? &lt;/div&gt;&lt;div&gt;If you are in the memory of others, whether the past or present... &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;How do you know how far you&#39;ve gone? &lt;/div&gt;&lt;div&gt;When you look back and could not find the lines that divides the horizon... &lt;/div&gt;&lt;div&gt;no glimpse of light nor shadow from the past...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;How do you know if you&#39;ve had too many? &lt;/div&gt;&lt;div&gt;When everyone starts ignoring your whining... &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Why so many how&#39;s?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Well, there are so many hows I want to learn now that I&#39;m back... hopefully in time I could make something out of it...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hopefully this is more productive than bein&#39; a couch potato watching reruns and the same movies over and over again... &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;What could I make out of all of this? &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Digital blah blah&#39;s...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/7202242539693366272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/7202242539693366272?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/7202242539693366272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/7202242539693366272'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2011/05/im-blogging-again-i-must-be-bored.html' title='I&#39;m blogging again... I must be bored.'/><author><name>Gimoterapee</name><uri>http://www.blogger.com/profile/00149445003614926486</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-7082750604790747097</id><published>2010-12-28T06:15:00.001+08:00</published><updated>2010-12-28T06:15:14.637+08:00</updated><title type='text'>Gingerbread ported on N900</title><content type='html'>&lt;div class=&quot; ClipTheme newspaper&quot;&gt;&lt;div class=&quot;Amp_Content_Outer&quot;&gt;&lt;div class=&quot;Amp_Top_Wrap&quot;&gt;&lt;div class=&quot;Amp_Source_First&quot;&gt;&lt;span&gt;Amplify&amp;rsquo;d from &lt;a rel=&quot;clipsource&quot; target=&quot;_blank&quot; title=&quot;http://www.hardwarezone.com/tech-news/view/115602&quot; href=&quot;http://www.hardwarezone.com/tech-news/view/115602&quot;&gt;www.hardwarezone.com&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;Amp_Middle_Wrap&quot;&gt;&lt;blockquote class=&quot;Amp_Content_Item&quot; cite=&quot;http://www.hardwarezone.com/tech-news/view/115602&quot;&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tr&gt;&lt;td&gt;&lt;div class=&quot;TxtCntnt&quot;&gt;&lt;div id=&quot;AutoGeneratedID-0&quot;&gt;&lt;br /&gt;				 				&lt;div id=&quot;page-1&quot;&gt;&lt;br /&gt;			 		&lt;h2&gt;Android Gingerbread 2.3 Ported to Nokia N900&lt;/h2&gt;&lt;br /&gt;			 		&lt;p&gt;And the hackers have done it again. This time, Google&#39;s Gingerbread makes its way onto the Nokia N900, a device that was already running on the Linux-based Maemo OS. What makes this port even more impressive is the fact that the OS is running quite smoothly on the N900. Typically, you don&#39;t see that happening when another OS&amp;#160;not built for the device is ported over.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Engadget - Running Android on the Nokia N900 has been an ongoing theme for the better part of the past year -- and with hardware designed from the ground up to be both hackable and high-end, we&#39;d expect no less. Indeed, Android 2.3 is the latest victim of an N900 sneak attack, and impressively, core components like messaging already seem to be working -- likely thanks to the fact that hackers had already gotten pre-2.3 builds rock solid. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;Now, wouldn&#39;t it be great if the Android OS was ported to the Nokia N8? Perhaps, that would have solved &lt;a rel=&quot;nofollow&quot;  href=&quot;http://www.hardwarezone.com/product-guide/view/28935/review/94549/page:3&quot;&gt;a whole lot of performance issues&lt;/a&gt; with Nokia&#39;s flagship model. Read more about the Android 2.3 port onto the Nokia N900 over &lt;a rel=&quot;nofollow&quot;  href=&quot;http://www.engadget.com/2010/12/26/nokia-n900-mixed-with-gingerbread-baked-at-425-degrees-for-16-1/&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;				&lt;/div&gt;&lt;br /&gt;			&lt;/div&gt;&lt;/div&gt;&lt;span class=&quot;Amp_Source_Button&quot;&gt;&lt;a rel=&quot;clipsource&quot; target=&quot;_blank&quot; title=&quot;http://www.hardwarezone.com/tech-news/view/115602&quot; href=&quot;http://www.hardwarezone.com/tech-news/view/115602&quot;&gt;Read more at www.hardwarezone.com&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div class=&quot;Amp_Bottom_Wrap&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;Amp_Link&quot;&gt;See this Amp at &lt;a href=&quot;http://amplify.com/u/jpfu&quot;&gt;http://amplify.com/u/jpfu&lt;/a&gt;&lt;/div&gt;&lt;br/&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/7082750604790747097/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/7082750604790747097?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/7082750604790747097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/7082750604790747097'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2010/12/gingerbread-ported-on-n900.html' title='Gingerbread ported on N900'/><author><name>Smooth Fingerz</name><uri>http://www.blogger.com/profile/03241839209490580701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-328887302511655916</id><published>2008-07-15T00:16:00.002+08:00</published><updated>2018-06-15T09:06:49.443+08:00</updated><title type='text'>HowTo: Enumerate Scheduled Tasks (Using SCHTASKS.EXE)</title><content type='html'>&lt;p&gt;I cooked up a script to query the scheduled jobs on remote servers and pipe the output to a CSV file and utilize ADODB to query, populate an HTML template and use mailsend.exe to attach the HTML and send an email notification.&lt;/p&gt;  &lt;p&gt;Below are the common parameters using SCHTASKS /Query to enumerate the scheduled jobs which will be the back bone of the script.&lt;/p&gt;  &lt;p&gt;&lt;span style=&quot;color:#00ff00;&quot;&gt;SCHTASKS /Query [/S system [/U username [/P password]]] [/FO format]         &lt;br /&gt;    [/NH] [/V] [/?]                                                          &lt;br /&gt;Description:                                                                 &lt;br /&gt;    Enables an administrator to display the scheduled tasks on the           &lt;br /&gt;    local or remote system.                                                  &lt;br /&gt;Parameter List:                                                              &lt;br /&gt;    /S        system            -          Specifies the remote system to connect to.      &lt;br /&gt;    /U       username      -          Specifies the user context under which the command should execute.               &lt;br /&gt;    /P       password       -          Specifies the password for the user context.                                   &lt;br /&gt;    /FO    format             -          Specifies the output format to be displayed. Valid values: TABLE, LIST, CSV.      &lt;br /&gt;    /NH                              -          Specifies that the column header should not be displayed in the output.                     &lt;br /&gt;                                                       Valid only for TABLE and CSV formats.           &lt;br /&gt;    /V                                 -           Specifies additional output to be displayed.                                      &lt;br /&gt;    /?                                  -           Displays this help/usage.                       &lt;br /&gt;Examples:                                                                    &lt;br /&gt;    SCHTASKS /Query                                                          &lt;br /&gt;    SCHTASKS /Query /?                                                       &lt;br /&gt;    SCHTASKS /Query /S system /U user /P password                            &lt;br /&gt;    SCHTASKS /Query /FO LIST /V /S system /U user /P password                &lt;br /&gt;    SCHTASKS /Query /FO TABLE /NH /V&lt;/span&gt;                  &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Actual SCHTASKS command line executed from the script:&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style=&quot;color:#00ff40;&quot;&gt;Schtasks.exe /QUERY /S %SERVERNAME% /FO CSV /NH /V &amp;gt; OutputFile.CSV&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Actual Mailsend command line executed from the script:&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style=&quot;color:#00ff00;&quot;&gt;Mailsend.exe -sub %Subject%  -v &amp;lt; %Template% -cs &quot;ISO-8859-1&quot; -a &quot;%Attachment%,text/html,i&quot;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style=&quot;color:#00ff00;&quot;&gt;-sub &quot;Mail Subject&quot;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style=&quot;color:#00ff00;&quot;&gt;-v Verbose Mode&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style=&quot;color:#00ff00;&quot;&gt;&amp;lt; %Template% &lt;/span&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;span style=&quot;font-size:78%;color:#00ff00;&quot;&gt;       Template File Contains the following:&lt;/span&gt;&lt;/p&gt;    &lt;p&gt;&lt;span style=&quot;font-size:78%;color:#00ff00;&quot;&gt;       1st line :  SMTP Host&lt;/span&gt;&lt;/p&gt;    &lt;p&gt;&lt;span style=&quot;font-size:78%;color:#00ff00;&quot;&gt;       2nd line: Domain&lt;/span&gt;&lt;/p&gt;    &lt;p&gt;&lt;span style=&quot;font-size:78%;color:#00ff00;&quot;&gt;       3rd line: Sender&#39;s Email Address&lt;/span&gt;&lt;/p&gt;    &lt;p&gt;&lt;span style=&quot;font-size:78%;color:#00ff00;&quot;&gt;       4th Line: Recipient&#39;s Email Address&lt;/span&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;span style=&quot;color:#00ff00;&quot;&gt;-cs character set   - for text/plain attachments (default is us-ascii)&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style=&quot;color:#00ff00;&quot;&gt;-a file,mime_type  - attach this file&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style=&quot;color:#00ff00;&quot;&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style=&quot;color:#00ff00;&quot;&gt;CODE SNIPPET:&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;Function GetTasks()  &lt;br /&gt;    Set oShell = WScript.CreateObject (&quot;WSCript.shell&quot;) &lt;/p&gt;  &lt;p&gt;    Set objShell = CreateObject(&quot;WScript.Shell&quot;)  &lt;br /&gt;    Set fso = CreateObject(&quot;Scripting.FileSystemObject&quot;)   &lt;br /&gt;    workfile = &quot;OutputFile.csv&quot;&lt;/p&gt;  &lt;p&gt;    oShell.run &quot;cmd /c schtasks /QUERY /S %SERVERNAME% /FO CSV /NH /V &amp;gt; &quot;&amp;amp; workfile,0,true&lt;/p&gt;  &lt;p&gt;   Set objConnection = CreateObject(&quot;ADODB.Connection&quot;)  &lt;br /&gt;   Set objRecordSet = CreateObject(&quot;ADODB.Recordset&quot;) &lt;/p&gt;  &lt;p&gt;   strPathtoTextFile = &quot;%PATHtoCSV%&quot; &lt;/p&gt;  &lt;p&gt;objConnection.Open &quot;Provider=Microsoft.Jet.OLEDB.4.0;&quot; &amp;amp; _  &lt;br /&gt;&quot;Data Source=&quot; &amp;amp; strPathtoTextFile &amp;amp; &quot;;&quot; &amp;amp; _   &lt;br /&gt;     &quot;Extended Properties=&quot;&quot;text;HDR=YES;FMT=Delimited&quot;&quot;&quot; &lt;/p&gt;  &lt;p&gt;      strFile = &quot;OutputFile.csv&quot; &lt;/p&gt;  &lt;p&gt;  objRecordset.Open &quot;Select * FROM &quot; &amp;amp; strFile , _  &lt;br /&gt;  objConnection, adOpenStatic, adLockOptimistic, adCmdText&lt;/p&gt;  &lt;p&gt;Do Until objRecordset.EOF  &lt;/p&gt;  &lt;p&gt;&lt;span style=&quot;color:#00ff00;&quot;&gt;&#39;If the Last Result of the Job &amp;lt;&amp;gt; 0 then get the job details and write it to the HTML Template&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;If objRecordset.Fields.Item(&quot;Last Result&quot;) &amp;lt;&amp;gt; 0 and objRecordset.Fields.Item(&quot;Next Run Time&quot;) &amp;lt;&amp;gt; &quot;Disabled&quot; and objRecordset.Fields.Item(&quot;TaskName&quot;) &amp;lt;&amp;gt; &quot;cluster_info&quot; Then  &lt;br /&gt;                        WSCript.Echo objRecordset.Fields.Item(&quot;HostName&quot;) &amp;amp; &quot; | &quot; &amp;amp; _   &lt;br /&gt;                         objRecordset.Fields.Item(&quot;TaskName&quot;)  &amp;amp; &quot; | &quot; &amp;amp; _                        &lt;br /&gt;                         objRecordset.Fields.Item(&quot;Last Result&quot;) &amp;amp; &quot; | &quot; &amp;amp; _    &lt;br /&gt;                         objRecordset.Fields.Item(&quot;Next Run Time&quot;) &amp;amp; &quot; | &quot; &amp;amp; _    &lt;br /&gt;                         objRecordset.Fields.Item(&quot;Last Run Time&quot;) &amp;amp; &quot; | &quot; &amp;amp; _    &lt;br /&gt;                         objRecordset.Fields.Item(&quot;Run As User&quot;) &amp;amp; &quot; | &quot; &amp;amp; _    &lt;br /&gt;                         objRecordset.Fields.Item(&quot;Schedule&quot;) &amp;amp; &quot; | &quot; &amp;amp; _    &lt;br /&gt;                         objRecordset.Fields.Item(&quot;Task To Run&quot;)   &lt;br /&gt;   CreateMail objRecordset.Fields.Item(&quot;HostName&quot;), objRecordset.Fields.Item(&quot;TaskName&quot;), objRecordset.Fields.Item(&quot;Last Result&quot;), objRecordset.Fields.Item(&quot;Last Run Time&quot;), objRecordset.Fields.Item(&quot;Next Run Time&quot;), objRecordset.Fields.Item(&quot;Task To Run&quot;), objRecordset.Fields.Item(&quot;Run As User&quot;), objRecordset.Fields.Item(&quot;Schedule&quot;), mailfile                    &lt;br /&gt;  End If  &lt;br /&gt;      objRecordset.MoveNext   &lt;br /&gt;Loop &lt;/p&gt;  &lt;p&gt;    oShell.Run &quot;cmd /c DEL /Q &quot; &amp;amp; workfile,0  &lt;br /&gt;    Set oShell = Nothing   &lt;br /&gt;End Function&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/328887302511655916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/328887302511655916?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/328887302511655916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/328887302511655916'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2008/07/howto-enumerate-scheduled-tasks-using.html' title='HowTo: Enumerate Scheduled Tasks (Using SCHTASKS.EXE)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-7204641976763651717</id><published>2008-05-24T02:42:00.004+08:00</published><updated>2008-12-09T23:54:38.770+08:00</updated><title type='text'>HowTo: (OSXp) Turn your XP to OSX</title><content type='html'>I got tired of the boring XP graphics so i worked on transforming my machine to OSX style desktop.&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;What you need:&lt;/div&gt;&lt;div&gt;1. Download and install &lt;a href=&quot;http://rocketdock.com/download&quot;&gt;Rocket Dock&lt;/a&gt;&lt;/div&gt;&lt;div&gt;    1.1 Configure the Dock and Icon Settings&lt;/div&gt;&lt;div&gt;    1.2 Set to Run on startup&lt;/div&gt;&lt;div&gt;2. Hide the XP taskbar (You can set it  to auto hide and lock)&lt;/div&gt;&lt;div&gt;3. Disable the Desktop&lt;/div&gt;&lt;div&gt;     3.1 Browse the regkey:  HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDesktop (Create the key if not found - DWORD) and set the value to 1&lt;/div&gt;&lt;div&gt;     3.2 Log off and relogin.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Optional:&lt;/div&gt;&lt;div&gt;Get an OSX wallpaper, install Safari and iTunes for more OSX feel!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Sample Snapshots of my new OSXp:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi94D5gzZFbZcoz9ea1q4UIMgk5U016C_0MzHWhkV8OqT1PLMjqE70lcdlRZgAmaM-ff3Jd7LOXVX7loGz3IRiNTWnoMXFoUEhzcApd2XxaG12WAVk3tVN9hO6OqB8h3Op5v2wQmg/s1600-h/OSXP.png&quot;&gt;&lt;img style=&quot;cursor:pointer; cursor:hand;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi94D5gzZFbZcoz9ea1q4UIMgk5U016C_0MzHWhkV8OqT1PLMjqE70lcdlRZgAmaM-ff3Jd7LOXVX7loGz3IRiNTWnoMXFoUEhzcApd2XxaG12WAVk3tVN9hO6OqB8h3Op5v2wQmg/s400/OSXP.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5203646972884975490&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTqDmYfZKHTEHm-QRBVTI_zUdh5nNogeSh3poDAm_f_RDIcsdCml1LL4BgjSw43SDwDVfDeq8CQQ1jKrZcI9oSLjoPun8d3UBYya1q0uoDcqxmOv9Hchnpg2Dfg_RDUZcxG3UBrA/s1600-h/OsXp_Samp.png&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTqDmYfZKHTEHm-QRBVTI_zUdh5nNogeSh3poDAm_f_RDIcsdCml1LL4BgjSw43SDwDVfDeq8CQQ1jKrZcI9oSLjoPun8d3UBYya1q0uoDcqxmOv9Hchnpg2Dfg_RDUZcxG3UBrA/s400/OsXp_Samp.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5203647445331378066&quot; style=&quot;cursor: pointer; &quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If at first you fail, call it version 1.0&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/7204641976763651717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/7204641976763651717?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/7204641976763651717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/7204641976763651717'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2008/05/howto-osxp-turn-your-xp-to-osx.html' title='HowTo: (OSXp) Turn your XP to OSX'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi94D5gzZFbZcoz9ea1q4UIMgk5U016C_0MzHWhkV8OqT1PLMjqE70lcdlRZgAmaM-ff3Jd7LOXVX7loGz3IRiNTWnoMXFoUEhzcApd2XxaG12WAVk3tVN9hO6OqB8h3Op5v2wQmg/s72-c/OSXP.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-5363898507673805899</id><published>2008-04-10T01:57:00.002+08:00</published><updated>2008-04-10T02:00:51.100+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iGopher"/><category scheme="http://www.blogger.com/atom/ns#" term="iPhone Browser"/><category scheme="http://www.blogger.com/atom/ns#" term="iPod Touch"/><category scheme="http://www.blogger.com/atom/ns#" term="Mods"/><title type='text'>PimPod2DaMax</title><content type='html'>&lt;p&gt;Just to share my latest setup, as promised!&lt;/p&gt;  &lt;p&gt;Note: No Customize or Summerboard themes were used for this Mod. These are just all simple icon replacements using iPhone Browser. &lt;em&gt;(Read my previous blogs for instructions)&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Home Screen (Transparent Dock) with Kat Von D:&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh6.google.com/gimoterapee/R_0DQ5OdNSI/AAAAAAAAAGY/QDhfhh-KH4w/snap_012731%5B2%5D.jpg&quot;&gt;&lt;img style=&quot;border: 0px none ;&quot; alt=&quot;snap_012731&quot; src=&quot;http://lh5.google.com/gimoterapee/R_0DSpOdNTI/AAAAAAAAAGg/4RVFxXoGxoA/snap_012731_thumb.jpg&quot; border=&quot;0&quot; height=&quot;244&quot; width=&quot;164&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;iTouchApps (Grouped by Category.App), activated by the first Icon on the Dock:&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh4.google.com/gimoterapee/R_0DUZOdNUI/AAAAAAAAAGo/f9uTCgXeIQc/snap_012749%5B2%5D.jpg&quot;&gt;&lt;img style=&quot;border: 0px none ;&quot; alt=&quot;snap_012749&quot; src=&quot;http://lh5.google.com/gimoterapee/R_0DVpOdNVI/AAAAAAAAAGw/ouhbzw02Mno/snap_012749_thumb.jpg&quot; border=&quot;0&quot; height=&quot;244&quot; width=&quot;164&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;gPod (Grouped by Category.App), activated by gPod icon under iTouchApps:&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh5.google.com/gimoterapee/R_0DXpOdNWI/AAAAAAAAAG4/SYcYJ67K8U4/snap_012907%5B2%5D.jpg&quot;&gt;&lt;img style=&quot;border: 0px none ;&quot; alt=&quot;snap_012907&quot; src=&quot;http://lh6.google.com/gimoterapee/R_0DY5OdNXI/AAAAAAAAAHA/pTJSfO_lP-8/snap_012907_thumb.jpg&quot; border=&quot;0&quot; height=&quot;244&quot; width=&quot;164&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;iGamez (Grouped by Category.App), activated by the iGamez under iTouchApps:&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh6.google.com/gimoterapee/R_0Da5OdNYI/AAAAAAAAAHI/YdnLosDM7jc/snap_012803%5B2%5D.jpg&quot;&gt;&lt;img style=&quot;border: 0px none ;&quot; alt=&quot;snap_012803&quot; src=&quot;http://lh4.google.com/gimoterapee/R_0DcZOdNZI/AAAAAAAAAHQ/4pHzhxhodHk/snap_012803_thumb.jpg&quot; border=&quot;0&quot; height=&quot;244&quot; width=&quot;164&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;iToolz (Grouped by Category.App), activated by the iToolz icon under iTouchApps:&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh6.google.com/gimoterapee/R_0Dd5OdNaI/AAAAAAAAAHY/tyzWxahFiJY/snap_012831%5B2%5D.jpg&quot;&gt;&lt;img style=&quot;border: 0px none ;&quot; alt=&quot;snap_012831&quot; src=&quot;http://lh3.google.com/gimoterapee/R_0DgJOdNbI/AAAAAAAAAHg/xoBuJCdqtqM/snap_012831_thumb.jpg&quot; border=&quot;0&quot; height=&quot;244&quot; width=&quot;164&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Swipe to scroll to the next collection in iToolz category:&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh4.google.com/gimoterapee/R_0DiZOdNcI/AAAAAAAAAHo/WqWfeWdpjdI/snap_012837%5B2%5D.jpg&quot;&gt;&lt;img style=&quot;border: 0px none ;&quot; alt=&quot;snap_012837&quot; src=&quot;http://lh6.google.com/gimoterapee/R_0Dj5OdNdI/AAAAAAAAAHw/ULoh3PaM4sA/snap_012837_thumb.jpg&quot; border=&quot;0&quot; height=&quot;244&quot; width=&quot;164&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Pimped Weather Theme. Ain&#39;t using customize or summerboard, just replaced the default background via iPhone Browser (&quot;,)&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh3.google.com/gimoterapee/R_0DlJOdNeI/AAAAAAAAAH4/JKTMS3VwCP0/snap_012930%5B2%5D.jpg&quot;&gt;&lt;img style=&quot;border: 0px none ;&quot; alt=&quot;snap_012930&quot; src=&quot;http://lh3.google.com/gimoterapee/R_0DnJOdNfI/AAAAAAAAAIA/Uq78RZvlok4/snap_012930_thumb.jpg&quot; border=&quot;0&quot; height=&quot;244&quot; width=&quot;164&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Special thanks to the creators of Punisher, Bright Acrylic, Vista Ultimate, Divinity Themes for the icons and to Designer Set Customize Themes for the background images on Weather App and to Wallpaper.App and wallpaper contributors &lt;em&gt;(if you install Wallpaper.App, please share your wallpaper, it&#39;s better to give than to receive)&lt;/em&gt; for the Categories  background images and finally to the creator of ScreenShot.App! (&quot;,)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/5363898507673805899/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/5363898507673805899?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/5363898507673805899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/5363898507673805899'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2008/04/pimpod2damax.html' title='PimPod2DaMax'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-350200377181839021</id><published>2008-04-10T01:35:00.002+08:00</published><updated>2008-04-10T01:59:24.043+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iGopher"/><category scheme="http://www.blogger.com/atom/ns#" term="iPhone Browser"/><category scheme="http://www.blogger.com/atom/ns#" term="iPod Touch"/><category scheme="http://www.blogger.com/atom/ns#" term="Mods"/><title type='text'>NES Emulator on iPod Touch</title><content type='html'>&lt;p&gt;&lt;a href=&quot;http://lh6.google.com/gimoterapee/R_z9-JOdNEI/AAAAAAAAAEo/JrIQ5FE6zcI/NES_icon2.png&quot;&gt;&lt;img style=&quot;border-width: 0px;&quot; alt=&quot;NES_icon&quot; src=&quot;http://lh3.google.com/gimoterapee/R_z9_ZOdNFI/AAAAAAAAAEw/1t_znMlPKpA/NES_icon_thumb.png&quot; border=&quot;0&quot; height=&quot;64&quot; width=&quot;63&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;1. Using iGopher, create the local script on your PC and Export them to your iPod.&lt;/p&gt;  &lt;p&gt;2. Launch Installer.App and install the NES emulator.&lt;/p&gt;  &lt;p&gt;3. Restart your iPod.&lt;/p&gt;  &lt;p&gt;4. Create the  NES folder in /var/mobile/Media/ROMS/NES. You can use any of the following:&lt;/p&gt;  &lt;p&gt;a. SSH&lt;/p&gt;  &lt;p&gt;b. Term VT100&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh6.google.com/gimoterapee/R_z-BJOdNGI/AAAAAAAAAE4/CjtJRWBO6nk/snap_175907%5B2%5D.jpg&quot;&gt;&lt;img style=&quot;border: 0px none ;&quot; alt=&quot;snap_175907&quot; src=&quot;http://lh4.google.com/gimoterapee/R_z-CpOdNHI/AAAAAAAAAFA/q06GTnQz8Z0/snap_175907_thumb.jpg&quot; border=&quot;0&quot; height=&quot;244&quot; width=&quot;164&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;c. iPhone Browser&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh5.google.com/gimoterapee/R_z-E5OdNII/AAAAAAAAAFI/o1a8MqIN50U/ROMs%5B2%5D.png&quot;&gt;&lt;img style=&quot;border: 0px none ;&quot; alt=&quot;ROMs&quot; src=&quot;http://lh4.google.com/gimoterapee/R_z-GpOdNJI/AAAAAAAAAFQ/y9XmAvIVydE/ROMs_thumb.png&quot; border=&quot;0&quot; height=&quot;176&quot; width=&quot;244&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;d. MobileFind.App \ Find.App&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh3.google.com/gimoterapee/R_z-IZOdNKI/AAAAAAAAAFY/IUFIntc6JH4/snap_180007%5B2%5D.jpg&quot;&gt;&lt;img style=&quot;border: 0px none ;&quot; alt=&quot;snap_180007&quot; src=&quot;http://lh5.google.com/gimoterapee/R_z-J5OdNLI/AAAAAAAAAFg/J8RLxWcu2y4/snap_180007_thumb.jpg&quot; border=&quot;0&quot; height=&quot;244&quot; width=&quot;164&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;5. Upload the ROMs in the folder that you&#39;ve just created. (Using any of the following method above)&lt;/p&gt;  &lt;p&gt;6. Launch NES.App, browse your ROMs and...&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh4.google.com/gimoterapee/R_z-LpOdNMI/AAAAAAAAAFo/kCgBZ9vPjNc/snap_180145%5B2%5D.jpg&quot;&gt;&lt;img style=&quot;border: 0px none ;&quot; alt=&quot;snap_180145&quot; src=&quot;http://lh6.google.com/gimoterapee/R_z-NJOdNNI/AAAAAAAAAFw/R2BcuFUiSgk/snap_180145_thumb.jpg&quot; border=&quot;0&quot; height=&quot;244&quot; width=&quot;164&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;7. Enjoy the nostalgic games! Oh yeah, tilt to play in wide screen mode!&lt;/p&gt;  &lt;p&gt;Normal Mode (Full Screen OFF):&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh4.google.com/gimoterapee/R_z-OpOdNOI/AAAAAAAAAF4/KduZgWo2GEU/snap_180209%5B2%5D.jpg&quot;&gt;&lt;img style=&quot;border: 0px none ;&quot; alt=&quot;snap_180209&quot; src=&quot;http://lh6.google.com/gimoterapee/R_z-QJOdNPI/AAAAAAAAAGA/nbP1iaH4lyo/snap_180209_thumb.jpg&quot; border=&quot;0&quot; height=&quot;244&quot; width=&quot;164&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;Wide Screen Mode (Full Screen OFF): &lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh3.google.com/gimoterapee/R_z-SZOdNQI/AAAAAAAAAGI/ReIrdiwl9Ew/snap_180219%5B2%5D.jpg&quot;&gt;&lt;img style=&quot;border: 0px none ;&quot; alt=&quot;snap_180219&quot; src=&quot;http://lh5.google.com/gimoterapee/R_z-T5OdNRI/AAAAAAAAAGQ/dEsCgDRbHjk/snap_180219_thumb.jpg&quot; border=&quot;0&quot; height=&quot;164&quot; width=&quot;244&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;Note: NES ROMs are Copyrighted! Do the right thing!&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/350200377181839021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/350200377181839021?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/350200377181839021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/350200377181839021'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2008/04/nes-emulator-on-ipod-touch.html' title='NES Emulator on iPod Touch'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-177951994656513292</id><published>2008-04-09T22:37:00.005+08:00</published><updated>2008-12-09T23:54:39.027+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iPhone Browser"/><category scheme="http://www.blogger.com/atom/ns#" term="iPod Touch"/><category scheme="http://www.blogger.com/atom/ns#" term="Mods"/><title type='text'>Pimp my iPod using iPhone Browser (USB Mod)</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It&#39;s been a while since I posted again, guess I was too busy with my iPod...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Thanks to iPhone Browser, now who needs WiFi, SSH, Customize, Summerboard and Installer to install apps and fully modify your Pod?!?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You&#39;ve got a USB cable, then you can do it all...&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;First download the &lt;a href=&quot;http://code.google.com/p/iphonebrowser/&quot;&gt;iPhone Browser&lt;/a&gt; (Windows), install it, plug your iPod (you don&#39;t even need to run iTunes to have the Pod detected by the browser). &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwDpUm5WVEwcJl-MDjAnvo_k1k0SsVwVfnizKzZeIQ5EXxBvUfoEKXKh0lUwSTqjxlOEY-y8jG1sVQeWCDty-awL4kYPZRXEGkIxBhKizpGtaTHhuonlG-KjKtafARvq_xJkbseg/s1600-h/iPhoneBrowser.PNG&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwDpUm5WVEwcJl-MDjAnvo_k1k0SsVwVfnizKzZeIQ5EXxBvUfoEKXKh0lUwSTqjxlOEY-y8jG1sVQeWCDty-awL4kYPZRXEGkIxBhKizpGtaTHhuonlG-KjKtafARvq_xJkbseg/s400/iPhoneBrowser.PNG&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5187259346165249954&quot; style=&quot;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; &quot; /&gt;&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Then browse the content of your iPod, drag files in to the GUI browser to transfer files to your iPod. Removal of files from the iPod is safe (iPhone Browser will back up the files in your local HDD before deletion... COOL)!&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Replace all the default icons from /Application/AppName.App/icon.png with whatever you want. You can backup your current Summerboard Themes Icons by copying out /var/mobile/Library/Summerboard/Themes/Theme_Name_Folder.... so you can use any icons from any themes on your Pod (mix and match!).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To install the Application, use &lt;a href=&quot;http://26thgstreet.blogspot.com/2008/03/ipod-touch-full-mod-ziphone-and-igopher.html&quot;&gt;iGopher (instructions from my previous post) &lt;/a&gt;to download the packages to your PC, then unpack them to your iPod using iPhone Browser! Simple!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I&#39;ve got PSX4All installed with NBA Live 2003 ROM, NES Emulator with tons of ROMs as well... getting a bit lazy to post the screen shots and additional instructions for the emulator installation and config... will do it next time... watch out for it!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If at first you fail, call it version 1.0&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/177951994656513292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/177951994656513292?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/177951994656513292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/177951994656513292'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2008/04/pimp-my-ipod-using-iphone-browser-usb.html' title='Pimp my iPod using iPhone Browser (USB Mod)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwDpUm5WVEwcJl-MDjAnvo_k1k0SsVwVfnizKzZeIQ5EXxBvUfoEKXKh0lUwSTqjxlOEY-y8jG1sVQeWCDty-awL4kYPZRXEGkIxBhKizpGtaTHhuonlG-KjKtafARvq_xJkbseg/s72-c/iPhoneBrowser.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-1727390873018729745</id><published>2008-03-26T00:27:00.003+08:00</published><updated>2008-12-09T23:54:39.217+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iPod Touch"/><category scheme="http://www.blogger.com/atom/ns#" term="Mods"/><title type='text'>iPod Touch Full Mod (ZiPhone and iGopher)</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNcg4IwBxQREm2lgb3YGq64JhY2r1spI4D01uUQj_ExlzB2X2BflqnQWd8iwrvIwFkaAGwbIZZkAdRPKLgdN9BvcdHDgrLJ7rhCxqVr67DMkQOuXrTQxzEt4tmXdZxEU5gr709TA/s1600-h/snap_141053.jpg&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNcg4IwBxQREm2lgb3YGq64JhY2r1spI4D01uUQj_ExlzB2X2BflqnQWd8iwrvIwFkaAGwbIZZkAdRPKLgdN9BvcdHDgrLJ7rhCxqVr67DMkQOuXrTQxzEt4tmXdZxEU5gr709TA/s400/snap_141053.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5181718009424721810&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Just want to share setup (&quot;,)&lt;br /&gt;&lt;br /&gt;I have jailbroken my iPod Touch 8GB with ZiPhone and have restored to 1.1.4 Firmware due to technical problems, errr... more of a user fault...&lt;br /&gt;&lt;br /&gt;Errors Committed:&lt;br /&gt;1. Changed the default root password, result: Springboard Infinite Loop!&lt;br /&gt;&lt;br /&gt;2. Installed Poof and accidentally hidden all Icons, result: Luckily I have BossPrefs installed and set &quot;SSH always on reboot&quot;. Had to SSH to my gPod and&lt;br /&gt;&lt;br /&gt;launch Categories.app (requires unix skills here ={D).&lt;br /&gt;&lt;br /&gt;Now I&#39;ve got  it setup  that it can pass as a phone and unmatched as a  workstation.&lt;br /&gt;&lt;br /&gt;Note: If you&#39;re a new user of iPhone\iPod and thinking of jailbreaking it, you don&#39;t have to sweat anymore. Follow the  prodigal son&#39;s steps for the easiest&lt;br /&gt;&lt;br /&gt;MOD!&lt;br /&gt;&lt;br /&gt;1. Upgrade your Pod to 1.1.4 (MailApp, StocksApp, Wiggle)&lt;br /&gt;&lt;br /&gt;2. Install ZiPhone and connect your Pod to PC with iTunes (atleast v7) running.&lt;br /&gt;&lt;br /&gt;3. Use the jailbreak option, wait for the entire process to complete and it will reboot automatically. After the reboot, Installer.App will be available.&lt;br /&gt;&lt;br /&gt;This will include all the community sources available in the default package. You will need WiFi access to refresh the sources and install the apps. (But&lt;br /&gt;&lt;br /&gt;wait... just keep on reading and you will learn that you do not need WiFi access to install Apps on your Pod ={D , just keep reading...)&lt;br /&gt;&lt;br /&gt;4. Launch Installer.App, Go straight to Sources and touch Refresh to update the packages, this might take a while, so go for a fag or coffee break... Once&lt;br /&gt;&lt;br /&gt;the refresh is completed, touch Install and you may start browsing for packages to install 3rd party apps. Make sure to check the updates page, it might&lt;br /&gt;&lt;br /&gt;require you to update Installer.App... If you find an update package, install the update and restart Installer.App... Then&lt;br /&gt;&lt;br /&gt;5. Install the packages in this order (Don&#39;t skip anything, trust me&lt;br /&gt;you need all of them):&lt;br /&gt;-BSD Subsystem 2.1&lt;br /&gt;-BSD Subsystem 2.0 Termfix,&lt;br /&gt;&lt;br /&gt;-SUID Libfix&lt;br /&gt;-Community Sources&lt;br /&gt;-OpenSSH&lt;br /&gt;-Term-VT100&lt;br /&gt;-BoosPrefs (Set SSH on Reboot and Wifi On)&lt;br /&gt;-BossTool&lt;br /&gt;&lt;br /&gt;Important Note, Installer.App is unable to detect the larger partition in the Pod... Yeah there are 2 partitions in your Pod...&lt;br /&gt;Smaller Partition has 300MB (allocated for the OS and Apps) and the rest are allocated to the 2nd partition (allocated for Pics\Vids\Music..etc)...&lt;br /&gt;If you keep installing applications, you will run out of disk space on the smaller partition and Installer.App will no longer allow you to install...&lt;br /&gt;&lt;br /&gt;Luckily, at this point, you already have BossTool installed in your Pod... you can use it to move the Apps\Ringtone\Fonts to the bigger partition...&lt;br /&gt;Technically, it&#39;s Nix MV and LN for dummies... meaning... the tool will move the files to the bigger partition and create a link to the folder...&lt;br /&gt;Read on More Info in BossTool and be very careful, if the first files you moved (Fonts) did not make any file size increase in smaller partition...&lt;br /&gt;Do not proceed in moving the apps... skip this and move on to the next step...&lt;br /&gt;&lt;br /&gt;Or If Once that&#39;s done with no errors...&lt;br /&gt;&lt;br /&gt;This part will tweak your Pod to create links and folders in the larger partion... WHY?!?&lt;br /&gt;So that all the installations will be placed in the larger partition... MEANING?!?&lt;br /&gt;YOU CAN INSTALL AS MUCH 3rd PARTY APPS AS YOU WANT!!! upto FULL 7GB... LOL&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can SSH into Your Ipod using (password is &quot;alpine&quot;, first login takes 30-45 sec = ignore 15sec msg) or Launch Terminal VT100&lt;br /&gt;1. Go to /private/var/root/&lt;br /&gt;2. Create a new folder called &quot;Media&quot; (without &quot;&quot;)&lt;br /&gt;3. Run the following commands, hitting enter after each line:&lt;br /&gt;cp -R /private/var/root/Media /private/var/mobile/&lt;br /&gt;rm -r /private/var/root/Media&lt;br /&gt;ln -s /private/var/mobile/Media /private/var/root/Media&lt;br /&gt;cp -R /private/var/root/Library /private/var/mobile/&lt;br /&gt;rm -r /private/var/root/Library&lt;br /&gt;ln -s /private/var/mobile/Library /private/var/root/Library&lt;br /&gt;&lt;br /&gt;Restart your Pod.&lt;br /&gt;&lt;br /&gt;Now you can install till your Pod is full of Games\Apps\Utilities and such using Installer.App... Ooops.. You need WiFi to download and install packages...&lt;br /&gt;&lt;br /&gt;Ahhhhh... That sucks...&lt;br /&gt;&lt;br /&gt;Don&#39;t fret on it!!!&lt;br /&gt;&lt;br /&gt;As promised... You can install packages without WiFi... Yeah you can via USB cable!!!&lt;br /&gt;Catch? You still need Internet access on your PC... but trust me this is so much easier than downloading and installing apps using WiFi and very slow net...&lt;br /&gt;&lt;br /&gt;New Steps:&lt;br /&gt;1. Install the latest version of iGopher on your PC (you can get em here: &lt;a set=&quot;yes&quot; linkindex=&quot;20&quot; href=&quot;http://code.google.com/p/igopher/&quot;&gt;http://code.google.com/p/igopher/&lt;/a&gt;)&lt;br /&gt;2. Extract it in any folder (Alpha version doesn&#39;t have any installer yet... and yeah read on the requirements... .Net runtime and such)&lt;br /&gt;3. Launch Gopher.exe (your iTunes running and Pod plugged in)&lt;br /&gt; It will not be able to detect the Pod yet as the Installer.App do not have access to system files...&lt;br /&gt; Fix is here (well this will be the last time you will need WiFi to install Apps... promise!!!)&lt;br /&gt;3.1 Add &lt;a linkindex=&quot;21&quot; href=&quot;http://i.unlock.no/&quot;&gt;http://i.unlock.no&lt;/a&gt; in your sources (Launch Installer.App, touch sources, touch edit, touch add then keyin the URL)&lt;br /&gt;3.2 Refresh your Sources then browse under install then search for &quot;ZiPhone iBrickr Fix&quot;, you need to restart ur Pod after installing it.&lt;br /&gt;3.3 iGopher should have already detected your Pod&lt;br /&gt;3.4 You may need to update the resources in Gopher (in the folder where you extracted iGopher, open AllSources.txt and update it with known Repos)&lt;br /&gt;3.5 After refreshing the Sources in iGopher. you can browse for all Apps and installed as much to your heart&#39;s desire...&lt;br /&gt;&lt;br /&gt;Enjoy It!!!&lt;br /&gt;&lt;br /&gt;If you need help, mail me: &lt;a href=&quot;mailto:ezmuthfinguz@gmail.com&quot;&gt;Smooth Fingerz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Check out &lt;a style=&quot;color: rgb(153, 153, 255);&quot; href=&quot;http://dprodigalson.multiply.com/photos/album/13/iPod_Touch_De_Mavie_Screen_Caps&quot;&gt; screen caps&lt;/a&gt;&lt;span style=&quot;color: rgb(153, 153, 255);&quot;&gt; &lt;/span&gt;of my iPod Touch setup.&lt;br /&gt;&lt;br /&gt;If at first you fail, call it version 1.0&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/1727390873018729745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/1727390873018729745?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/1727390873018729745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/1727390873018729745'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2008/03/ipod-touch-full-mod-ziphone-and-igopher.html' title='iPod Touch Full Mod (ZiPhone and iGopher)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNcg4IwBxQREm2lgb3YGq64JhY2r1spI4D01uUQj_ExlzB2X2BflqnQWd8iwrvIwFkaAGwbIZZkAdRPKLgdN9BvcdHDgrLJ7rhCxqVr67DMkQOuXrTQxzEt4tmXdZxEU5gr709TA/s72-c/snap_141053.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-6916055477070211934</id><published>2008-03-18T16:35:00.000+08:00</published><updated>2018-06-15T09:06:49.741+08:00</updated><title type='text'></title><content type='html'>&lt;div&gt;If at first you fail, call it version 1.0&lt;/div&gt;ro&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/6916055477070211934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/6916055477070211934?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/6916055477070211934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/6916055477070211934'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2008/03/if-at-first-you-fail-call-it-version-1.html' title=''/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-5072978310446319828</id><published>2008-02-14T23:00:00.004+08:00</published><updated>2008-02-14T23:10:13.793+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="admin scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="developer scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="macro"/><category scheme="http://www.blogger.com/atom/ns#" term="Outlook"/><title type='text'>Outlook: Move Items to Folder (with GUI folder list and not inputbox)</title><content type='html'>I was searching for a Macro online for Outlook mail items moved to different folders.&lt;br /&gt;&lt;br /&gt;Have seen few codes that performs the same but with this code I used the GUI folder listing instead of prompting for an inputbox to avoid errors as most users are not aware of the Folder paths.&lt;br /&gt;&lt;br /&gt;I submitted the code to OutlookCodeDotCom: &lt;a href=&quot;http://www.outlookcode.com/codedetail.aspx?id=1805&quot;&gt;Moving mail items to specified folder&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It has 30++ downloads so far... not bad!&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.outlookcode.com/codedetail.aspx?id=1805&quot;&gt;&lt;/a&gt;&lt;ol&gt;&lt;li&gt;Sub MoveMailToFolders()&lt;/li&gt;&lt;li&gt;    Dim objNS As Outlook.NameSpace&lt;/li&gt;&lt;li&gt;    Dim MyFolder As Outlook.MAPIFolder&lt;/li&gt;&lt;li&gt;    Dim objItem As Outlook.MailItem&lt;/li&gt;&lt;li&gt;    Dim ctr As Integer&lt;/li&gt;&lt;li&gt;    On Error Resume Next&lt;/li&gt;&lt;li&gt;     &lt;/li&gt;&lt;li&gt;    ctr = 0&lt;/li&gt;&lt;li&gt;    Set objNS = Application.GetNamespace(&quot;MAPI&quot;)&lt;/li&gt;&lt;li&gt;    Set MyFolder = objNS.PickFolder&lt;/li&gt;&lt;li&gt;        &lt;/li&gt;&lt;li&gt;    MsgBox &quot;The selected mail item(s) will be moved to: &quot; &amp;amp; vbCrLf &amp;amp; vbCrLf &amp;amp; _&lt;/li&gt;&lt;li&gt;           &quot;Folder Path: &quot; &amp;amp; MyFolder.FolderPath &amp;amp; vbCrLf &amp;amp; _&lt;/li&gt;&lt;li&gt;           &quot;Folder Name: &quot; &amp;amp; MyFolder.Name _&lt;/li&gt;&lt;li&gt;           , vbOKOnly + vbInformation, &quot;Outlook Help&quot;&lt;/li&gt;&lt;li&gt;           &lt;/li&gt;&lt;li&gt;    For Each objItem In Application.ActiveExplorer.Selection&lt;/li&gt;&lt;li&gt;        If MyFolder.DefaultItemType = olMailItem Then&lt;/li&gt;&lt;li&gt;            If objItem.Class = olMail Then&lt;/li&gt;&lt;li&gt;                ctr = ctr + 1&lt;/li&gt;&lt;li&gt;                objItem.Move MyFolder&lt;/li&gt;&lt;li&gt;            End If&lt;/li&gt;&lt;li&gt;        End If&lt;/li&gt;&lt;li&gt;    Next&lt;/li&gt;&lt;li&gt;    &lt;/li&gt;&lt;li&gt;    MsgBox &quot;Moved: &quot; &amp;amp; ctr &amp;amp; &quot; mail item(s) to: &quot; &amp;amp; MyFolder.Name, vbInformation, &quot;Outlook Help&quot;&lt;/li&gt;&lt;li&gt;    &lt;/li&gt;&lt;li&gt;    Set objNS = Nothing&lt;/li&gt;&lt;li&gt;    Set MyFolder = Nothing&lt;/li&gt;&lt;li&gt;End Sub&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;Then using the Customize option on the toolbar, you can create a button for the Macro and assign a shortcut key to it!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If at first you fail, call it version 1.0&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/5072978310446319828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/5072978310446319828?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/5072978310446319828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/5072978310446319828'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2008/02/outlook-move-items-to-folder-with-gui.html' title='Outlook: Move Items to Folder (with GUI folder list and not inputbox)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-1556954215377143458</id><published>2008-01-30T22:33:00.000+08:00</published><updated>2008-01-30T22:56:02.870+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="admin scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="Citrix"/><category scheme="http://www.blogger.com/atom/ns#" term="developer scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="root\cimv2"/><category scheme="http://www.blogger.com/atom/ns#" term="root\wmi"/><category scheme="http://www.blogger.com/atom/ns#" term="win32_performattedData_perfOS_System"/><category scheme="http://www.blogger.com/atom/ns#" term="wsh"/><title type='text'>Latest Project: Server Monitoring Using WMI</title><content type='html'>&lt;span style=&quot;font-size:85%;&quot;&gt;It was a while since my last post. Year ender is quite busy and the new year was as much.&lt;br /&gt;&lt;br /&gt;I&#39;ve been working on a latest project for our team. I set up a monitoring server running WMI scripts against remote servers in intervals of 2 or 30mins (depending on the frequency of data required).&lt;br /&gt;&lt;br /&gt;Below are few simple snippets  I used in to collect remote data and pump it in an html template and send it via email to the team (if ever performance thresholds were exceeded).&lt;br /&gt;&lt;br /&gt;Code Snippets:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;color: rgb(51, 255, 51);&quot;&gt;Sub DisplayErrorInfo&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;color: rgb(51, 255, 51);&quot;&gt;    WScript.Echo &quot;Error:      : &quot; &amp;amp; Err&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;color: rgb(51, 255, 51);&quot;&gt;    WScript.Echo &quot;Error (hex) : &amp;amp;H&quot; &amp;amp; Hex(Err)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;color: rgb(51, 255, 51);&quot;&gt;    WScript.Echo &quot;Source      : &quot; &amp;amp; Err.Source&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;color: rgb(51, 255, 51);&quot;&gt;    WScript.Echo &quot;Description : &quot; &amp;amp; Err.Description&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;color: rgb(51, 255, 51);&quot;&gt;    Err.Clear&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;color: rgb(51, 255, 51);&quot;&gt;End Sub&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(51, 255, 51);&quot;&gt;#1 Bytes Converter Snippet (&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(51, 255, 51);font-size:85%;&quot; &gt;One of my favorite snippet, pretty handy!)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;Function SetBytes(Bytes,fKB)  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;    If fKB=True then Bytes = Bytes * 1024 &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;    &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;    If Bytes &gt;= 1073741824 Then &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;        SetBytes = FormatNumber((Bytes / 1024 / 1024 / 1024),2,,-1,-1) &amp;amp; &quot; GB&quot; &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;    ElseIf Bytes &gt;= 1048576 Then &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;        SetBytes =  FormatNumber((Bytes / 1024 / 1024),2,,-1,-1) &amp;amp; &quot; MB&quot; &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;    ElseIf Bytes &gt;= 1024 Then &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;        SetBytes = FormatNumber((Bytes / 1024),2,,-1,-1) &amp;amp; &quot; KB&quot; &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;    ElseIf Bytes &lt;&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;        SetBytes = Bytes &amp;amp; &quot; Bytes&quot; &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;    End If &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;End Function &lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;#2 Get Available Memory on the server &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;strComputer = &quot;.&quot;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;Set objWMIService = GetObject(&quot;winmgmts:\\&quot; &amp;amp; strComputer &amp;amp; &quot;\root\cimv2&quot;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;Set colItems = objWMIService.ExecQuery _&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;        (&quot;Select * From Win32_PerfRawData_PerfOS_Memory&quot;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;    For Each objItem in colItems&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;        intValue = objItem.AvailableBytes&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;        Wscript.Echo &quot;Available memory = &quot; &amp;amp; SetBytes(intValue,false)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;        Exit For&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;    Next&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;&lt;br /&gt;Note: This requires cooking. If you you have no idea how that works then just use AvailableMBytes instead.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;#3 Get CPU Usage (%)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;Function GetCPUProcUsg(svr)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;c = 0&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;strComputer = &quot;.&quot;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;Set objWMIService = GetObject(&quot;winmgmts:\\&quot; _&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;    &amp;amp; strComputer &amp;amp; &quot;\root\cimv2:Win32_PerfRawData_PerfOS_Processor.Name=&#39;_Total&#39;&quot;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;If Err = 0 Then&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;    While (True)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;        &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;        N1 = objWMIService.PercentProcessorTime&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;        D1 = objWMIService.TimeStamp_Sys100NS&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;        Wscript.Sleep(1000)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;        &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;        Set objWMIService2 = GetObject(&quot;winmgmts:\\&quot; _&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;      &amp;amp; strComputer &amp;amp; &quot;\root\cimv2:Win32_PerfRawData_PerfOS_Processor.Name=&#39;_Total&#39;&quot;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;        &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;        N2 = objWMIService2.PercentProcessorTime&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;        D2 = objWMIService2.TimeStamp_Sys100NS&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;        &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;        PercentProcessorTime = (1 - ((N2 - N1)/(D2-D1)))*100&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;       Wscript.Echo &quot;Processor Usage: &quot; &amp;amp; Round(PercentProcessorTime,2) &amp;amp; &quot;%&quot;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;         GetCPUProcUsg = Round(PercentProcessorTime,2) &amp;amp; &quot;%&quot;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;         &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;    Wend&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;Else&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;    DisplayErrorInfo&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;End If&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;Set objWMIService = nothing&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;Set objWMIService2 = nothing&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 255, 51);font-size:85%;&quot; &gt;End Function &lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-weight: bold; color: rgb(51, 255, 51);&quot;&gt;#4 Get Available Disk Space&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;color: rgb(51, 255, 51);&quot;&gt;strComputer = &quot;.&quot;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;color: rgb(51, 255, 51);&quot;&gt;strUser = &lt;admin&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;color: rgb(51, 255, 51);&quot;&gt;strPass = &lt;password&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;color: rgb(51, 255, 51);&quot;&gt;Set objSWbemLocator = CreateObject(&quot;WbemScripting.SWbemLocator&quot;)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;color: rgb(51, 255, 51);&quot;&gt;Set oWMI = objSWbemLocator.ConnectServer(strComputer, &quot;root\cimv2&quot;, strUser, strPass)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;color: rgb(51, 255, 51);&quot;&gt;Set colDisks = oWMI.InstancesOf(&quot;win32_PerfRawData_PerfDisk_LogicalDisk.Name&quot;) &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;color: rgb(51, 255, 51);&quot;&gt;For Each objDisk in colDisks&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;color: rgb(51, 255, 51);&quot;&gt;    intBaseValue = objDisk.PercentFreeSpace_Base&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;color: rgb(51, 255, 51);&quot;&gt;    dblActualFreeSpace = (100 * objDisk.PercentFreeSpace) / intBaseValue&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;color: rgb(51, 255, 51);&quot;&gt;    Wscript.Echo objDisk.Name &amp;amp; Int(dblActualFreeSpace)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;color: rgb(51, 255, 51);&quot;&gt;Next&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;If at first you fail, call it version 1.0&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/1556954215377143458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/1556954215377143458?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/1556954215377143458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/1556954215377143458'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2008/01/latest-project-server-monitoring-using.html' title='Latest Project: Server Monitoring Using WMI'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-81820134749013871</id><published>2007-09-13T22:23:00.000+08:00</published><updated>2007-09-13T22:36:05.148+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="admin scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="Citrix"/><category scheme="http://www.blogger.com/atom/ns#" term="developer scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="Scripting.FileSystemObject"/><category scheme="http://www.blogger.com/atom/ns#" term="vbs"/><category scheme="http://www.blogger.com/atom/ns#" term="wsh"/><title type='text'>HowTo: Enum Citrix Server License using LMSTAT</title><content type='html'>Our PS4 server seems to fail to execute the license information scripts from Citrix.Com (Dependency on SDK).&lt;br /&gt;&lt;br /&gt;So instead of relying on it, I decided to develop a script using LMSTAT and a short vb script to parse the output file  and write it to a .CSV file for better viewing (Data Filtering and such...)&lt;br /&gt;&lt;br /&gt;First I piped the result of lmstat -a to a text file then I used the script below to parse the contents then write it to a .CSV file&lt;br /&gt;&lt;br /&gt;Code Snippet:&lt;br /&gt;&lt;style type=&quot;text/css&quot;&gt;br /&gt;  .code { border: 1px solid #ccc; list-style-type: decimal-leading-zero; padding: 5px; margin: 0; }&lt;br /&gt;  .code code { display: block; padding: 3px; margin-bottom: 0; }&lt;br /&gt;  .code li { background: #ddd; border: 1px solid #ccc; margin: 0 0 2px 2.2em; }&lt;br /&gt;&lt;/style&gt;&lt;br /&gt;Parse the source file (lmstat output file): srcfile&lt;br /&gt; &lt;ol class=&quot;code&quot;&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Sub GetData(srcfile)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Set f = fso.GetFile(srcfile)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Set ts = f.OpenAsTextStream(ForReading, TristateUseDefault)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Do While ts.AtEndOfStream &amp;lt;&amp;gt; True&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;readResults = Trim(UCase(ts.ReadLine))&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;If InStr(readResults, &quot;/27000&quot;) Then&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;mps = split(readResults, Chr(32))&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;msg = mps(1) &amp; &quot;,&quot; &amp;amp; mps(3) &amp;amp;amp; &quot;,&quot; &amp; mps(4) &amp;amp;amp;amp; &quot;,&quot; &amp; mps(5) &amp;amp; mps(6) &amp; mps(8) &amp;amp;amp;amp; &quot; &quot; &amp;  mps(9) &amp;amp;amp;amp; &quot; &quot; &amp;  mps(10)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;WriteToCSV msg, license_out&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;End If&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Loop&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;End Sub&lt;/code&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;Write to CSV function: oCsv(Output File), msg(parsed ReadLine results)&lt;br /&gt;&lt;style type=&quot;text/css&quot;&gt;.code { border: 1px solid #ccc; list-style-type: decimal-leading-zero; padding: 5px; margin: 0; }&lt;br /&gt;  .code code { display: block; padding: 3px; margin-bottom: 0; }&lt;br /&gt;  .code li { background: #ddd; border: 1px solid #ccc; margin: 0 0 2px 2.2em; }&lt;br /&gt;&lt;/style&gt;&lt;br /&gt;&lt;ol class=&quot;code&quot;&gt;&lt;br /&gt; &lt;li style=&quot;color: rgb(51, 204, 0);&quot;&gt;&lt;code&gt;Function WriteToCSV(oCsv,msg)&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li style=&quot;color: rgb(51, 204, 0);&quot;&gt;&lt;code&gt;If Not fso.FileExists(oCsv) Then fso.CreateTextFile(oCsv)&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li style=&quot;color: rgb(51, 204, 0);&quot;&gt;&lt;code&gt;Set f = fso.GetFile(oCsv)&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li style=&quot;color: rgb(51, 204, 0);&quot;&gt;&lt;code&gt;Set ts = f.OpenAsTextStream(ForAppending, TristateUseDefault)&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li style=&quot;color: rgb(51, 204, 0);&quot;&gt;&lt;code&gt;ts.Write msg &amp; vbCrlf&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li style=&quot;color: rgb(51, 204, 0);&quot;&gt;&lt;code&gt;msg = &quot;&quot;&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li style=&quot;color: rgb(51, 204, 0);&quot;&gt;&lt;code&gt;ts.Close&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li style=&quot;color: rgb(51, 204, 0);&quot;&gt;&lt;code&gt;End Function&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;If at first you fail, call it version 1.0&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/81820134749013871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/81820134749013871?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/81820134749013871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/81820134749013871'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2007/09/howto-enum-citrix-server-license-using.html' title='HowTo: Enum Citrix Server License using LMSTAT'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-6979670101871572326</id><published>2007-09-12T22:59:00.001+08:00</published><updated>2007-09-12T23:08:08.115+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="admin scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="developer scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="root\cimv2"/><category scheme="http://www.blogger.com/atom/ns#" term="root\wmi"/><category scheme="http://www.blogger.com/atom/ns#" term="vbs"/><category scheme="http://www.blogger.com/atom/ns#" term="Win32_NTEventLogFile"/><category scheme="http://www.blogger.com/atom/ns#" term="windows xp"/><category scheme="http://www.blogger.com/atom/ns#" term="wmi"/><category scheme="http://www.blogger.com/atom/ns#" term="wsh"/><title type='text'>Event Log</title><content type='html'>Event Log Manipulations:&lt;br /&gt;&lt;br /&gt;1. Reading the Event Log&lt;br /&gt;2. Clearing the Event Log&lt;br /&gt;3. Creating backup of the Event Log&lt;br /&gt;&lt;br /&gt;Code Snippet #1:&lt;br /&gt;&lt;br /&gt;&lt;ol class=&quot;code&quot;&gt;&lt;li&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;strComputer = &quot;.&quot;&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;Set objWMIService = GetObject(&quot;winmgmts:&quot; _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;&amp; &quot;{impersonationLevel=impersonate}!\\&quot; _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;&amp;amp; strComputer &amp; &quot;\root\cimv2&quot;)&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;Set colLoggedEvents = objWMIService.ExecQuery _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;(&quot;Select * from Win32_NTLogEvent &quot; _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent2&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;&amp;amp; &quot;Where Logfile = &#39;System&#39;&quot;)&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;For Each objEvent in colLoggedEvents&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;Wscript.Echo &quot;Category: &quot; &amp;amp;amp; objEvent.Category &amp; VBNewLine _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;&amp;amp;amp;amp; &quot;Computer Name: &quot; &amp; objEvent.ComputerName &amp;amp; VBNewLine _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;&amp; &quot;Event Code: &quot; &amp;amp; objEvent.EventCode &amp; VBNewLine _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;&amp;amp; &quot;Message: &quot; &amp; objEvent.Message &amp;amp; VBNewLine _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;&amp; &quot;Record Number: &quot; &amp;amp; objEvent.RecordNumber &amp; VBNewLine _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;&amp;amp; &quot;Source Name: &quot; &amp; objEvent.SourceName &amp;amp; VBNewLine _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;&amp; &quot;Time Written: &quot; &amp;amp; objEvent.TimeWritten &amp; VBNewLine _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;&amp;amp;amp;amp; &quot;Event Type: &quot; &amp; objEvent.Type &amp;amp; VBNewLine _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;&amp; &quot;User: &quot; &amp;amp; objEvent.User&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;Next&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;Code Snippet #2:&lt;br /&gt;&lt;style type=&quot;text/css&quot;&gt;&lt;br /&gt;  .code { border: 1px solid #ccc; list-style-type: decimal-leading-zero; padding: 5px; margin: 0; }&lt;br /&gt;  .code code { display: block; padding: 3px; margin-bottom: 0; }&lt;br /&gt;  .code li { background: #ddd; border: 1px solid #ccc; margin: 0 0 2px 2.2em; }&lt;br /&gt;  .indent1 { padding-left: 2pt; }&lt;br /&gt;  .indent2 { padding-left: 4pt; }&lt;br /&gt;&lt;/style&gt;&lt;br /&gt;&lt;ol class=&quot;code&quot;&gt;&lt;li&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;strComputer = &quot;.&quot;&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;Set objWMIService = GetObject(&quot;winmgmts:&quot; _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;&amp; &quot;{impersonationLevel=impersonate,(Backup)}!\\&quot; &amp;amp; _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent2&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;strComputer &amp; &quot;\root\cimv2&quot;)&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;Set colLogFiles = objWMIService.ExecQuery _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;(&quot;Select * from Win32_NTEventLogFile &quot; _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;&amp;amp; &quot;Where LogFileName=&#39;Application&#39;&quot;)&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;For Each objLogfile in colLogFiles&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;objLogFile.ClearEventLog()&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;WScript.Echo &quot;Cleared application event log file&quot;&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;Next&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;p&gt;Code Snippet #3:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;style type=&quot;text/css&quot;&gt;&lt;br /&gt;  .code { border: 1px solid #ccc; list-style-type: decimal-leading-zero; padding: 5px; margin: 0; }&lt;br /&gt;  .code code { display: block; padding: 3px; margin-bottom: 0; }&lt;br /&gt;  .code li { background: #ddd; border: 1px solid #ccc; margin: 0 0 2px 2.2em; }&lt;br /&gt;  .indent1 { padding-left: 2pt; }&lt;br /&gt;  .indent2 { padding-left: 4pt; }&lt;br /&gt;&lt;/style&gt;&lt;br /&gt;&lt;ol class=&quot;code&quot;&gt;&lt;li&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;strComputer = &quot;.&quot;&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;Set objWMIService = GetObject(&quot;winmgmts:&quot; _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;&amp; &quot;{impersonationLevel=impersonate,(Backup)}!\\&quot; &amp;amp; _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent2&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;strComputer &amp;amp; &quot;\root\cimv2&quot;)&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;Set colLogFiles = objWMIService.ExecQuery _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;(&quot;Select * from Win32_NTEventLogFile &quot; _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent2&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;&amp;amp; &quot;Where LogFileName=&#39;Application&#39;&quot;)&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;For Each objLogfile in colLogFiles&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;errBackupLog = objLogFile.BackupEventLog( _&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent2&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;&quot;c:\scripts\application.evt&quot;)&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;WScript.Echo &quot;File saved as c:\scripts\applications.evt&quot;&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;&lt;span style=&quot;color:#33ff33;&quot;&gt;Next&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;If at first you fail, call it version 1.0&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/6979670101871572326/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/6979670101871572326?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/6979670101871572326'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/6979670101871572326'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2007/09/event-log.html' title='Event Log'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-1464335615834524373</id><published>2007-07-13T20:06:00.000+08:00</published><updated>2007-07-16T18:21:00.465+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="admin scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="Citrix"/><category scheme="http://www.blogger.com/atom/ns#" term="developer scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="MFCOM"/><category scheme="http://www.blogger.com/atom/ns#" term="query scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="wmi"/><category scheme="http://www.blogger.com/atom/ns#" term="wsh"/><title type='text'>MFCOM: Farm Session Count</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;&lt;br /&gt;  .code { border: 1px solid #ccc; list-style-type: decimal-leading-zero; padding: 5px; margin: 0; }&lt;br /&gt;  .code code { display: block; padding: 3px; margin-bottom: 0; }&lt;br /&gt;  .code li { background: #ddd; border: 1px solid #ccc; margin: 0 0 2px 2.2em; }&lt;br /&gt;  .indent1 { padding-left: 5em; }&lt;br /&gt;  .indent2 { padding-left: 10em; }&lt;br /&gt;&lt;/style&gt;Another day of Citrix Administration, a simple MFCOM script to view Active Farm Sessions.&lt;br /&gt;&lt;br /&gt;Code Snippet:&lt;br /&gt;&lt;ol class=&quot;code&quot;&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Const cMetaFrameWinFarmObject = 1&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Const MFSessionStateActive = 1&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Set theFarm = CreateObject(&quot;MetaFrameCOM.MetaFrameFarm&quot;)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;theFarm.Initialize(cMetaFrameWinFarmObject)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;intSessionCount = 0&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;intActiveCount = 0&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;For Each oSession In theFarm.Sessions&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;intSessionCount = intSessionCount + 1&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;If (oSession.SessionState = MFSessionStateActive) and (oSession.SessionName &lt;&gt; &quot;Console&quot;) Then&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;intActiveCount = intActiveCount + 1&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;WScript.Echo vbcrlf &amp; &quot;*****************************&quot;&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;WScript.Echo &quot;User Name: &quot; &amp; oSession.UserName&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;WScript.Echo &quot;IP Address: &quot; &amp; oSession.ClientAddress&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;WScript.Echo &quot;Server: &quot; &amp; oSession.ServerName&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;WScript.Echo &quot;Application: &quot; &amp; oSession.AppName&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;WScript.Echo &quot;Logon Time: &quot; &amp; oSession.ConnectedTime&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;End If&lt;/code&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Next&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;WScript.Echo  &quot;Total Session Count = &quot; &amp; intSessionCount &amp;amp; vbcrlf &amp; _&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent2&quot;&gt;&lt;code&gt;&quot;Active Session Count = &quot; &amp;amp; intActiveCount&lt;/code&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;If at first you fail, call it version 1.0&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/1464335615834524373/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/1464335615834524373?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/1464335615834524373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/1464335615834524373'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2007/07/mfcom-farm-session-count.html' title='MFCOM: Farm Session Count'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-762196144891462668</id><published>2007-07-13T20:05:00.000+08:00</published><updated>2007-07-16T18:27:00.077+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="admin scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="Citrix"/><category scheme="http://www.blogger.com/atom/ns#" term="MFCOM"/><category scheme="http://www.blogger.com/atom/ns#" term="PS4"/><category scheme="http://www.blogger.com/atom/ns#" term="query scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="wmi"/><category scheme="http://www.blogger.com/atom/ns#" term="wsh"/><title type='text'>MFCOM: Connection licenses and usage count</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;&lt;br /&gt;  .code { border: 1px solid #ccc; list-style-type: decimal-leading-zero; padding: 5px; margin: 0; }&lt;br /&gt;  .code code { display: block; padding: 3px; margin-bottom: 0; }&lt;br /&gt;  .code li { background: #ddd; border: 1px solid #ccc; margin: 0 0 2px 2.2em; }&lt;br /&gt;  .indent1 { padding-left: 5em; }&lt;br /&gt;  .indent2 { padding-left: 10em; }&lt;br /&gt;  .indent3 { padding-left: 15em; }&lt;br /&gt;&lt;/style&gt;Yet Another Citrix Administrator Task, monitor the connection licenses and usage count in the farm...&lt;br /&gt;&lt;br /&gt;Feel like a hill billy...&lt;br /&gt;&lt;br /&gt;Code Snippet:&lt;br /&gt; &lt;ol class=&quot;code&quot;&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Dim fso&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;Set fso = CreateObject(&quot;Scripting.FileSystemObject&quot;)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent1&quot;&gt;&lt;code&gt;If not fso.FolderExists(&quot;c:\liclog&quot; )  then&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent2&quot;&gt;&lt;code&gt;Set MyFolder = fso.createFolder(&quot;c:\liclog&quot; )&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent1&quot;&gt;&lt;code&gt;else&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent1&quot;&gt;&lt;code&gt;End if&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent3&quot;&gt;&lt;code&gt;if not fso.FileExists(&quot;c:\liclog\licCount.log&quot; )  then&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent1&quot;&gt;&lt;code&gt;Set MyFile= fso.createTextFile(&quot;c:\liclog\licCount.log&quot;)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;MyFile.writeline &quot;Date       &quot; &amp;amp; &quot; Time       &quot; &amp; &quot;Lic Type            &quot; &amp;amp; &quot;Used&quot;&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;MyFile.close&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent3&quot;&gt;&lt;code&gt;else&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent3&quot;&gt;&lt;code&gt;end if&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent3&quot;&gt;&lt;code&gt;Const ForAppending = 8&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent1&quot;&gt;&lt;code&gt;Set MyFile= fso.OpenTextFile(&quot;c:\liclog\licCount.log&quot;, ForAppending,True)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Dim theFarm, aLicense&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Set theFarm = CreateObject(&quot;MetaFrameCOM.MetaFrameFarm&quot;)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;&#39; Initialize the farm object.&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;theFarm.Initialize(MetaFrameWinFarmObject)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;For Each aLicense In theFarm.LicenseSets(MFLIcenseClassConnection)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent1&quot;&gt;&lt;code&gt;if aLicense.LicenseID = &quot;0000000000000003&quot; then&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent1&quot;&gt;&lt;code&gt;MyFile.WriteLine date &amp;amp; &quot;,&quot; &amp; time &amp;amp; &quot;,&quot; &amp; aLicense.Name &amp;amp;amp;amp; &quot;,&quot; &amp; aLicense.pooledinuse(&quot;&quot;)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent1&quot;&gt;&lt;code&gt;else&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent2&quot;&gt;&lt;code&gt;end if&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;next&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent2&quot;&gt;&lt;code&gt;MyFile.Close&lt;/code&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;If at first you fail, call it version 1.0&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/762196144891462668/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/762196144891462668?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/762196144891462668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/762196144891462668'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2007/07/mfcom-connection-licenses-and-usage.html' title='MFCOM: Connection licenses and usage count'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-2550139632390052703</id><published>2007-07-09T15:56:00.000+08:00</published><updated>2007-07-13T20:00:07.798+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ActiveX"/><category scheme="http://www.blogger.com/atom/ns#" term="admin scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="Agent.Control"/><category scheme="http://www.blogger.com/atom/ns#" term="api script"/><category scheme="http://www.blogger.com/atom/ns#" term="developer scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="login scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="windows xp"/><category scheme="http://www.blogger.com/atom/ns#" term="wmi"/><category scheme="http://www.blogger.com/atom/ns#" term="wsh"/><title type='text'>Merlin the great!</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;&lt;br /&gt;  .code { border: 1px solid #ccc; list-style-type: decimal-leading-zero; padding: 5px; margin: 0; }&lt;br /&gt;  .code code { display: block; padding: 3px; margin-bottom: 0; }&lt;br /&gt;  .code li { background: #ddd; border: 1px solid #ccc; margin: 0 0 2px 2.2em; }&lt;br /&gt;&lt;/style&gt;Imagine how amazed your users will be when they login to the domain and Merlin greets them...&lt;br /&gt;&lt;br /&gt;You can call Merlin using Agent Control and make do the moves while you perform you login scripts in the background...&lt;br /&gt;&lt;br /&gt;You can load information about the logged on user either using ADSI scripts or just by reading on the environment variable table...&lt;br /&gt;&lt;br /&gt;Take note of the length of the messages or actions you throw at Merlin, you might need to make use of the Sleep method, otherwise the sentences or the animation will overlap...&lt;br /&gt;&lt;br /&gt;Code Snippet:&lt;br /&gt;&lt;ol class=&quot;code&quot;&gt;&lt;br /&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;strAgentName = &quot;Merlin&quot;&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;strAgentPath = &quot;Msagent\Chars\&quot; &amp; strAgentName &amp;amp;amp;amp; &quot;.acs&quot;&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Set objAgent = CreateObject(&quot;Agent.Control.2&quot;)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;objAgent.Connected = True&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;objAgent.Characters.Load strAgentName, strAgentPath&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Set merlin_d_great = objAgent.Characters.Character(strAgentName)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;With merlin_d_great&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;.Show&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;Set objRequest = .MoveTo(500,400)&lt;/code&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;Set objRequest = .Play(&quot;Announce&quot;)&lt;/code&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;Set objRequest = .Play(&quot;Explain&quot;)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;Set objRequest = .Speak(&quot;Hi &quot;)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;Set objRequest = .Play(&quot;Read&quot;)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;wscript.sleep 2000&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;Set objRequest = .Speak(&quot;Today is &quot; &amp; Now() &amp;amp; &quot;...&quot;)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;Set objRequest = .Play(&quot;ReadContinued&quot;)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;wscript.sleep 2000&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;Set objRequest = .Speak(&quot;and the time is &quot; &amp;amp;amp; Time() &amp; &quot;...&quot;)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;wscript.sleep 2000&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;Set objRequest = .Play(&quot;ReadReturn&quot;)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;wscript.sleep 2000&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;Set objRequest = .MoveTo(750, 450)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;Set objRequest = .Play(&quot;Pleased&quot;)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;wscript.sleep 5000&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;Set objRequest = .Speak(&quot;I will be back shortly...&quot;)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;wscript.sleep 5000&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;Set objRequest = .Play(&quot;Wave&quot;)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;wscript.sleep 5000&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;indent0&quot;&gt;&lt;code&gt;.Hide&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;End With&lt;/code&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;Have a blast with Merlin, and oh... you can use other characters aswell...&lt;br /&gt;&lt;br /&gt;If at first you fail, call it version 1.0&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/2550139632390052703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/2550139632390052703?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/2550139632390052703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/2550139632390052703'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2007/07/merlin-great.html' title='Merlin the great!'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-8037333197131358012</id><published>2007-07-09T15:12:00.000+08:00</published><updated>2018-06-15T09:06:50.049+08:00</updated><title type='text'>Radia Command Lines</title><content type='html'>&lt;font size=&quot;3&quot;&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;There are few documents available on Radia troubleshooting and knowledgebase so I decided to post&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;font size=&quot;3&quot;&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;Q. What is Radia? &lt;/span&gt;&lt;br style=&quot;font-family: arial;&quot;&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;A. Radia is Software Deployment\Management Solution (formerly Novadigm EDM\Radia) that was bought by HP.&lt;br /&gt;&lt;br /&gt;Q. What is RCS?&lt;br /&gt;A.&lt;br /&gt;&lt;br /&gt;Q. What is RPM?&lt;br /&gt;A.&lt;br /&gt;&lt;br /&gt;Q. What is RPX\RPS?&lt;br /&gt;A.&lt;br /&gt;&lt;br /&gt;Q. What is RMS?&lt;br style=&quot;font-family: arial;&quot;&gt;&lt;/span&gt;A.&lt;br /&gt;&lt;br style=&quot;font-family: arial;&quot;&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;ol&gt;&lt;li&gt;&lt;font size=&quot;3&quot;&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;span style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;nvdkit objdump &lt;object&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font size=&quot;3&quot;&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;span style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;nvdkit.exe objdump zconfig.edm | FIND /I &lt;keyword&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;nvdkit eval nvd::init; set radexe &quot;[exec $::NVDSYS/RADNTFYC.EXE  &lt;target&gt; RADCONCT.EXE mode=discovery]&quot;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;nvdkit tpping -host &lt;RCS&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;nvdkit sync &lt;src-dir&gt; &lt;dest-dir&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;If at first you fail, call it version 1.0&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/8037333197131358012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/8037333197131358012?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/8037333197131358012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/8037333197131358012'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2007/07/radia-command-lines.html' title='Radia Command Lines'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-1524602456600352289</id><published>2007-07-09T13:38:00.000+08:00</published><updated>2007-07-13T19:38:45.628+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2K3"/><category scheme="http://www.blogger.com/atom/ns#" term="admin scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="bsod"/><category scheme="http://www.blogger.com/atom/ns#" term="Citrix"/><category scheme="http://www.blogger.com/atom/ns#" term="IBM"/><category scheme="http://www.blogger.com/atom/ns#" term="kernel debugging"/><category scheme="http://www.blogger.com/atom/ns#" term="PS4"/><title type='text'>KD Memory.dmp debugging</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;&lt;br /&gt;  .code { border: 1px solid #ccc; list-style-type: decimal-leading-zero; padding: 5px; margin: 0; }&lt;br /&gt;  .code code { display: block; padding: 3px; margin-bottom: 0; }&lt;br /&gt;  .code li { background: #ddd; border: 1px solid #ccc; margin: 0 0 2px 2.2em; }&lt;br /&gt;&lt;/style&gt;&lt;span style=&quot;font-family: arial;font-size:100%;&quot; &gt;One of our &lt;a href=&quot;http://www.citrix.com&quot;&gt;Citrix&lt;/a&gt; server encountered a &lt;a href=&quot;http://en.wikipedia.org/wiki/Blue_Screen_of_Death&quot;&gt;BSOD&lt;/a&gt;, luckily we had &lt;a href=&quot;http://www.ibm.com/systems/bladecenter/&quot;&gt;RSA&lt;/a&gt; and managed to hard reboot the server.&lt;br /&gt;&lt;br /&gt;I&#39;ve gathered the memory dump to view the cause of BSOD and  found the Symantec Antivirus  has caused a module error on the NIC driver.&lt;br /&gt;&lt;br /&gt;We have then disabled the Network Drives in the File System Auto Protect and it had not experienced the same ever since.&lt;br /&gt;&lt;br /&gt;Did not find any help from &lt;a href=&quot;http://www.symantec.com&quot;&gt;Symantec&lt;/a&gt; regarding the root cause other than it&#39;s a known issue.&lt;br /&gt;&lt;br /&gt;Below are some steps that you could use for debbuging:&lt;/span&gt;&lt;br /&gt;&lt;ol style=&quot;color: rgb(51, 255, 51); font-family: arial;&quot; class=&quot;code&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;/span&gt;  &lt;li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;code&gt;Launch windbg passing it the location of the symbol files, the source files (i386 directory) and the dump file. Example: &lt;span style=&quot;font-weight: bold; color: rgb(255, 255, 0);&quot;&gt;windbg -y dump\symbols -i SRC\i386 -z dump\Memory.dmp&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;  &lt;li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;code&gt;At the bottom of the Command window there is a &lt;span style=&quot;font-weight: bold; color: rgb(255, 255, 0);&quot;&gt;kd&gt;&lt;/span&gt; prompt.&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;  &lt;li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;code&gt;The commands are entered into that prompt:&lt;span style=&quot;color: rgb(255, 255, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 255, 0);&quot;&gt;kd&gt;!analyze -v&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;  &lt;li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;code&gt;Two things to look for in the results: the memory referenced and the FAULTING_IP&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;  &lt;li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;code&gt;The command: &lt;span style=&quot;font-weight: bold; color: rgb(255, 255, 0);&quot;&gt;kd&gt;lm &lt;/span&gt;- will produce a listing of modules and their memory location.&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;  &lt;li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;code&gt;Look to see which module&#39;s memory the memory referenced identified above falls in.&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;  &lt;li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;code&gt;That usually indicates the process that caused the crashed and will probably match the FAULTING_IP if listed.&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;  &lt;li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;code&gt;Also informative: &lt;span style=&quot;font-weight: bold; color: rgb(255, 255, 0);&quot;&gt;kd&gt;.reload –v&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/ol&gt;  &lt;span style=&quot;color: rgb(255, 255, 255);font-family:arial;&quot; &gt;If at first you fail, call it version 1.0&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/1524602456600352289/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/1524602456600352289?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/1524602456600352289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/1524602456600352289'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2007/07/kd-memorydmp-debugging.html' title='KD Memory.dmp debugging'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-8303740371142317396</id><published>2007-06-28T09:31:00.000+08:00</published><updated>2007-06-28T10:26:32.805+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="admin scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="developer scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="RegObj.Registry"/><category scheme="http://www.blogger.com/atom/ns#" term="vbs"/><category scheme="http://www.blogger.com/atom/ns#" term="windows xp"/><category scheme="http://www.blogger.com/atom/ns#" term="wmi"/><category scheme="http://www.blogger.com/atom/ns#" term="WScript.Shell"/><category scheme="http://www.blogger.com/atom/ns#" term="wsh"/><title type='text'>HowTo: Add cmd.exe to right click context menu</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;&lt;br /&gt;  .code { border: 1px solid #ccc; list-style-type: decimal-leading-zero; padding: 5px; margin: 0; }&lt;br /&gt;  .code code { display: block; padding: 3px; margin-bottom: 0; }&lt;br /&gt;  .code li { background: #ddd; border: 1px solid #ccc; margin: 0 0 2px 2.2em; }&lt;br /&gt;&lt;/style&gt;If you want the command prompt to be available whenever you right click on objects on your desktop or explorer, you can opt to create the keys in the registry:&lt;br /&gt;&lt;br /&gt;&lt;ul style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;li&gt;HKEY_CLASSES_ROOT\Folder\shell\MenuText\Command&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Change the (Default) value to &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;cmd.exe /k cd &quot;%1&quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Or you can script it!&lt;br /&gt;&lt;br /&gt;Code Snippet:&lt;br /&gt;&lt;ol style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;code&quot;&gt;&lt;li  style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;code&gt;Const HKEY_CLASSES_ROOT  = &amp;H80000000&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li  style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;code&gt;Const HKEY_CURRENT_USER  = &amp;amp;H80000001&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li  style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;code&gt;Dim WSHShell, objWMIService, strComputer, lcValue1&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li  style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;code&gt;strComputer = &quot;.&quot;&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li  style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;code&gt;Set objWMIService = GetObject(&quot;winmgmts:\\&quot; &amp; strComputer &amp;amp;amp;amp; &quot;\root\cimv2&quot;)&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li  style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;code&gt;Set objWSHShell = WScript.CreateObject(&quot;WScript.Shell&quot;)&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li  style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;code&gt;Set objRegObj = WScript.CreateObject(&quot;RegObj.Registry&quot;)&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li  style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;code&gt;objWSHShell.Popup &quot;This will enable CMD with explorer options for the Current User&quot;&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li  style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;code&gt;objWSHShell.RegWrite &quot;HKCR\Folder\Shell\MenuText\Command\&quot;, &quot;cmd.exe /k cd &quot; &amp;amp; chr(34) &amp; &quot;%1&quot; &amp;amp; chr(34)&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li  style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;code&gt;objWSHShell.RegWrite &quot;HKCR\Folder\Shell\MenuText\&quot;, &quot;Launch CMD&quot;&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li  style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;code&gt;tmp = objWSHShell.RegRead(&quot;HKCR\Folder\Shell\MenuText\&quot;)&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;code style=&quot;font-family: arial;&quot;&gt;objWSHShell.Popup (&quot;Current Value: &quot; + tmp)&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;If at first you fail, call it version 1.0&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/8303740371142317396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/8303740371142317396?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/8303740371142317396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/8303740371142317396'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2007/06/howto-add-cmdexe-to-right-click-context.html' title='HowTo: Add cmd.exe to right click context menu'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-2733244879225712126</id><published>2007-06-28T09:16:00.000+08:00</published><updated>2007-06-28T09:30:04.188+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="admin scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="developer scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="root\cimv2"/><category scheme="http://www.blogger.com/atom/ns#" term="win32_service"/><category scheme="http://www.blogger.com/atom/ns#" term="windows xp"/><category scheme="http://www.blogger.com/atom/ns#" term="wmi"/><title type='text'>HowTo: Enable disabled services</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;&lt;br /&gt;  .code { border: 1px solid #ccc; list-style-type: decimal-leading-zero; padding: 5px; margin: 0; }&lt;br /&gt;  .code code { display: block; padding: 3px; margin-bottom: 0; }&lt;br /&gt;  .code li { background: #ddd; border: 1px solid #ccc; margin: 0 0 2px 2.2em; }&lt;br /&gt;  .indent1 { padding-left: 5em; }&lt;br /&gt;  .indent2 { padding-left: 10em; }&lt;br /&gt;&lt;/style&gt;If you want to automate startups on services that might be disabled by GPO, you can use Win32_Service class and change properties like the startup (Automatic\Manual\Disabled) or start\stop the service.&lt;br /&gt;&lt;br /&gt;In my case, I prefer to use themes on my XP machine at work but our GPO disables them so our machines look like NT desktops... it sucks ain&#39;t it?&lt;br /&gt;&lt;br /&gt;So to overcome this, I placed the script in my startup to enable the Themes and start the service.&lt;br /&gt;&lt;br /&gt;Code Snippet:&lt;br /&gt; &lt;ol style=&quot;color: rgb(51, 255, 51);&quot; class=&quot;code&quot;&gt;&lt;li&gt;&lt;code&gt;strComputer = &quot;.&quot;&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;Set objWMIService = GetObject(&quot;winmgmts:&quot; _&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&amp; &quot;{impersonationLevel=impersonate}!\\&quot; &amp;amp; _&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;strComputer &amp;amp; &quot;\root\cimv2&quot;)&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;Set colServiceList = objWMIService.ExecQuery _&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;(&quot;Select * from Win32_Service where Name = &#39;Themes&#39;&quot;)&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;For Each objService in colServiceList&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;&#39;Wscript.Echo objService.Name&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;errReturnCode = objService.Change( , , , , &quot;Automatic&quot;)&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;If objService.State &lt;&gt; &quot;Running&quot; Then&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li class=&quot;indent2&quot;&gt;&lt;code&gt;objService.StartService()&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;Else&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li class=&quot;indent2&quot;&gt;&lt;code&gt;objService.StopService()&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li class=&quot;indent2&quot;&gt;&lt;code&gt;Wscript.Echo &quot;Stopping...&quot;&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li class=&quot;indent2&quot;&gt;&lt;code&gt;Wscript.Sleep 5000&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li class=&quot;indent2&quot;&gt;&lt;code&gt;objService.StartService()&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li class=&quot;indent2&quot;&gt;&lt;code&gt;Wscript.Echo &quot;Applying Themes&quot;&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li class=&quot;indent2&quot;&gt;&lt;code&gt;Wscript.Sleep 5000&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li class=&quot;indent1&quot;&gt;&lt;code&gt;End If&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;Next&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;Change  line #6 value to any services that you want to enable (my case it&#39;s Name = &#39;Themes&#39;).&lt;br /&gt;&lt;br /&gt;I prefer to use Cscript when executing any vbs scripts to avoid having to click on message prompts whenever you Echo.&lt;br /&gt;&lt;br /&gt;If at first you fail, call it version 1.0&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/2733244879225712126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/2733244879225712126?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/2733244879225712126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/2733244879225712126'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2007/06/howto-enable-disabled-services.html' title='HowTo: Enable disabled services'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-3703086223917155131</id><published>2007-06-28T09:10:00.000+08:00</published><updated>2007-06-28T09:15:36.344+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="admin scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="developer scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="vbs"/><category scheme="http://www.blogger.com/atom/ns#" term="windows xp"/><category scheme="http://www.blogger.com/atom/ns#" term="wmi"/><category scheme="http://www.blogger.com/atom/ns#" term="wsh"/><title type='text'>Bytes Converter Function</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;&lt;br /&gt;  .code { border: 1px solid #ccc; list-style-type: decimal-leading-zero; padding: 5px; margin: 0; }&lt;br /&gt;  .code code { display: block; padding: 3px; margin-bottom: 0; }&lt;br /&gt;  .code li { background: #ddd; border: 1px solid #ccc; margin: 0 0 2px 2.2em; }&lt;br /&gt;&lt;/style&gt;A simple function that converts Bytes to GB, MB or KB.&lt;br /&gt;&lt;br /&gt;Code Snippet:&lt;br /&gt; &lt;ol class=&quot;code&quot;&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Function SetBytes(Bytes,fKB)&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;if fKB=True then Bytes = Bytes * 1024&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;If Bytes &gt;= 1073741824 Then&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;SetBytes = FormatNumber((Bytes / 1024 / 1024 / 1024),2,,-1,-1) &amp; &quot; GB&quot;&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;ElseIf Bytes &amp;gt;= 1048576 Then&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;SetBytes =  FormatNumber((Bytes / 1024 / 1024),2,,-1,-1) &amp; &quot; MB&quot;&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;ElseIf Bytes &amp;gt;= 1024 Then&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;SetBytes = FormatNumber((Bytes / 1024),2,,-1,-1) &amp; &quot; KB&quot;&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;ElseIf Bytes &amp;lt; 1024 Then&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;SetBytes = Bytes &amp; &quot; Bytes&quot;&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;End If&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;End Function&lt;/code&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;Usage:  SetBytes(Size,true\false)&lt;br /&gt;&lt;br /&gt;If at first you fail, call it version 1.0&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/3703086223917155131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/3703086223917155131?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/3703086223917155131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/3703086223917155131'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2007/06/bytes-converter-function.html' title='Bytes Converter Function'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-265664111272497138</id><published>2007-06-26T15:48:00.000+08:00</published><updated>2007-06-26T16:12:07.221+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="admin scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="api script"/><category scheme="http://www.blogger.com/atom/ns#" term="Kixtart"/><category scheme="http://www.blogger.com/atom/ns#" term="Kixtart Copy"/><category scheme="http://www.blogger.com/atom/ns#" term="NT Scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="Shell.Application"/><category scheme="http://www.blogger.com/atom/ns#" term="UDF"/><category scheme="http://www.blogger.com/atom/ns#" term="windows xp"/><title type='text'>Kix Copy script with GUI (Kixtart UDF)</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;&lt;br /&gt;  .code { border: 1px solid #ccc; list-style-type: decimal-leading-zero; padding: 5px; margin: 0; }&lt;br /&gt;  .code code { display: block; padding: 3px; margin-bottom: 0; }&lt;br /&gt;  .code li { background: #ddd; border: 1px solid #ccc; margin: 0 0 2px 2.2em; }&lt;br /&gt;&lt;/style&gt;Another KIXtart UDF, well the title says it all...&lt;br /&gt;&lt;br /&gt;Dependencies:&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;KiX 4.02 (or higher)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;Shell32.dll version 4.71 or later. (Included with: Windows 2000, Windows NT 4.0 with Internet Explorer 4.0, Windows 98, Windows 95 with Internet Explorer 4.0.)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Usage:&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;GUICopy(&quot;source&quot;, &quot;destination&quot;, &quot;optional flag&quot;, &quot;optional flag&quot;)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;@ERROR &quot; : &quot; @SERROR ?&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 255, 255);&quot;&gt;Optional Flags:&lt;/span&gt;&lt;br /&gt; 4       - Do not display a progress dialog box.&lt;br /&gt; 8      - Give the file being operated on a new name in a move, copy, or rename&lt;br /&gt;            operation if a file with the target name already exists.&lt;br /&gt; 16    - Respond with &quot;Yes to All&quot; for any dialog box that is displayed.&lt;br /&gt; 64    - Preserve undo information, if possible.&lt;br /&gt;128   - Perform the operation on files only if a wildcard file name (*.*) is&lt;br /&gt;             specified.&lt;br /&gt;256   - Display a progress dialog box but do not show the file names.&lt;br /&gt;512   - Do not confirm the creation of a new directory if the operation requires&lt;br /&gt;            one to be created.&lt;br /&gt;1024 - Do not display a user interface if an error occurs.&lt;br /&gt;2048 - Version 4.71. Do not copy the security attributes of the file.&lt;br /&gt;4096 - Only operate in the local directory. Don&#39;t operate recursively into&lt;br /&gt;              subdirectories.&lt;br /&gt;8192 -  Version 5.0. Do not copy connected files as a group. Only copy the&lt;br /&gt;              specified files.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 255, 255);&quot;&gt;Returns    The exitcode of the command in the @ERROR macro.&lt;/span&gt;&lt;br /&gt;@ERROR = 0     The operation completed successfully.&lt;br /&gt;@ERROR = 2     The system cannot find the file specified. (Refers to Source file.)&lt;br /&gt;@ERROR = 3     The system cannot find the path specified. (Bad destination path.)&lt;br /&gt;@ERROR = 9     The storage control block address is invalid. (Most likely cancelled copy.)&lt;br /&gt;@ERROR = 10    The environment is incorrect. (Incorrect Shell32.dll version.)&lt;br /&gt;@ERROR = 87    The parameter is incorrect. (Use 0 or 1 to specify Copy or Move.)&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Code Snippet:&lt;br /&gt;  &lt;ol class=&quot;code&quot;&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Function GUICopy($sSrc, $sDest, OPTIONAL $lFlags, OPTIONAL $bMove)&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Dim $sVer,$objShell,$objFldr&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;If Not Exist($sSrc) Exit 2 Endif&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;If Not Exist($sDest) Exit 3 Endif&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;If @INWIN=1&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;$sVer=GetFileVersion(%WINDIR%+&quot;\System32\Shell32.dll&quot;,&quot;FileVersion&quot;)&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Else&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;$sVer=GetFileVersion(%WINDIR%+&quot;\System\Shell32.dll&quot;,&quot;FileVersion&quot;)&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Endif&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;If $sVer&amp;lt;&quot;4.71&quot; Exit 10 Endif&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;$objShell=CreateObject(&quot;Shell.Application&quot;)&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;$objFldr=$objShell.NameSpace($sDest)&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;If @ERROR&amp;lt;0 Exit VAL(&quot;&amp;amp;&quot;+Right(DecToHex(@ERROR),4)) EndIf&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Select&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Case $bMove=1 $objFldr.MoveHere($sSrc,$lFlags)&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Case $bMove=0 $objFldr.CopyHere($sSrc,$lFlags)&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Case 1 Exit 87&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;EndSelect&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;If @ERROR&amp;lt;0 Exit VAL(&quot;&amp;amp;&quot;+Right(DecToHex(@ERROR),4)) EndIf&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;Exit @ERROR&lt;/code&gt;&lt;br /&gt;  &lt;/li&gt;&lt;li style=&quot;font-family: arial; color: rgb(51, 255, 51);&quot;&gt;&lt;code&gt;EndFunction&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;If at first you fail, call it version 1.0&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/265664111272497138/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/265664111272497138?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/265664111272497138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/265664111272497138'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2007/06/kix-copy-script-with-gui-kixtart-udf.html' title='Kix Copy script with GUI (Kixtart UDF)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25573579.post-6682889451887477799</id><published>2007-06-26T15:30:00.000+08:00</published><updated>2007-06-26T15:47:36.317+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ActiveX"/><category scheme="http://www.blogger.com/atom/ns#" term="admin scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="ADODB.Stream"/><category scheme="http://www.blogger.com/atom/ns#" term="ftp"/><category scheme="http://www.blogger.com/atom/ns#" term="ftp script"/><category scheme="http://www.blogger.com/atom/ns#" term="Kixtart"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft.XMLHTTP"/><category scheme="http://www.blogger.com/atom/ns#" term="NT Scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="windows xp"/><category scheme="http://www.blogger.com/atom/ns#" term="wmi"/><title type='text'>Kix FTP (Kixtart UDF)</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;&lt;br /&gt;  .code { border: 1px solid #ccc; list-style-type: decimal-leading-zero; padding: 5px; margin: 0; }&lt;br /&gt;  .code code { display: block; padding: 3px; margin-bottom: 0; }&lt;br /&gt;  .code li { background: #ddd; border: 1px solid #ccc; margin: 0 0 2px 2.2em; }&lt;br /&gt;&lt;/style&gt;FTP via Kix? Yes!!!&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: georgia;&quot;&gt;Using &lt;/span&gt;&lt;code style=&quot;font-family: georgia;&quot;&gt;Microsoft.XMLHTTP and ADODB.Stream.&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Usage:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;FTPget(&quot;ftp_address&quot;, &quot;target_dest_drive&quot;, &quot;id&quot;, &quot;password&quot;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Code Snippet:&lt;br /&gt; &lt;ol style=&quot;color: rgb(51, 204, 0);&quot; class=&quot;code&quot;&gt;&lt;li&gt;&lt;code&gt;Function FTPget($sURL, $sTargetFile, optional $sUser, optional $sPass)&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;Dim $oFTP, $oStream  $sUser=&quot;&quot;+$sUser&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;$oFTP = CreateObject(&quot;Microsoft.XMLHTTP&quot;)&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;if @error&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;$ftpget=1&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;exit 1&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;endif&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;$oStream = CreateObject(&quot;ADODB.Stream&quot;)&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;if @error&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;$ftpget=2&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;exit 2&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;endif&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;if $sUser&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;$oFTP.Open(&quot;GET&quot;, $sURL, not 1, $sUser, $sPass)&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;else&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;$oFTP.Open(&quot;GET&quot;, $sURL, not 1)&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;endif&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;if @error&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;$ftpget=3&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;exit 3&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;endif&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;$oFTP.Send&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;$oStream.Type = 1&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;$oStream.Mode = 3&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;$oStream.open&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;$oStream.Write($oFTP.responseBody)&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;if @error&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;$ftpget=4&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;exit 4&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;endif&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;$oStream.SaveToFile($sTargetFile, 2)&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;if @error&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;$ftpget=5&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;exit 5&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;endif&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;$oStream.Close&lt;/code&gt;&lt;br /&gt; &lt;/li&gt;&lt;li&gt;&lt;code&gt;EndFunction&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;If at first you fail, call it version 1.0&lt;div class=&quot;blogger-post-footer&quot;&gt;The Prodigal Son @ 26th G. Street&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://26thgstreet.blogspot.com/feeds/6682889451887477799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25573579/6682889451887477799?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/6682889451887477799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25573579/posts/default/6682889451887477799'/><link rel='alternate' type='text/html' href='http://26thgstreet.blogspot.com/2007/06/kix-ftp-kixtart-udf.html' title='Kix FTP (Kixtart UDF)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>