Last active
September 22, 2022 23:51
-
-
Save emmaly/b0add90248fea9fcbc245b440ad12df6 to your computer and use it in GitHub Desktop.
PowerShell: where's my Documents folder?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$documentsFolderPath = $([Environment]::GetFolderPath('Personal')) | |
# other ENUM values are here: | |
# https://learn.microsoft.com/en-us/dotnet/api/system.environment.specialfolder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment