Computing.Net > Forums > Disk Operating System > Copying files via dos

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Copying files via dos

Reply to Message Icon

Name: Tobeon
Date: February 11, 2003 at 08:22:19 Pacific
OS: 98
CPU/Ram: plenty
Comment:

I would like to copy files from one folder to annother

e.g.
copy c:\mp3\*.mp3 c:\mp3copy

but i would like to only copy ones with certain names

e.g.
copy c:\mp3\rolling*.mp3 c:\mp3copy

but i want to be more specific than that but the filenames have spaces in them

e.g.
copy c:\mp3\rolling stones*.mp3 c:\mp3copy
(i know the above doesnt work just using to help explain)

anyone know what to type to do that?

thanks
p.s
i am using win98



Sponsored Link
Ads by Google

Response Number 1
Name: oliver
Date: February 11, 2003 at 09:39:57 Pacific
Reply:

use quotes:

copy "c:\mp3\rolling stones*.mp3" c:\mp3copy


0

Response Number 2
Name: Mike Newcomb
Date: February 12, 2003 at 13:17:37 Pacific
Reply:

In theory you can use ? in place of certain characters, whereas the * is used in place
of a character plus all following. e.g.

FILE??D.* copies the files with D in pos. 7

FILE*.* copies all the files

Hope this is of some help.

Good luck - keep us posted.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Computer stuck in ms-dos ... How do you load windows m...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Copying files via dos

replace old system files via dos www.computing.net/answers/dos/replace-old-system-files-via-dos/12972.html

Copy files from DOS to HPFS Drive with Win NT www.computing.net/answers/dos/copy-files-from-dos-to-hpfs-drive-with-win-nt/1599.html

Copying files via a batch file www.computing.net/answers/dos/copying-files-via-a-batch-file-/11558.html