Command Prompt - Empty spaces not supported

April 2018


You want to make a command that targets a specified path, but it includes a space on a file.


You want to make a copy from one directory to another:
copy c:\File to be copied\ e:\backup folder\

You get the following message: The specified file is not found.


It's very simple, just put quotation marks around the folder with space or more, like this:
copy c:\"File to be copied"\ e:\"backup folder"\

Note: The easiest way to avoid this kind of message is to use the underscore "_" instead of space when naming your files and folders.
Published by jak58. Latest update on November 5, 2009 at 07:12 AM by jak58.
This document, titled "Command Prompt - Empty spaces not supported," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (
Windows XP - Add the Arabic keyboard layout
View all devices of the computer