Move
Move file (mv, move, mi)
Move file:
Renames (effectively moves) a file within the same directory.
Not applicable for moving to different directories.
Uses Robocopy to move a file by copying it to the destination and then deleting it from the source.
Moves a file using .NET's System.IO.File class in a PowerShell script.
Moves a file by copying it with attributes and then deleting the source file.
Note: This is technically a copy operation followed by a delete, but achieves the move effect.
Last updated
Was this helpful?