<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - Vordreller</title>
<link>http://snipplr.com/users/Vordreller</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 26 May 2013 12:37:16 GMT</pubDate>
<item>
<title>(Windows PowerShell) Create a textfile listing all paths to a certain file or wildcard.</title>
<link>http://snipplr.com/view/14155/create-a-textfile-listing-all-paths-to-a-certain-file-or-wildcard/</link>
<description><![CDATA[ <p>First of all, for all Stackoverflow.com members who have seen my question about this snippet on Stackoverflow, yes I am the same person as WebDevhobo. Last time I asked a question about something I posted here I got a bucketload of comments saying I couldn't claim the work of that snippet to be mine >_>



This is a function for Windows Powershell. What this will do is create a list of all paths that lead to a  certain file on your computer.


Example input: `listAllPaths c:\ *.zip c:\allZips.txt`

This will create a file allZips.txt under your root harddrive(the third parameter). The content will be a list of all paths to every file that ends with the  characters .zip(second parameter) and Powershell will start looking from c:\(the first parameter)

You'll have to make sure Powershell knows the function first. So you'll have to add it to your Powershell profile, which will make it so that every time you start Powershell, you can use the function.

More info on the Powershell profile can be found [here][1]


  [1]: http://superuser.com/questions/63446#63458</p> ]]></description>
<pubDate>Sat, 18 Apr 2009 13:37:19 GMT</pubDate>
<guid>http://snipplr.com/view/14155/create-a-textfile-listing-all-paths-to-a-certain-file-or-wildcard/</guid>
</item>
<item>
<title>(DOS Batch) Remove all Thumbs.db files</title>
<link>http://snipplr.com/view/13464/remove-all-thumbsdb-files/</link>
<description><![CDATA[ <p>There is a similar snippet on the site, yet it is listed for Windows Powershell, while the syntax is clearly Batch, and secondly, it is very incomplete and no response is coming from the author, so I'm posting my completer version here.

Beware, this will delete all Thumbs.db files that are hidden. If you want to delete the ones that aren't hidden too, you'll have to do it agin without the /a:h in there.</p> ]]></description>
<pubDate>Thu, 26 Mar 2009 09:01:12 GMT</pubDate>
<guid>http://snipplr.com/view/13464/remove-all-thumbsdb-files/</guid>
</item>
<item>
<title>(PHP) Check if a string begins with another string</title>
<link>http://snipplr.com/view/13214/check-if-a-string-begins-with-another-string/</link>
<description><![CDATA[ <p>The counterpart of this snippet: [http://snipplr.com/view/13213/check-if-a-string-ends-with-another-string/][1]

This one checks if a strings begins with another string. Again, third paramter is optional, if you don't set it, the comparison will be case-sensitive.


  [1]: http://snipplr.com/view/13213/check-if-a-string-ends-with-another-string/</p> ]]></description>
<pubDate>Tue, 17 Mar 2009 23:07:07 GMT</pubDate>
<guid>http://snipplr.com/view/13214/check-if-a-string-begins-with-another-string/</guid>
</item>
<item>
<title>(PHP) Check if a string ends with another string</title>
<link>http://snipplr.com/view/13213/check-if-a-string-ends-with-another-string/</link>
<description><![CDATA[ <p>This piece of code will enable you to check if a string ends with a certain string. Particularly handy when checking filetypes, like is something a jpg or not.
The third parameter is optional, if set to true, than the comparison will be case specific.</p> ]]></description>
<pubDate>Tue, 17 Mar 2009 23:02:37 GMT</pubDate>
<guid>http://snipplr.com/view/13213/check-if-a-string-ends-with-another-string/</guid>
</item>
</channel>
</rss>