Answers for "powershell create folder recursively"

0

powershell create folder recursively

# Poweshell: Get the root drive letter, and move into it
$FILE_PARTS = $DESTINATION_DIR.split(":")
Set-Location "${FILE_PARTS[0]}"

# Recursively create subfolders
New-Item -Name $FILE_PARTS[1].Substring(1) -ItemType directory
Posted by: Guest on February-03-2022

Code answers related to "powershell create folder recursively"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language