4,500
edits
add powershell script |
|||
Line 107: | Line 107: | ||
Invoke-Expression -Command $expression | Invoke-Expression -Command $expression | ||
Move-Item -Force "$newFileName" "$currentFileName" | Move-Item -Force "$newFileName" "$currentFileName" | ||
#Remove file only enable when confident the original file is redundant??#Remove-Item $newFileName | # wait for a keypress | ||
# Write-Host "Press any key to continue ..." | |||
# $x = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") | |||
#Remove file only enable when confident the original file is redundant?? | |||
#Remove-Item $newFileName | |||
} | } | ||
} | } | ||
} | } | ||
</source> | </source> |