<?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>IT Info Magazine &#187; windows</title>
	<atom:link href="http://www.itinfomag.com/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.itinfomag.com</link>
	<description></description>
	<lastBuildDate>Thu, 02 Feb 2012 08:26:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Windows Defender Offline Beta</title>
		<link>http://www.itinfomag.com/security-governance/windows-defender-offline-beta/</link>
		<comments>http://www.itinfomag.com/security-governance/windows-defender-offline-beta/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 08:46:55 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Security Governance]]></category>
		<category><![CDATA[Defender]]></category>
		<category><![CDATA[malicious programs]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[rootkits]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.itinfomag.com/?p=1630</guid>
		<description><![CDATA[The latest version of Microsoft’s Windows Defender anti-malware software can help remove such hard to find malicious and potentially unwanted programs using definitions that recognize threats. Apart, from detecting malicious software Windows Defender Offline Beta can notify you of the risks and is able to scan for malicious code even before Windows boots. The new version is available in beta now, in both 32- and 64-bit editions and  you can run it off a CD, DVD or USB flash drive. This makes it possible to detect rootkits and other boot process malware. To use Windows Defender Offline Beta, follow these steps: Download Windows Defender Offline Beta and create a CD, DVD, or USB flash drive. Restart your PC using the Windows Defender Offline Beta media. Scan your PC for malicious and other potentially unwanted software. Remove any malware that is found from your PC. It is recommended that you download Windows Defender Offline Beta and create the CD, DVD, or USB flash drive on a PC that isn&#8217;t infected with malware and run the version that matches your installed system. To check the operating system version on computers running Windows Vista or Windows 7, click the Start button, right-click Computer, and [...]]]></description>
			<content:encoded><![CDATA[<p>The latest version of Microsoft’s Windows Defender anti-malware software can help remove such hard to find malicious and potentially unwanted programs using definitions that recognize threats. Apart, from detecting malicious software Windows Defender Offline Beta can notify you of the risks and is able to scan for malicious code even before Windows boots. The new version is available in beta now, in both 32- and 64-bit editions and  you can run it off a CD, DVD or USB flash drive. This makes it possible to detect rootkits and other boot process malware.</p>
<p>To use Windows Defender Offline Beta, follow these steps:</p>
<ol>
<li>Download Windows Defender Offline Beta and create a CD, DVD, or USB flash drive.</li>
<li>Restart your PC using the Windows Defender Offline Beta media.</li>
<li>Scan your PC for malicious and other potentially unwanted software.</li>
<li>Remove any malware that is found from your PC.<br />
<a href="http://www.itinfomag.com/wp-content/uploads/2011/12/Windows-Defender.jpg"><img class="aligncenter size-medium wp-image-1632" style="margin-top: 5px; margin-bottom: 5px;" title="Windows Defender" src="http://www.itinfomag.com/wp-content/uploads/2011/12/Windows-Defender-300x188.jpg" alt="" width="300" height="188" /></a></li>
</ol>
<p>It is recommended that you download Windows Defender Offline Beta and create the CD, DVD, or USB flash drive on a PC that isn&#8217;t infected with malware and run the version that matches your installed system. To check the operating system version on computers running Windows Vista or Windows 7, click the <em>Start </em>button, right-click Computer, and then click <em>Properties</em>.</p>
<ul>
<li>If &#8220;64-bit Operating System&#8221; is listed next to System type, you’re running the 64-bit version of Windows Vista or Windows 7.</li>
<li>If &#8220;32-bit Operating System&#8221; is listed next to System type, you’re running the 32-bit version of Windows Vista or Windows 7.</li>
</ul>
<p>To download the latest Windows Defender 32-bit or 64-bit beta version go here:<br />
<a href="http://windows.microsoft.com/en-US/windows/what-is-windows-defender-offline">http://windows.microsoft.com/en-US/windows/what-is-windows-defender-offline</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itinfomag.com/security-governance/windows-defender-offline-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating an IPSec Policy</title>
		<link>http://www.itinfomag.com/security-governance/creating-an-ipsec-policy/</link>
		<comments>http://www.itinfomag.com/security-governance/creating-an-ipsec-policy/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 08:06:45 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Security Governance]]></category>
		<category><![CDATA[IPSec]]></category>
		<category><![CDATA[policy]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.itinfomag.com/?p=1484</guid>
		<description><![CDATA[IPSec allows you to create a secure channel for safe data transmission. Network traffic is protected by the provision of data authentication and encryption through IPSec Policies or IPSec connection security rules. Security is provided by the AH and ESP IPSec protocols or the IKE (Internet Key Exchange) protocol. To understand better IPSec take a look at this practical example where Telnet traffic between two hosts in a Windows AD (Active Directory) environment is encrypted using IPSec.]]></description>
			<content:encoded><![CDATA[<p>IPSec allows you to create a secure channel for safe data transmission. Network traffic is protected by the provision of data authentication and encryption through IPSec Policies or IPSec connection security rules. Security is provided by the AH and ESP IPSec protocols or the IKE (Internet Key Exchange) protocol.</p>
<p>To understand better IPSec take a look at <a href="http://www.windowsecurity.com/pages/newsletters/may2011.asp" target="_blank">this practical example </a>where Telnet traffic between two hosts in a Windows AD (Active Directory) environment is encrypted using IPSec.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itinfomag.com/security-governance/creating-an-ipsec-policy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Windows 7 backup tools</title>
		<link>http://www.itinfomag.com/data-backup-recovery/microsoft-windows-7-backup-tools/</link>
		<comments>http://www.itinfomag.com/data-backup-recovery/microsoft-windows-7-backup-tools/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 14:15:41 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Data Backup & Recovery]]></category>
		<category><![CDATA[automated]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[previous versions]]></category>
		<category><![CDATA[shadow copies]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.backupmyhost.com/blog/?p=401</guid>
		<description><![CDATA[Windows provides the following backup tools: File backup: Windows Backup allows you to make copies of data files. You can let Windows choose what to back up or you can select the individual folders, libraries, and drives that you want to back up. By default, your backups are created on a regular schedule. You can change the schedule and you can manually create a backup at any time. Once you set up Windows Backup, Windows keeps track of the files and folders that are new or modified and adds them to your backup. To set up file backup, see the following backup steps System image backup: Windows Backup provides you with the ability to create a system image, which is an exact image of a drive. A system image includes Windows and your system settings, programs, and files. You can use a system image to restore the contents of your computer if your hard drive or computer ever stops working. When you restore your computer from a system image, it is a complete restoration; you can&#8217;t choose individual items to restore, and all of your current programs, system settings, and files are replaced. Although this type of backup includes your [...]]]></description>
			<content:encoded><![CDATA[<p>Windows provides the following backup tools:</p>
<ul>
<li><strong>File backup:</strong> Windows Backup allows you to make copies of data files. You can let Windows choose what to back up or you can select the individual folders, libraries, and drives that you want to back up. By default, your backups are created on a regular schedule. You can change the schedule and you can manually create a backup at any time. Once you set up Windows Backup, Windows keeps track of the files and folders that are new or modified and adds them to your backup. To set up file backup, see the following <a href="http://www.itinfomag.com/data-backup-recovery/windows-7-backup-steps/" target="_blank">backup steps</a></li>
<li><strong>System image backup:</strong> Windows Backup provides you with the ability to create a system image, which is an exact image of a drive. A system image includes Windows and your system settings, programs, and files. You can use a system image to restore the contents of your computer if your hard drive or computer ever stops working. When you restore your computer from a system image, it is a complete restoration; you can&#8217;t choose individual items to restore, and all of your current programs, system settings, and files are replaced. Although this type of backup includes your personal files, we recommend that you back up your files regularly using Windows Backup so that you can restore individual files and folders as needed. When you set up scheduled file backup, you can choose whether you want to include a system image. This system image only includes the drives required for Windows to run. You can manually create a system image if you want to include additional data drives. <a href="http://www.itinfomag.com/data-backup-recovery/automated-system-image-backup-for-windows-7/" target="_blank">See an automated system image backup example</a> </li>
<li><strong>Previous versions:</strong> Previous versions are copies of files and folders that Windows automatically saves as part of system protection. You can use previous versions to restore files or folders that you accidentally modified or deleted, or that were damaged. Depending on the type of file or folder, you can open, save to a different location, or restore a previous version. Previous versions can be helpful, but should not be considered a backup because the files get replaced by new versions and will not be available if the drive were to fail. For more information, see <a href="http://www.itinfomag.com/data-backup-recovery/shadow-copies-in-windows-7/" target="_blank">Shadow Copies</a></li>
</ul>
<p><!-- ddpostsbyauthor --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itinfomag.com/data-backup-recovery/microsoft-windows-7-backup-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to backup your Microsoft Office 2007 Outlook in its entirety</title>
		<link>http://www.itinfomag.com/data-backup-recovery/how-to-backup-your-microsoft-office-2007-outlook-in-its-entirety/</link>
		<comments>http://www.itinfomag.com/data-backup-recovery/how-to-backup-your-microsoft-office-2007-outlook-in-its-entirety/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 09:32:00 +0000</pubDate>
		<dc:creator>chribonn</dc:creator>
				<category><![CDATA[Data Backup & Recovery]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[backup media]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://www.backupmyhost.com/blog/?p=283</guid>
		<description><![CDATA[Many people use Microsoft Outlook to download mail from their POP3 or IMAP server. While some may only link their Outlook to one particular email, many today have multiple email accounts all pouring into the same data file. Backing up Microsoft Outlook consists essentially of backing up two different components; the pst file that stores messages (or in the case of IMAP a cached version of the server) together with the registry entry that stores all the different email accounts that are being processed by Outlook. Backing up the data file The folk who decided on the default location of the Outlook data file chose a location that is difficult to figure out.  Also when installing Outlook (or when running it for the first time) there is no way to specify a different folder. Changing the default location The first thing I am going to demonstrate in this tutorial is how to move your existing Outlook files to a more humane location under the Windows 7 Documents (or Windows XP My Documents) folders. Open Outlook which I am assuming you are already running. Right click on the Personal Folders entry (1) and choose the option Properties for ‘Personal Folders’ from [...]]]></description>
			<content:encoded><![CDATA[<p>Many people use Microsoft Outlook to download mail from their POP3 or IMAP server. While some may only link their Outlook to one particular email, many today have multiple email accounts all pouring into the same data file. Backing up Microsoft Outlook consists essentially of backing up two different components; the <em>pst</em> file that stores messages (or in the case of IMAP a cached version of the server) together with the registry entry that stores all the different email accounts that are being processed by Outlook.</p>
<h2>Backing up the data file</h2>
<p>The folk who decided on the default location of the Outlook data file chose a location that is difficult to figure out.  Also when installing Outlook (or when running it for the first time) there is no way to specify a different folder.</p>
<h3>Changing the default location</h3>
<p>The first thing I am going to demonstrate in this tutorial is how to move your existing Outlook files to a more humane location under the Windows 7 <em>Documents</em> (or Windows XP <em>My Documents</em>) folders.</p>
<p style="text-align: center;"><a href="http://www.itinfomag.com/wp-content/uploads/2010/01/BackupOff2007-1.jpg"><img class="aligncenter size-full wp-image-284" src="http://www.itinfomag.com/wp-content/uploads/2010/01/BackupOff2007-1.jpg" alt="BackupOff2007-1" width="502" height="330" /></a></p>
<p>Open Outlook which I am assuming you are already running.</p>
<ol>
<li>Right click on the <em>Personal Folders</em> entry (1) and choose the option <em>Properties for ‘Personal Folders’</em> from the short cut menu that comes up. If your folder has a different name, Personal Folders will be called differently.</li>
<li>A dialog box titled <em>Outlook Today – (Personal Folders) Properties</em> comes up. Click on the <em>Advanced&#8230;</em> button (2).</li>
<li>This brings up yet another dialog box titled <em>Personal Folders</em>. The <em>Filename: </em>entry (3) depicts the location of where your Outlook data file currently resides.</li>
<li>Copy the directory location from the <em>Filename:</em> entry and paste it into a Windows Explorer window.</li>
<li>Click OK on all the dialog boxes you have just opened and shut down Outlook.</li>
<li><a href="http://www.itinfomag.com/wp-content/uploads/2010/01/BackupOff2007-2.jpg"><img class="alignright size-full wp-image-285" src="http://www.itinfomag.com/wp-content/uploads/2010/01/BackupOff2007-2.jpg" alt="BackupOff2007-2" width="271" height="98" /></a>Move the folder that contains the Outlook files to a more appropriate location. I would suggest under <em>%USERPROFILE%\Documents</em> if you’re using Windows 7 and <em>%USERPROFILE%\My Documents</em> if you’re still happily using Windows XP.</li>
</ol>
<p><a href="http://www.itinfomag.com/wp-content/uploads/2010/01/BackupOff2007-3.jpg"><img class="alignleft size-full wp-image-288" src="http://www.itinfomag.com/wp-content/uploads/2010/01/BackupOff2007-3.jpg" alt="BackupOff2007-3" width="347" height="401" /></a></p>
<p>Click on the Microsoft Outlook 2007 icon to run the program. Since you have moved the original location of the data file, you will get a message box telling you that Outlook can no longer find the pst file in its original location (1).</p>
<p>Clicking OK on the dialog box brings up a file selection screen that allows you to specify the new location where you had shifted your Outlook data files. Move to the new location, click on the pst file and hit the Open Button (2).</p>
<p>Another message box comes up to tell you that Outlook must be restarted. OK that.</p>
<p>The second time onwards Microsoft Outlook 2007 will automatically find your files no questions asked. And the directory where all your important emails reside is now in an easy to find location in your Documents folder together with all your other important stuff.</p>
<h2>Backing up the registry</h2>
<p>Microsoft Outlook retains your email account settings within the registry. This means that when the time comes to reinstall your computer, unless you have saved your registry Outlook settings you will have to re-enter all the email accounts you process using Outlook 2007. If you happen to have a single Gmail account this might not be that much of a problem (provided you still remember how to do it) but if, like me, you have almost a dozen email accounts flowing into your Outlook remembering each mailbox’s parameters can be time consuming.</p>
<p>A word of warning about handling the registry: unlike many programs, the registry program does not have an undo or an undelete option and changes go into effect immediately. If you delete a file by mistake you can pull it out of limbo by visiting the Recycle Bin. If you screw up a document, pressing undo will take you back one action at a time until you reach the stage before the oops or, if necessary, you can abandon all changes done during that session simply by not saving the updated document. None of this exists in the registry so be cautious.</p>
<p>In Windows 7, type <em>regedit</em> in the <em>Search Programs and Files</em> to run the registry program. With Windows XP, type the same command in the <em>Run&#8230;</em> box. Both options can be accessed from the Start Menu. Windows 7 will bring up a dialog box asking you to confirm your action. You should say yes in order to run the program.</p>
<p><img class="size-full wp-image-289 alignnone" src="http://www.itinfomag.com/wp-content/uploads/2010/01/BackupOff2007-4.jpg" alt="BackupOff2007-4" width="571" height="434" /></p>
<p>Navigate to the registry key HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles (1). Each profile you have defined will appear under this key. In my case there is one profile called <em>Outlook</em>.</p>
<p>Right click on <em>Outlook</em> and choose the option <em>Export </em>from the menu that comes up. I suggest that you place the registry snippet you are saving in the same location as the Outlook data files. This ensures that all your Microsoft Outlook related data is in one easy-to-backup folder.</p>
<p><img class="size-full wp-image-290 alignnone" src="http://www.itinfomag.com/wp-content/uploads/2010/01/BackupOff2007-5.jpg" alt="BackupOff2007-5" width="531" height="160" /></p>
<h2>End of part 1 – Conclusion</h2>
<p>By backing up the folder to an online backup service you can rest assured that whenever something happens to your computer all your emails and the mailbox settings can be retrieved with ease. If you add a new email account or remove one you no longer use, you should export the registry settings again.</p>
<p>When backing up your Outlook data files, Outlook should be shut down.</p>
<p>Although I have not mentioned Windows Vista, the procedure for Windows 7 is almost identical to that of Windows Vista.</p>
<p>Next time I will describe how to use the information you have saved to restore your Microsoft Outlook 2007 in case of corruption. I’ll also throw in how you can use this backed up data when upgrading your computer from Windows XP to Windows 7.</p>
<p>We all appreciate how important emails are to us. Back them up regularly.<br />
<!-- ddpostsbyauthor --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itinfomag.com/data-backup-recovery/how-to-backup-your-microsoft-office-2007-outlook-in-its-entirety/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows Vista backup steps</title>
		<link>http://www.itinfomag.com/data-backup-recovery/windows-vista-backup-steps/</link>
		<comments>http://www.itinfomag.com/data-backup-recovery/windows-vista-backup-steps/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 13:21:21 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Data Backup & Recovery]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[data backup]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://www.backupmyhost.com/blog/?p=117</guid>
		<description><![CDATA[Open the Control Panel Home window from Start / Settings / Control Panel Click Backup and Restore Center Click Back up files button Select location where you want to save your backed up files Select disks that you want to include in the backup Select type of files to include in your backup Create a backup schedule Click the Save settings and start backup button Alternatively, you can create a complete backup of your entire computer by clicking the Back up computer button and follow the simple wizard :)]]></description>
			<content:encoded><![CDATA[<ol>
<li>Open the Control Panel Home window from Start / Settings / Control Panel</li>
<li>Click Backup and Restore Center</li>
<li>Click Back up files button<img class="aligncenter size-full wp-image-119" title="Backup and Restore center" src="http://www.itinfomag.com/wp-content/uploads/2009/11/vista_bkup1.jpg" alt="Backup and Restore center" width="482" height="379" /></li>
<li>Select location where you want to save your backed up files</li>
<li>Select disks that you want to include in the backup</li>
<li>Select type of files to include in your backup</li>
<li>Create a backup schedule</li>
<li>Click the Save settings and start backup button</li>
</ol>
<p>Alternatively, you can create a complete backup of your entire computer by clicking the Back up computer button and follow the simple wizard :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itinfomag.com/data-backup-recovery/windows-vista-backup-steps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automated email notification for Windows backup</title>
		<link>http://www.itinfomag.com/data-backup-recovery/automated-email-notification-for-windows-backup/</link>
		<comments>http://www.itinfomag.com/data-backup-recovery/automated-email-notification-for-windows-backup/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 12:56:45 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Audit]]></category>
		<category><![CDATA[Data Backup & Recovery]]></category>
		<category><![CDATA[automated]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[notification]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.backupmyhost.com/blog/?p=22</guid>
		<description><![CDATA[Beef-Up!!! the native Windows backup utility!!!]]></description>
			<content:encoded><![CDATA[<div id="attachment_42" class="wp-caption alignleft" style="width: 137px"><img class="size-full wp-image-42 " title="email" src="http://www.itinfomag.com/wp-content/uploads/2009/10/email.jpg" alt="email notification" width="127" height="84" /><p class="wp-caption-text">email notification</p></div>
<p>The native backup utility found on Windows servers is one cool application that has saved many SMBs real cash!  Apart from fulfilling its main functionality, it is found to be very reliable and effective. Problems arise when extra features are required such as, backing up to external storage devices and/or utilizing advanced backup features! One useful feature that is standard in purchasable applications is email notification of backup jobs. <strong><a title="email script.bat" href="http://www.itinfomag.com/downloads/email script.bat">The script below gives you that functionality</a>!!</strong>!! It’s free and simple to implement!!!!</p>
<p>The implementation steps of the script are as follows:</p>
<ol>
<li>Create a backup job using Windows backup &#8211; Start/All Programs/Accessories/System Tools/Backup and set a job schedule</li>
<li>Open the window Scheduled Tasks &#8211; Start/Control Panel/Scheduled Tasks and find the newly created scheduled job.</li>
<li>From the properties window of this job copy the highlighted text from the Run text field</li>
<li>Copy this text in a new batch file called &#8216;mybackup.bat&#8217; (any name you like without quotes)</li>
<li>Take a note of the batch file location and enter the full path in the Run text field of step 3 ex: c:\documents\mybackup.bat</li>
<li>Close the properties window by clicking OK and enter an admin password if prompted</li>
<li>Add the sample script shown below in the batch file after the text entered in step 4</li>
<li>Edit the script text to reflect your email &amp; path settings</li>
</ol>
<p style="text-align: center;"><strong><a title="email script" href="http://www.itinfomag.com/downloads/email script.bat">Sample script</a></strong></p>
<p style="text-align: left;">Copied text from step 3 goes here</p>
<p style="text-align: left;"><em>@echo off<br />
set Sender=&#8221;source email addess&#8221;<br />
set Receiver=&#8221;your email address&#8221;<br />
set Host=&#8221;IP address of source email server&#8221;<br />
set Subject=&#8221;Backup name/title&#8221;</em></p>
<p style="text-align: left;"><em>set logdir=&#8221;%USERPROFILE%\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data&#8221;<br />
REM ex &#8211; C:\Documents and Settings\administrator\ for %USERPROFILE%<br />
set result=&#8221;%temp%\latestlog.txt&#8221;</em></p>
<p style="text-align: left;"><em>pushd %logdir%<br />
for /f &#8220;tokens=1 delims=&#8221; %%I in (&#8216;dir /B /O-D&#8217;) do (<br />
 if &#8220;%%~xI&#8221;==&#8221;.log&#8221; (<br />
   type &#8220;%%~fI&#8221; &gt; %result%<br />
   goto :end<br />
   )<br />
 )<br />
:end<br />
popd</em></p>
<p style="text-align: left;"><em>c:\windows\system32\blat.exe %result% -f %Sender% -to %Receiver% -server %Host% -subject %Subject%<br />
del /q /f &#8220;%result%&#8221;</em></p>
<p><strong> </strong></p>
<p style="text-align: center;">
<div id="attachment_44" class="wp-caption aligncenter" style="width: 131px"><img class="size-full wp-image-44 " title="explain" src="http://www.itinfomag.com/wp-content/uploads/2009/10/explain.jpg" alt="explanation" width="121" height="112" /><p class="wp-caption-text">explanation</p></div>
<p style="text-align: center;">Explanation of the sample script:</p>
<p> <em>pushd</em><br />
==&gt; stores the current directory for use by the POPD command, then change to the specified directory</p>
<p><em>for /f &#8220;tokens=1 delims=&#8221; %%I in (&#8216;dir /B /O-D&#8217;) do<br />
</em>=&gt; parse each line of the directory listing (log files) and get the name of each file one by one</p>
<p><em>dir /B /O-D</em>  ==&gt; remove heading info from directory list, and list files by date in reverse order</p>
<p><em>until<br />
if &#8220;%%~xI&#8221;==&#8221;.log&#8221;<br />
</em>==&gt;if the current file (its extension only) is .log</p>
<p><em>then<br />
type &#8220;%%~fI&#8221; &gt; %result%<br />
</em>==&gt; then copy the contents of the current log file to the variable file latestlog.txt</p>
<p><em>c:\windows\system32\blat.exe</em>  ==&gt; Blat is a Win32 command line utility that sends eMail using SMTP &#8211; http://www.blat.net/?docs/credits.html</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itinfomag.com/data-backup-recovery/automated-email-notification-for-windows-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

