Think I want to copy this file C:\Majid\File\text.txt
to D:\Copied
(C:\Majid\File\text.txt ---> D:\Copied
)
I want to use Xcopy to copy that file with its full directory into D:\Copied
, then I should have something like this ---> D:\Copied\Majid\File\text.txt
, as you see the drive letter is removed and all of other directory is created in destination directory.
How can I do this action by XCopy?