<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Wed, 10 Jun 2026 14:13:43 +0000</lastBuildDate>
    <item>
      <title>(Windows Registry) Disable Windows Share Drag and Drop Confirmation caused by IE 7 on XP SP3 - karlhorky</title>
      <link>https://snipplr.com/view/37724/disable-windows-share-drag-and-drop-confirmation-caused-by-ie-7-on-xp-sp3</link>
      <description>&lt;p&gt;Internet Explorer 7 under Windows XP Service Pack 3 has the Windows Registry "Reserved Value" 180D set that was not set before, which can cause  a "Do you want to move or copy files from this zone?" prompt on moves or copies between Windows shares if they are incorrectly detected as being part of the Internet Zone. The registry solution in this snippet will disable this confirmation message.&#13;
&#13;
&#13;
References:&#13;
&#13;
"Reserved value" 180D (Microsoft.com: Internet Explorer security zones registry entries for advanced users):&#13;
&#13;
http://support.microsoft.com/kb/182569&#13;
&#13;
&#13;
Discussion of Windows Registry solution:&#13;
&#13;
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.windowsxp.general&amp;tid=6f434a2d-cb47-47c4-b73a-f85459d27c51&amp;cat=en_US_91a15a1e-b269-4291-b6b4-dc2d504ce9ef&amp;lang=en&amp;cr=US&amp;sloc=en-us&amp;m=1&amp;p=1&#13;
&#13;
&#13;
"Do you want to move or copy files from this zone?" Prompt Example:&#13;
&#13;
http://www.howtogeek.com/wp-content/uploads/2008/07/image56.png&lt;/p&gt;</description>
      <pubDate>Thu, 22 Jul 2010 04:27:02 UTC</pubDate>
      <guid>https://snipplr.com/view/37724/disable-windows-share-drag-and-drop-confirmation-caused-by-ie-7-on-xp-sp3</guid>
    </item>
    <item>
      <title>(CSS) CSS: Printer Friendly Header Visibility Styles - karlhorky</title>
      <link>https://snipplr.com/view/36887/css-printer-friendly-header-visibility-styles</link>
      <description>&lt;p&gt;When developing a website, an important consideration is accessibility on other media, including the medium of print. However, the printing engines of most browsers render content differently to allow for simple printed pages. One of the most notable differences is the omission of background images by default in modern browsers' print output. Background images are commonly used for header elements, which causes missing branding in the resulting printed pages.&#13;
 &#13;
One option defined in this snippet is to add markup after your normal header for a 0 pixel by 0 pixel `&lt;img&gt;` element (your print version header), and then style the two headers as invisible and visible based upon the stylesheet medium. So when you're viewing the screen version of the page the normal header will be visible and the print header will be an invisible element with a width and height of 0 pixels. With the print version of the page the normal header will not be displayed at all and the print header will be a visible element that is floated and correctly sized.&#13;
&#13;
This solution has been tested to work in:&#13;
&#13;
*  Microsoft Internet Explorer 6, 7, 8&#13;
*  Mozilla Firefox 3.6&#13;
*  Google Chrome 5&#13;
*  Apple Safari 4&#13;
*  Opera 10&lt;/p&gt;</description>
      <pubDate>Thu, 08 Jul 2010 04:43:28 UTC</pubDate>
      <guid>https://snipplr.com/view/36887/css-printer-friendly-header-visibility-styles</guid>
    </item>
    <item>
      <title>(Bash) Bash (Command Line): Loop through directories in specified location, replacing directories in current directory (with backup) - karlhorky</title>
      <link>https://snipplr.com/view/35126/bash-command-line-loop-through-directories-in-specified-location-replacing-directories-in-current-directory-with-backup</link>
      <description>&lt;p&gt;This command line aims at moving directories from a target location to the present working directory (pwd), backing the pwd directories up as it encounters them.&#13;
&#13;
The script works by:&#13;
&#13;
1. Iterating through the contents of the target directory (using the unix ls command)&#13;
&#13;
2. Checking whether the current object is a directory&#13;
&#13;
3. Moving the pwd directory to a backup location using the unix mv command&#13;
&#13;
4. Moving the target location's directory to the present working directory&#13;
&#13;
5. Printing out the modified directory's name using the unix echo command&lt;/p&gt;</description>
      <pubDate>Sun, 23 May 2010 15:24:10 UTC</pubDate>
      <guid>https://snipplr.com/view/35126/bash-command-line-loop-through-directories-in-specified-location-replacing-directories-in-current-directory-with-backup</guid>
    </item>
    <item>
      <title>(DOS Batch) DOS Batch: Mirror Contents of One Directory to Another with Prompt using Robocopy - karlhorky</title>
      <link>https://snipplr.com/view/32086/dos-batch-mirror-contents-of-one-directory-to-another-with-prompt-using-robocopy</link>
      <description>&lt;p&gt;This batch mirrors the contents of one directory to another using Robocopy. It will display a list of what is being mirrored before prompting the user for confirmation on the mirror.&#13;
