Monday, 13 July 2020

Folder Names with Spaces in XCOPY doesn't work using batch or .bat file

//////////////////////////

Solution : ==>

 It's working if the source and destination folder and file with DIR is in the DOUBLE QUOTATION MARKS like given below-


xcopy "E:\ Folder name 1\Folder name 2\Folder name 3\file 2007130100.txt" "E:\Folder name 11\Folder name 12\Ftp\Folder name 13\"

No comments:

Post a Comment

How to highlight selected text in notepad++

  –> To highlight a block of code in Notepad++, please do the following steps step-1  :- Select the required text. step-2  :- Right click...