Wildcards in Windows

I put forth the challenge in my last post about how to match files that start, end, or simply have a period in them. It isn’t easy to do. Wildcards in paths seem simple at first. You have ‘?’ to match any single character and ‘*’ to match zero or more of any characters. Matching…

0

More on new .NET path handling

In my prior post I talked briefly about the new path handling in .NET 4.6.2. In the latest drop (14367) PowerShell opts into both of the new behaviors so you can easily play around with the changes. There are two basic changes that can be controlled via two compatibility switches. The changes both originated in…

16

DOS to NT: A Path’s Journey

Overview Most of us are familiar with DOS style paths to files such as C:\bar\foo.txt. Most aren’t familiar with the DOS Device format of said path: \\.\C:\bar\foo.txt. Even less know about the lowest level version of this path- the “real” NT path to the file object that Windows uses internally: \Device\HarddiskVolume4\bar\foo.txt. Knowing how paths resolve through the…

6