Summary: Use Windows PowerShell to see if a folder exists.
How can I easily find if a folder exists for a Windows PowerShell script that I am writing?
Use the Test-Path cmdlet and the PathType parameter, for example:
Test-Path c:\fso -PathType Container
0 comments