Quantcast
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Display Invalid File Names

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

Image may be NSFW.
Clik here to view.
Hey, Scripting Guy! Question
 How can I use Windows PowerShell to display information about invalid file name characters?

Image may be NSFW.
Clik here to view.
Hey, Scripting Guy! Answer
 Use the System.IO.Path class and call the GetInvalidFileNameChars static method:

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

Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 3333

Trending Articles