[Command Prompt]Empty spaces not supported

Last update on November 5, 2009 11:12 AM by jak58
Published by jak58

[Command Prompt]Empty spaces not supported





Issue


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


Example:

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.

Solution


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.
Best answers for « Empty spaces not supported » in :
Free up space on the system partition ShowFree up space on the system partition The folder "My Documents" Favorites Messages from Outlook Express Temporary files Restore points Additional things you can do Your hard drive encloses two partitions complying of:...
Warning: rmdir(..): Directory not empty ShowWarning: rmdir(..): Directory not empty If you are attempting to delete a PHP file and that you get the error message: Warning: rmdir(..): Directory not empty¯. This might mean that the directory is not empty. To be able to...
Creating an empty file ShowCreating an empty file To create an empty file, type the following command: > file You can also use the touch command: touch file
Download Empty Temp Folders ShowAfter some days of use the PC is already full of temporary files which are not necessary but voluminous. You must delete them in order to get more space disk. Empty Temp Folders is a software which allows to delete all the default stored temporary...
Download Support IPX for Vista ShowProtocol IPX/SPX is used for many old games for network play (Red Alert, Command & Conquer, etc…). Unfortunately, Microsoft withdrew IPX/SPX protocol support for Vista (32bit). Nevertheless, it is possible to solve the problem by selecting the pilot...
Download Space Easy Wallpaper Changer ShowSpace Easy Wallpaper Changer is a small program which allows you to change the wallpaper of your desktop with a single click. It is possible to change the wall paper automatically or manually. It can support the following format: JPEG, PNG, BMP...
Creating an audio CD from an MP3 ShowWhat is an MP3 file An MP3 file is a compressed audio file, i.e., a file that takes up less disk space due to a compression algorithm, and which can be read by programs that execute decompression algorithms. Legality The MP3 format is not illegal,...
DVD, DVD audio and DVD-ROM (DVD-R, DVD-RW, DVD+W, DVD+RW) ShowIntroduction to the DVD format The DVD (Digital Versatile Disc, or less commonly Digital Video Disc) is an "alternative" to the compact disc (CD) with six times as much storage space (for the lowest-capacity kind of DVD — single-layer, single...
Paragraphs in HTML ShowParagraphs HTML considers paragraphs to be blocks of text. Browsers do their best to fit the contents of paragraphs into the window, unless the NOWRAP or NOBR attribute is explicitly specified. Within a paragraph, all spaces, tabs, and line breaks...