79161949

Date: 2024-11-06 09:18:16
Score: 1
Natty:
Report link

Two ways are as follows

  1. Using PowerShell windows command

    Move-Item -Path "SourcePath" -Destination "DestinationPath"

In above command SourcePath is the full path to the file you want to move e.g. C:\xyz.png and DestinationPath is the full path to the destination folder where you want to move the file e.g. E:\FolderName

  1. Using linux command as some commands are supported in windows powershell

    mv "SourcePath" "DestinationPath"

In above command SourcePath is the full path to the file you want to move and DestinationPath is the full path to the destination folder where you want to move the file.

note: Sometimes double quotes symbols are not required in command and sometimes they are required.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: y.d_edition