Answers for "copy item with part of path not existing"

1

copy item with part of path not existing

$destinationFolder = "C:My StuffSubdir"

if (!(Test-Path -path $destinationFolder)) {New-Item $destinationFolder -Type Directory}
Copy-Item "\server1Upgrade.exe" -Destination $destinationFolder
Posted by: Guest on January-18-2022

Code answers related to "copy item with part of path not existing"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language