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

<channel>
	<title>shepsPress &#187; Windows</title>
	<atom:link href="http://www.shepworks.com/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shepworks.com</link>
	<description>Marshall Shepherd&#039;s Blog</description>
	<lastBuildDate>Mon, 06 Sep 2010 00:47:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Linux vs.&#160;Windows</title>
		<link>http://www.shepworks.com/2010/04/06/linux-vs-windows/</link>
		<comments>http://www.shepworks.com/2010/04/06/linux-vs-windows/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 05:40:50 +0000</pubDate>
		<dc:creator>shep</dc:creator>
				<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.shepworks.com/?p=75</guid>
		<description><![CDATA[Most distributions of Linux today install in less than 30 minutes&#8230;including patches and updates. M$ Windows takes about 2 days to get all of the patches and reboots and patches and reboots and patches and reboots and patches&#8230;etc, etc. such a pain. Believe me, I only use MS Windows because I&#8217;m forced to. Linux isn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Most distributions of Linux today install in less than 30 minutes&#8230;including patches and updates. M$ Windows takes about 2 days to get all of the patches and reboots and patches and reboots and patches and reboots and patches&#8230;etc, etc. such a pain.</p>
<p>Believe me, I only use MS Windows because I&#8217;m forced to. Linux isn&#8217;t perfect, but it can be practical for any use, i.e. Server, Desktop, etc&#8230;</p>
<p>Need to save money?  Tired of  expensive updates? &#8211;try Linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shepworks.com/2010/04/06/linux-vs-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automate MS InfoPath and MS&#160;Word to .PDF</title>
		<link>http://www.shepworks.com/2009/08/02/automate-ms-infopath-and-ms-word-to-pdf/</link>
		<comments>http://www.shepworks.com/2009/08/02/automate-ms-infopath-and-ms-word-to-pdf/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 01:28:41 +0000</pubDate>
		<dc:creator>shep</dc:creator>
				<category><![CDATA[Computer Programming]]></category>
		<category><![CDATA[Visual Basic]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.shepworks.com/blog/?p=55</guid>
		<description><![CDATA[If you want to automate the process of converting MS InfoPath and/or MS Word to PDF, here&#8217;s a handy script my partner and I developed. I&#8217;ll explain later&#8230;jump to the script. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to automate the process of converting MS InfoPath and/or MS Word to PDF, here&#8217;s a handy script my partner and I developed. I&#8217;ll explain later&#8230;jump to the script.<br />
<span id="more-55"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
</pre></td><td class="code"><pre class="visualbasic" style="font-family:monospace;">Dim pCurrentDir, pFilename, ObjFSO, objIP, objWord, objDir, objDoc, x, objFile, objSubDir, strTargetFile
&nbsp;
Const wdFormatPDF = 17
&nbsp;
' Change the path below to the folder that you want to convert to PDF
'##############################################################
&nbsp;
strInDir  = InputBox(&quot;Please enter the InfoPath document folder.&quot;) 
&nbsp;
strOutDir = InputBox(&quot;Please enter the DESTINATION folder for the PDF files.&quot;)
&nbsp;
'##############################################################
&nbsp;
'initialize objects: Filesystem, Infopath, Word
&nbsp;
Set objFSO  = CreateObject(&quot;Scripting.FileSystemObject&quot;)
Set objIP   = CreateObject(&quot;InfoPath.Application&quot;)
Set objWord = CreateObject(&quot;Word.Application&quot;)
Set objDir  = objFSO.GetFolder(strInDir)
&nbsp;
' this does all the work
getXMLFiles(objDir)
&nbsp;
objIP.Quit(true)
objWord.Quit
&nbsp;
'##############################################################
Function getXMLFiles(pCurrentDir)
&nbsp;
   For Each objFile In pCurrentDir.Files
      pFilename = objFile.Name
      strTargetFile = replace(pCurrentDir, strInDir, strOutDir) &amp; &quot;\&quot; &amp; objFSO.GetBaseName(pFilename) &amp; &quot;.PDF&quot;
      strSourceFile = pCurrentDir &amp; &quot;\&quot; &amp; pFilename
      If Not objFSO.FolderExists(replace(pCurrentDir, strInDir, strOutDir)) Then
         x = objFSO.CreateFolder(replace(pCurrentDir, strInDir, strOutDir))
      End If
&nbsp;
&nbsp;
      If LCase(Right(Cstr(objFile.Name), 3)) = &quot;xml&quot; Then
         'x = MakePDF(pCurrentDir, pFilename, &quot;I&quot;) ' InfoPath
         objIP.XDocuments.Open(strSourceFile)
         x = objIP.XDocuments.Item(0).View.Export(strTargetFile, &quot;PDF&quot;)
         objIP.XDocuments.Close(0)
      Else
         'x = MakePDF(pCurrentDir, pFilename, &quot;W&quot;) ' Word
         objWord.Documents.Open strSourceFile
         Set objDoc = objWord.ActiveDocument
         objDoc.SaveAs strTargetFile, wdFormatPDF
         objDoc.Close
      End If
&nbsp;
      ' wscript.Echo strSourceFile, &quot;-&gt;&quot;, strTargetFile
&nbsp;
   Next
&nbsp;
   For Each objSubDir In pCurrentDir.SubFolders
      'wscript.Echo objSubDir.Name '&amp; &quot; passing recursively&quot;
      'wscript.Echo replace(objSubDir.ParentFolder, strInDir, strOutDir) &amp; &quot;\&quot; &amp; objSubDir.Name
      getXMLFiles(objSubDir)
   Next
&nbsp;
End Function
&nbsp;
&nbsp;
'wscript.Echo pCurrentDir
'wscript.Echo pCurrentDir.ParentFolder
'wscript.Echo objFSO.GetBaseName(pCurrentDir.ParentFolder)
'wscript.Echo objSubDir.Name
'wscript.Echo strNewDir
'strOutDir &amp; &quot;\&quot; &amp; objFSO.GetBaseName(pCurrentDir)
'wscript.Echo strNewDir</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.shepworks.com/2009/08/02/automate-ms-infopath-and-ms-word-to-pdf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful Windows Commands</title>
		<link>http://www.shepworks.com/2009/01/03/useful-windows-commands/</link>
		<comments>http://www.shepworks.com/2009/01/03/useful-windows-commands/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 06:35:10 +0000</pubDate>
		<dc:creator>shep</dc:creator>
				<category><![CDATA[Computer Programming]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.shepworks.com/blog/?p=39</guid>
		<description><![CDATA[How to delete a Windows service when the application uninstaller doesn&#8217;t : Use the Windows &#8220;service control&#8221; on the DOS command line. Syntax:  sc delete Servicename http://support.microsoft.com/kb/251192]]></description>
			<content:encoded><![CDATA[<p>How to delete a Windows service when the application uninstaller doesn&#8217;t : Use the Windows &#8220;service control&#8221; on the DOS command line.</p>
<p>Syntax:  sc delete Servicename</p>
<p><a href="http://support.microsoft.com/kb/251192" target="_blank">http://support.microsoft.com/kb/251192</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shepworks.com/2009/01/03/useful-windows-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
