Answers for "Best way to change the file extension in powershell"

0

Best way to change the file extension in powershell

$path = 'C:\temp\ImportantFile.txt'
Copy-Item -Path $path –Destination ([io.path]::ChangeExtension($path, '.bak')) -Verbose
Posted by: Guest on October-12-2020

Code answers related to "Best way to change the file extension in powershell"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language