Created
October 19, 2016 12:02
-
-
Save ninijay/52ff1c56258fd9705f3f821c8c091ba6 to your computer and use it in GitHub Desktop.
Windows 7 Desktop cleaner workaround
This file contains 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
$targetdirectory = "" | |
$sourcedirectory = "" | |
if (!(Test-Path -path $targetdirectory)) {New-Item $targetdirectory -Type Directory} | |
Get-ChildItem -Path $sourcedirectory | % { | |
Copy-Item -Path $_.fullname -Destination $targetdirectory | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment