Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Display Invalid File Names

$
0
0

Summary: Use Windows PowerShell to display invalid file name characters.

Hey, Scripting Guy! Question How can I use Windows PowerShell to display information about invalid file name characters?

Hey, Scripting Guy! Answer Use the System.IO.Path class and call the GetInvalidFileNameChars static method:

[System.IO.Path]::GetInvalidFileNameChars()


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>