<?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>The VBScript Network and Systems Administrator&#039;s Cafe &#187; disk utilities</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/tag/disk-utilities/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator</link>
	<description></description>
	<lastBuildDate>Tue, 11 Oct 2011 18:36:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Using the VBScript datediff function to determine the age of a file by the last modified and the last accessed time</title>
		<link>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/using-the-vbscript-datediff-function-to-determine-the-age-of-a-file-by-the-last-modified-and-the-last-accessed-time/</link>
		<comments>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/using-the-vbscript-datediff-function-to-determine-the-age-of-a-file-by-the-last-modified-and-the-last-accessed-time/#comments</comments>
		<pubDate>Sat, 02 May 2009 18:19:29 +0000</pubDate>
		<dc:creator>Jerry Lees</dc:creator>
				<category><![CDATA[Disk space]]></category>
		<category><![CDATA[disk utilities]]></category>
		<category><![CDATA[file access]]></category>
		<category><![CDATA[file modified]]></category>
		<category><![CDATA[modification date]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[VBScipt]]></category>
		<category><![CDATA[VBScript Functions]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/?p=245</guid>
		<description><![CDATA[I recently needed a way to tell if a file had been accessed or modified recently, something that has always been a question when you&#8217;re out of space on a server and can&#8217;t just add more space to it. What do you delete??? The Old files are the obvious answer&#8230; except if people are using them. Here [...]]]></description>
				<content:encoded><![CDATA[<p>I recently needed a way to tell if a file had been accessed or modified recently, something that has always been a question when you&#8217;re out of space on a server and can&#8217;t just add more space to it. What do you delete??? The Old files are the obvious answer&#8230; except if people are using them.</p>
<p>Here is teh script I wrote to tell if a file had been accessed or modified in the last X days. In the example I use 5 days, but you can use a different number of days when you call the function.</p>
<p>Enjoy!</p>
<p><span style="color: #0000ff">Option Explicit</span></p>
<p><span style="color: #0000ff">Dim fName<br />
Const DateLastModified = 1, DateLastAccessed = 2</span></p>
<p><span style="color: #0000ff">fName=&#8221;c:\temp2.txt&#8221;</span></p>
<p><span style="color: #0000ff">if FileAge(fname,5,DateLastAccessed) = True Then<br />
WScript.Echo (&#8220;The file was accessed recently enough!&#8221;)<br />
Else<br />
WScript.Echo (&#8220;The file was not accessed recently enough!&#8221;)<br />
End If</span></p>
<p><span style="color: #0000ff">if FileAge(fname,5,DateLastModified) = True Then<br />
WScript.Echo (&#8220;The file was modified recently!&#8221;)<br />
Else<br />
WScript.Echo (&#8220;The file was not modified recently!&#8221;)<br />
End If</span></p>
<p><span style="color: #0000ff">Function FileAge(fName,fAge, CompareType)<br />
&#8216;function returns True if the file is older than the fAge (File Age) specified and false if it isn&#8217;t<br />
Dim LastModified, LastAccessed, FSO, DateDifference</span></p>
<p><span style="color: #0000ff"> Set FSO = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)<br />
LastModified = FSO.GetFile(fname).DateLastModified<br />
LastAccessed = FSO.GetFile(fname).DateLastAccessed</span></p>
<div><span style="color: #0000ff"> Select Case CompareType<br />
Case 1<br />
DateDifference = DateDiff(&#8220;n&#8221;,LastModified, Now())<br />
Case 2<br />
DateDifference = DateDiff(&#8220;n&#8221;,LastAccessed, Now())</p>
<div><span style="color: #0000ff"> End Select<br />
If DateDifference &gt; fage Then<br />
FileAge = False<br />
Else<br />
FileAge = True<br />
End If<br />
End Function</span></div>
<p></span></div>
<div><span style="color: #0000ff"><span style="color: #0000ff"> </span></span></div>
<div><span style="color: #0000ff"><span style="color: #0000ff"> </span></span></div>
<div><span style="color: #0000ff"><span style="color: #0000ff"> </span></span></div>
<p><span style="color: #0000ff"><span style="color: #0000ff"> </span></span></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/using-the-vbscript-datediff-function-to-determine-the-age-of-a-file-by-the-last-modified-and-the-last-accessed-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Essential Tools: A free undelete utility that actually recovers files effectively</title>
		<link>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/essential-tools-a-free-undelete-utility-that-actually-recovers-files-effectively/</link>
		<comments>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/essential-tools-a-free-undelete-utility-that-actually-recovers-files-effectively/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 18:12:13 +0000</pubDate>
		<dc:creator>Jerry Lees</dc:creator>
				<category><![CDATA[disk utilities]]></category>
		<category><![CDATA[drive utilities]]></category>
		<category><![CDATA[essential tools]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[free tools]]></category>
		<category><![CDATA[Recovery Tools]]></category>
		<category><![CDATA[software resources]]></category>
		<category><![CDATA[Systems administrator tools]]></category>
		<category><![CDATA[undelete]]></category>
		<category><![CDATA[undelete files]]></category>
		<category><![CDATA[windows tools]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/essential-tools-a-free-undelete-utility-that-actually-recovers-files-effectively/</guid>
		<description><![CDATA[Please note: This is a re-posting of a previously deleted post, details to come.  The next tool I&#8217;d like to share with you in my Essential Tools series is another useful tool from a company called Piriform, who created a free drive defragmenter tool in the series, Defraggler. This tool, Recuva, is an excellent file [...]]]></description>
				<content:encoded><![CDATA[<p><em>Please note: This is a re-posting of a previously deleted post, details to come.</em> </p>
<p>The next tool I&#8217;d like to share with you in my <a href="http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/tag/essential-tools/">Essential Tools</a> series is another useful tool from a company called <a target="_blank" href="http://www.piriform.com/">Piriform</a>, who created a free drive defragmenter tool in the series, <a rel="bookmark" href="http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/essential-tools-a-free-file-level-drive-defragmenter/" title="A FREE File Level Drive Defragmenter">Defraggler</a>.</p>
<p>This tool, <a target="_blank" href="http://www.recuva.com/">Recuva</a>, is an excellent file recovery tool&#8212; hence the name <em>Recuva</em>, which is pronounced like recover. Recuva is easy to use and quite impressive in it&#8217;s ability to recover files.</p>
<p>It first presents you with a wizard that, if you chose to use it, will guide you through the selection, scanning, and recovery process. Once it has scanned your drive it presents you with a list of files that were deleted&#8211; along with their recover ability in plain English! Simply select the files you need to recover and then choose to recover them and your on your way to getting back to that game of Halo with your co workers!</p>
<p>So why not take a second an run over and download the application and give it a shot&#8211; <strong>It&#8217;s FREE!!!</strong></p>
<p><font color="#000000">Know of a tool that you think is essential? <strong>Post a comment here</strong> and if I don&#8217;t already have it in my tool belt, I&#8217;ll add it and give it a shot. If it makes the grade&#8211; I&#8217;ll add it to the list of tools to review. The only criteria are:</font></p>
<ol>
<li><font color="#000000">The tool must be free, or inexpensive with a &#8220;Per User&#8221; type license. (No pay per installation licenses, please)</font></li>
<li><font color="#000000">The tool (or it&#8217;s installation file) must be small enough to fit on a 256Mb flash drive for portability.</font></li>
<li><font color="#000000">Command line run time options are beneficial, but not required.</font></li>
<li>If it has ads&#8230; it needs be truly <strong>INVALUABLE. </strong></li>
<li>It should make the user&#8217;s job easier by gathering information or preforming a task that a typical Network or Systems Administrator would preform.</li>
</ol>
<p>Enjoy!</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/essential-tools-a-free-undelete-utility-that-actually-recovers-files-effectively/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Essential Tools: A FREE File Level Drive Defragmenter</title>
		<link>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/essential-tools-a-free-file-level-drive-defragmenter/</link>
		<comments>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/essential-tools-a-free-file-level-drive-defragmenter/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 14:23:06 +0000</pubDate>
		<dc:creator>Jerry Lees</dc:creator>
				<category><![CDATA[deframent]]></category>
		<category><![CDATA[disk utilities]]></category>
		<category><![CDATA[drive utilities]]></category>
		<category><![CDATA[essential tools]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[free tools]]></category>
		<category><![CDATA[software resources]]></category>
		<category><![CDATA[Systems administrator tools]]></category>
		<category><![CDATA[windows tools]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/essential-tools-a-free-file-level-drive-defragmenter/</guid>
		<description><![CDATA[Please note: This is a re-posting of a previous post that was deleted, further details to come.  The first tool I want to call out in my Essential Tools series, and the inspiration for the series, is one from a company called Piriform the tool is one that I&#8217;ve been looking a long time for&#8230; [...]]]></description>
				<content:encoded><![CDATA[<p><em>Please note: This is a re-posting of a previous post that was deleted, further details to come.</em> </p>
<p>The first tool I want to call out in my <a href="http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/tag/essential-tools/">Essential Tools</a> series, and the inspiration for the series, is one from a company called <a target="_blank" href="http://www.piriform.com/">Piriform</a> the tool is one that I&#8217;ve been looking a long time for&#8230; a <strong>real</strong> drive defragmenter.</p>
<p>As a systems administrator, I&#8217;m sure you know defragmentation can kill the performance of a system and that it doesn&#8217;t take long before a drive is defragmented! Plus, you probably know the frustration of spending hours defragging a drive to only find out that after defragging one, maybe two or three, times that there is still a file with hundreds of fragments!</p>
<p>I absolutely hate that! Three hours out of my life and the best you can do is leave a file with 878 fragments?!? I&#8217;m from back &#8220;in the day&#8221;, when DOS 6.22&#8242;s defrag utility actually defragged the hard drive and also did a file level defrag.</p>
<p>Sure there are some apps that do that, but they charge out the nose for the software and, lets face it, not everyone works at a fortune 500 company with a million dollar software budget to spend on disk defragmentation software.</p>
<p>There is a tool that does this, does it quite well, and better yet is <strong>FREE</strong>! This tool is called <a target="_blank" href="http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/wp-admin/www.defraggler.com">Defraggler</a>.</p>
<p>It will defrag your drive, like most other defrag software applications, but it goes one step further&#8230; It will allow you to choose an individual file to defragment!</p>
<p>Plus, for those of you that are batch scripters or command line people (nothing wrong with that), there&#8217;s a command line tool installed that they don&#8217;t mention, df.exe, in addition to the standard Windows version!</p>
<p>Straight from the command line help we see how powerful this can be if you have a file or folder that has heavy disk activity:</p>
<p><em>df C:<br />
</em>Defrag drive C:</p>
<p><em>df &#8220;C:\Program Files&#8221;<br />
</em>Defrag &#8220;C:\Program Files&#8221; folder.</p>
<p><em>df &#8220;C:\Program Files&#8221; /S</em><br />
  Defrag &#8220;C:\Program Files&#8221; folder and recurses into sub folders.</p>
<p><em>df &#8220;C:\Windows\*.exe&#8221;<br />
</em>Defrag all executables inside &#8220;C:\Windows&#8221; folder.</p>
<p>So check it out, I&#8217;m sure you&#8217;ll find it to be one of those tools that you simply add to your tool belt or boot disk.</p>
<p>Until next time&#8230;.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/essential-tools-a-free-file-level-drive-defragmenter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Essential Tools: A free tool to mount an ISO cdrom or DVD image as a Virtual CDROM drive</title>
		<link>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/essential-tools-a-free-tool-to-mount-an-iso-cdrom-or-dvd-image-as-a-virtual-cdrom-drive/</link>
		<comments>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/essential-tools-a-free-tool-to-mount-an-iso-cdrom-or-dvd-image-as-a-virtual-cdrom-drive/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 14:25:56 +0000</pubDate>
		<dc:creator>Jerry Lees</dc:creator>
				<category><![CDATA[CDROM Tools]]></category>
		<category><![CDATA[disk utilities]]></category>
		<category><![CDATA[drive utilities]]></category>
		<category><![CDATA[DVD Tools]]></category>
		<category><![CDATA[essential tools]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[free tools]]></category>
		<category><![CDATA[ISO]]></category>
		<category><![CDATA[ISO Tools]]></category>
		<category><![CDATA[software resources]]></category>
		<category><![CDATA[Systems administrator tools]]></category>
		<category><![CDATA[windows tools]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/essential-tools-a-free-tool-to-mount-an-iso-cdrom-or-dvd-image-as-a-virtual-cdrom-drive/</guid>
		<description><![CDATA[We&#8217;ve all had times when we needed a file from an installation CD or DVD, but only had an ISO image available on the network. So, we have to copy the image to our machine then burn the image to media&#8211; just to get the file. There are utilities out there that do this, like [...]]]></description>
				<content:encoded><![CDATA[<p>We&#8217;ve all had times when we needed a file from an installation CD or DVD, but only had an ISO image available on the network. So, we have to copy the image to our machine then burn the image to media&#8211; just to get the file.</p>
<p>There are utilities out there that do this, like <a href="http://www.alcohol-soft.com/">Alcohol 120%</a>, but none seem to be free <strong>and</strong> free from ads or <em>&#8220;Value add toolbars&#8221;. </em>(Alcoholsoft makes <a href="http://www.free-downloads.net/programs/Alcohol_52__Free_Edition">Alcohol 52%</a>, but it has toolbars). I&#8217;ve recently found a free utility that does fit the bill for my free essential tools series!</p>
<p>The tool is <a href="http://www.slysoft.com/en/download.html">Virtual CloneDrive</a> from Slysoft. Virtual CloneDrive delivers all the functionality you need to mount an ISO as a virtual CD/DVD Drive in a small (1.86Mb for a full install) <strong>FREE</strong> package! (As a added benefit, it appears to have multi-language support as well)</p>
<p>Once installed it adds a Virtual CDROM drive to your system that has a menu context &#8220;Virtual CloneDrive&#8221; that gives you the Mount and unmount options, just like Alcohol 120% does. And it keeps track of your recent ISO&#8217;s like Alcohol 120% as well.</p>
<p>It also registers .ISO files with itself and simply double clicking on the file automatically mounts the image in your virtual drive, a nice touch.</p>
<p>All in all, the performance is good and the integration with windows is top notch. Give it a shot, I&#8217;m sure you&#8217;ll find it to be one of your essential tools.</p>
<p><font color="#000000">Know of a tool that you think is essential? <strong>Post a comment here</strong> and if I don’t already have it in my tool belt, I’ll add it and give it a shot. If it makes the grade– I’ll add it to the list of tools to review. The only criteria are:</font></p>
<ol>
<li><font color="#000000">The tool must be free, or inexpensive with a “Per User” or “site” type license. (No pay per installation licenses, please)</font></li>
<li><font color="#000000">The tool (or it’s installation file) must be small enough to fit on a 256Mb flash drive for portability.</font></li>
<li><font color="#000000">Command line run time options are beneficial, but not required.</font></li>
<li>If it has ads… it needs be truly <strong>INVALUABLE. </strong></li>
<li>It should make the user’s job easier by gathering information or preforming a task that a typical Network or Systems Administrator would preform.</li>
</ol>
<p>Enjoy!</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/essential-tools-a-free-tool-to-mount-an-iso-cdrom-or-dvd-image-as-a-virtual-cdrom-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