&#13;
WARNING: Robocopy's /MIR switch that is used in this batch WILL remove any destination objects not present in the source directory&lt;/p&gt;</description>
      <pubDate>Thu, 15 Apr 2010 17:35:40 UTC</pubDate>
      <guid>https://snipplr.com/view/32086/dos-batch-mirror-contents-of-one-directory-to-another-with-prompt-using-robocopy</guid>
    </item>
    <item>
      <title>(Windows Registry) Windows Registry: Set open folder default icons for all A-Z drive letters and Desktop Shell Folder in Windows 7 - karlhorky</title>
      <link>https://snipplr.com/view/31208/windows-registry-set-open-folder-default-icons-for-all-az-drive-letters-and-desktop-shell-folder-in-windows-7</link>
      <description>&lt;p&gt;Based upon the Drive Icon Change Windows Vista tweak  and the shell icons registry settings found at the respective links below, this Windows 7 / Vista tweak will set the default icon of all A-Z drive letters (like C: for instance) and the Desktop to the open folder icon that Windows uses. This tweak is one step towards the final goal of having a standard default taskbar icon for Windows Explorer, irrespective of the current location of the Explorer instance.&#13;
&#13;
Of course, a better solution would be an application to modify Windows Explorer so that its taskbar icon is configurable, but I have yet to find (or make) a solution that would be this flexible.&#13;
&#13;
Drive Icon Change - Vista Forums: http://www.vistax64.com/tutorials/111388-drive-icon-change.html&#13;
&#13;
Shell icons registry settings: http://www.virtualplastic.net/html/icn_reg.html#shellicons&lt;/p&gt;</description>
      <pubDate>Sat, 10 Apr 2010 18:16:09 UTC</pubDate>
      <guid>https://snipplr.com/view/31208/windows-registry-set-open-folder-default-icons-for-all-az-drive-letters-and-desktop-shell-folder-in-windows-7</guid>
    </item>
    <item>
      <title>(Visual Basic) WSH (VBScript): Windows 7 New File Context Menu Item - karlhorky</title>
      <link>https://snipplr.com/view/30935/wsh-vbscript-windows-7-new-file-context-menu-item</link>
      <description>&lt;p&gt;A modification of Bill James' New Folder context menu script ( http://billsway.com/vbspage/ ), this script instead creates a "New File" item in the right click context menu of Directory Backgrounds. Upon running the New File item, you will be prompted for a filename that defaults to "new.txt". Once a valid filename has been entered (not an existing file) the script will then create the file. This allows the filename to be chosen in the dialog before any file creation has been executed. This has been tested to work on Windows 7 but may work on Vista as well.&#13;
&#13;
Make the code below into a vbs file in the location you want it to be installed in (eg. C:\Windows\NewFile.vbs). To install the context menu item, run the vbs file. To uninstall the file, run the vbs file again.&lt;/p&gt;</description>
      <pubDate>Mon, 05 Apr 2010 16:54:54 UTC</pubDate>
      <guid>https://snipplr.com/view/30935/wsh-vbscript-windows-7-new-file-context-menu-item</guid>
    </item>
    <item>
      <title>(Windows Registry) MSI Right-click Context Menu: Install As (other user or administrator) - karlhorky</title>
      <link>https://snipplr.com/view/24223/msi-rightclick-context-menu-install-as-other-user-or-administrator</link>
      <description>&lt;p&gt;RunAs is a great way of temporarily elevating your privileges to admin level when you are logged on as an ordinary user. However, while you can right-click on .exe files and select Run As from the shortcut menu, this doesn't work with Windows Installer (.msi) packages. &#13;
&#13;
Here's a workaround that makes this possible. &#13;
&#13;
Credit for this trick goes to: http://www.windowsnetworking.com/kbase/WindowsTips/WindowsXP/RegistryTips/Security/InstallingMSIPackageswithElevatedPrivileges.html&lt;/p&gt;</description>
      <pubDate>Thu, 03 Dec 2009 13:34:24 UTC</pubDate>
      <guid>https://snipplr.com/view/24223/msi-rightclick-context-menu-install-as-other-user-or-administrator</guid>
    </item>
    <item>
      <title>(Perl) Perl: Modify XML Feed Items' pubDate - karlhorky</title>
      <link>https://snipplr.com/view/20443/perl-modify-xml-feed-items-pubdate</link>
      <description>&lt;p&gt;Read in a remote XML file, change the pubDate date format, and output to specific local file.&lt;/p&gt;</description>
      <pubDate>Tue, 29 Sep 2009 17:14:35 UTC</pubDate>
      <guid>https://snipplr.com/view/20443/perl-modify-xml-feed-items-pubdate</guid>
    </item>
  </channel>
</rss>
