<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - bits</title>
<link>http://snipplr.com/users/bits</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 20:52:10 GMT</pubDate>
<item>
<title>(Windows Registry) unhide hidden files in Windows Explorer</title>
<link>http://snipplr.com/view/50501/unhide-hidden-files-in-windows-explorer/</link>
<description><![CDATA[ <p>These registry settings show four different settings which do the following:
"Hidden"=dword:00000001 - show hidden files
"ShowSuperHidden"=dword:00000001 - show hidden system files
"SuperHidden"=dword:00000001 - show hidden directories in the explorer's tree view
"HideFileExt"=dword:00000000 - show file extension on any files</p> ]]></description>
<pubDate>Fri, 11 Mar 2011 03:32:10 GMT</pubDate>
<guid>http://snipplr.com/view/50501/unhide-hidden-files-in-windows-explorer/</guid>
</item>
<item>
<title>(C++) Function to format double values to a string</title>
<link>http://snipplr.com/view/49803/function-to-format-double-values-to-a-string/</link>
<description><![CDATA[ <p>This function shows how you can format a double value to a string with a given precision.</p> ]]></description>
<pubDate>Mon, 28 Feb 2011 19:40:54 GMT</pubDate>
<guid>http://snipplr.com/view/49803/function-to-format-double-values-to-a-string/</guid>
</item>
<item>
<title>(DOS Batch) Get the Installation date of your Windows System with netsh</title>
<link>http://snipplr.com/view/48811/get-the-installation-date-of-your-windows-system-with-netsh/</link>
<description><![CDATA[ <p>This command will tell you the date of Installation of your Windows System.
The result will look like this:
*InstallDate = 11:48:12 28.06.2010*</p> ]]></description>
<pubDate>Fri, 11 Feb 2011 07:21:12 GMT</pubDate>
<guid>http://snipplr.com/view/48811/get-the-installation-date-of-your-windows-system-with-netsh/</guid>
</item>
<item>
<title>(DOS Batch) Get last boot up time of your Windows System with netsh</title>
<link>http://snipplr.com/view/48810/get-last-boot-up-time-of-your-windows-system-with-netsh/</link>
<description><![CDATA[ <p>This command tells you the last boot up time of your Windows System. 
The result of this command will look like this:
*LastBootUpTime = 20:25:13 10.02.2011*</p> ]]></description>
<pubDate>Fri, 11 Feb 2011 07:18:51 GMT</pubDate>
<guid>http://snipplr.com/view/48810/get-last-boot-up-time-of-your-windows-system-with-netsh/</guid>
</item>
<item>
<title>(C++) CFileDialog with Directory preset</title>
<link>http://snipplr.com/view/48800/cfiledialog-with-directory-preset/</link>
<description><![CDATA[ <p>This shows how to define the directory where the MFC file dialog should start.</p> ]]></description>
<pubDate>Fri, 11 Feb 2011 04:08:42 GMT</pubDate>
<guid>http://snipplr.com/view/48800/cfiledialog-with-directory-preset/</guid>
</item>
<item>
<title>(DOS Batch) Split output of dir command into parts</title>
<link>http://snipplr.com/view/48725/split-output-of-dir-command-into-parts/</link>
<description><![CDATA[ <p>This example shows how you can split the output lines of e.g. a dir command. It also shows how to use a pipe to reduce the resulting lines by the findstr command.
Explanation:
This command calls "dir *.dll" and filters the results by findstr command through a pipe "|". The result of this is a list of all dll-files which contains the string "text" in it's name.
Now the for-loop takes each of these lines and splits them by the signs given in the "delims=.: " part. The "tokens=1,2,3" will send the first three parts of the split string to the explicit defined variable %i and the implicit defined variables %j and %k.
You can start counting your variables from every sign between a-z or A-Z. You will get more information about this on your command line with "for /?".

If you want to use this in a batch file, replace all % with %%.

This example will give you the date of alle found files in the format DD MM JJJJ (on a german windows box). If you use mor than three tokens or other characters as delims, you can get different results. Just play around.</p> ]]></description>
<pubDate>Thu, 10 Feb 2011 10:10:31 GMT</pubDate>
<guid>http://snipplr.com/view/48725/split-output-of-dir-command-into-parts/</guid>
</item>
</channel>
</rss>