Copying files using MS DOS

I'm using XP Pro SP3.

My drive (D :) has a folder called CD-everything that contains music files 30600)

These files are listed as 00001.mp3 to 30600.mp3 inclusive.

I want to copy certain numbers of non-consecutive file on my external drive (o).

I have a list of the 20 000 (approximately) files required in a text document.

I don't want to copy all the files.

Can you give me a code example MS DOS that I would need to use.

Please use my filenames 00001.mp3, 00500.mp3, 01000.mp3, 30599.mp3 in an example.

D:\>xcopy D:\CD-all\ *. * /s /v O:

Who says copy all content of the D:\CD-all folder, including the subfolders on the d: drive. /verfiies each file

Note there is a space after cd-all\ *. * / s and /v

If there are files you want not copied in the folder and its subfolders and you want is .mp3 all use this

D:\>xcopy D:\CD-all\*.mp3/s/v O:

D:\>xcopy D:\CD-all\00001.mp3/s/v O:

D:\>xcopy D:\CD-all\005000.mp3/s/v O:

D:\>xcopy D:\CD-all\01000.mp3/s/v O:

D:\>xcopy D:\CD-all\30599.mp3/s/v O:

XCOPY command
http://www.computerhope.com/xcopyhlp.htm

I hope this helps.

Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

Tags: Windows

Similar Questions

  • Copying files using paths in a text file

    I have a text file containing the names of full path for files selected in different directories.   I would copy these selected (only the files not the directory structure) files into a new directory.

    I need to do it using the controls back XP commands (without keyboard entries) because this operation is part of a larger lot stp file

    Someone knows how to do this?

    Rob

    Hello

    see this link:

    http://www.Stu.QMUL.AC.UK/primer/DOS.html

    http://the.Earth.Li/~sgtatham/PuTTY/0.60/HTMLDOC/Chapter5.html

  • BlackBerry smartphones copying files using Media Manager is very slow

    Hello

    I have four zip files, totaling about 2 MB, I downloaded on my memory card and wanted to transfer to my laptop.

    Because I enabled encryption and the .rem files, I use Media Manager.

    The files take more than 20 minutes to cross. When I used with Windows Explorer before mass storage mode, move only a few hundred MB file took seconds, so I don't think it's a hardware problem.

    He also copied all the files twice, adding '00000' before the extension, for example, filename.zip.rem became filename.zip and name of file 00000.zip. Both can be open on the laptop as usual.

    Does anyone have an idea, what could be the cause?

    Thank you

    Paul

    Hi and welcome to the forums!

    Unless you have national secrets on your Blackberry I would disable content protection.

    It slows down the Blackberry to a crawl.

    Try to read this article and see if that can explain it more detail

    Thank you

    Bifocals

    http://www.BlackBerry.com/BTSC/search.do?cmd=displayKC&docType=kc&externalId=KB16088&sliceId=1&docTy...

  • ESX 3.5: copy files using the service console from a network share to the esx host data store

    Hello

    I wonder. Is there a command that I can run the service console that would allow me to copy a file from a network share on the data store on the esx host?

    Eric

    If sharing is a Windows, you can also use smbclient within the service console and ride sharing.

    André

    * If you found this device or any other answer useful please consider awarding points for correct or helpful answers

  • I accidentally deleted files and even deleted from the Recycle Bin. Is there a way to retrieve them using MS DOS?

    I accidentally deleted files and even deleted from the Recycle Bin. Is there a way to retrieve them using MS DOS?

    Thank you both of you who tried to help. I just found out that Dropbox keeps deleted files images for 30 days. I just need to go in their undelete function, choose the files that I deleted and restore them. It has been easy.

    Thanks again

  • Cannot copy files from HD to CD by using wizard.

    Original title: not accessible - incorrect function.

    Cannot copy files from HD to CD by using wizard. Have been able to do for a long time. Without warning is no longer possible.

    Hello

    The format of the files you want to copy basically described what kind of files they are. Word documents, of .mpg, jpeg, etc.
    However, it seems that the problem is with the drive itself, not individual files.

    You happen to have any installed Roxio program? Specifically, Roxio Easy CD Creator?
    If so, you should remove this program, restart the computer and try again.
    I hope this helps!
  • Impossible to copy files to the Sansa Fuze using Windows 7 (drag and drop, or Windows Media Player)

    Hello

    Yesterday, I bought the Sansa Fuze and I have problems copying files to the device using either Windows Media Player (Sync) or Drag and Drop (Explorer).

    The symptoms are:

    (1) the device is recognized and available in Windows 7 (Series USB MSC - sorry don't have it with me right now)

    (2) took me to upgrade to the latest firmware, which has worked flawlessly

    (3) when I try to drag and drop a file on the device (I use Windows 7, 64-bit), it starts, but doesn't seem to calculate the size of the files or waiting time to download correctly.  It is followed by a slow progressive, until the computer crashes, resulting in a constant 100% of the CPU.  The only solution is a hard reboot

    (4) when you use Windows WM, the device is recognized, okay and the synchronization starts, but it then stops without reason.  Once again, the processor springs and requires a reboot

    (5) using the results 3 and 4 in 1-5 files being copied across, but not more.

    (6) I tried several albums and one album at a time, but cannot determine if that makes a difference.

    Help, please!

    See you soon,.

    Richard

    It may be a bug in Windows 7. But one thing to try is to go to the Device Manager (assuming that Windows 7 still has), uninstall the "rocket" (under USB controllers), and then run add hardware to find and reinstall the driver.

    Use the MTP with Windows Media Player mode, MSC mode without.

  • Windows does not when you try to copy files from a micro sd using a T-flash card

    I have never had any problems to copy files to a flash drive in the past, but recently, I encountered this problem. Windows Vista, connected to the flash player, open the folder, dragged 1 file, and copied correctly. Attempted to copy a second file and he hung up then says windows does not. I pushed cancel and it also says windows does not. He would not cancel function so I went to the Manager of tasks to complete, but without success. I had to reboot the computer, I have tried to reboot several times and tried to copy but without success. Any suggestions on how to fix it?

    Hello

    The same information on the key USB applies to map drives
    so do not put all the files and folders to the root of the drive.

    Have you tried the card in other card readers? Sometimes the reformatting
    the map will refresh it.

    ======================================================

    It is the troubleshooter for the readers of SD cards which of course is very similar.

    If you can not get the card reader to work, it can be replaced or an external card reader is not
    Dear.

    They go bad sometimes. Try these:

    / Settings (BIOS/CMOS) often F2 when you start then look at the screen - make sure that the USB port is enabled.

    -----------------------------------------------------------------------------------------------------------------------

    Control Panel - Device Manager - hard disk - drive SD card or similar - double click - tab driver-
    Click on update drivers (this likely will do nothing that MS is far behind the certifying drivers) then right click
    following the UNINSTALL.

    Now bring the controllers USB - right click - UNINSTALL everything in category one at time EXCEPT
    the category itself - REBOOT. This will refresh the USB driver stack.

    Here is the similar procedure under XP, Vista is the same, except that we need to clear the specific device if present.
    http://support.Microsoft.com/kb/310575

    Do 1 above.

    USBDeview is a small utility that lists all USB devices currently connected to your computer, as well as
    all USB devices that you previously used. Run Options and check the 1st three choices to see if one is
    it. you can remove all instances of the drive and restart again.
    http://www.NirSoft.NET/utils/usb_devices_view.html

    Start - type in the search box - Windows Disk - find Windows Disk Management on the list above.
    Right-click - look RUN AS ADMIN to see if there is a drive letter assigned or a conflict.

    Check with the manufacturer of your system for the updated drivers - some card readers to do not use windows
    drivers.

    ----------------------------------------------

    If necessary try these two:

    Tips for solving problems of USB devices - and a Mr Fixit
    http://windowshelp.Microsoft.com/Windows/en-us/help/c39bd203-f729-47a4-8351-83291e13c8a81033.mspx#EGB

    Hardware devices not detected or not working - Mr. Fixit
    http://support.Microsoft.com/GP/hardware_device_problems

    Hope that helps.

  • PSG using to copy files of Windows 7 funds to phone Windows Mobile 8.1

    How do I load it, install & MTP allows you to copy files from my Windows 7 Desktop on my Windows Mobile PHONE (Nokia Lumia 635) 8.1?

    See:

    Synchronize documents to my Windows Phone using my computer.

    and

    Sync photos and videos using my computer. Windows Phone

  • Try to copy a file using file sharing in windows

    I'm trying to copy a 300 MB from the host to the host file using sharing folders. The comments and host are under windows 7. VMware player has installed tools. When I try copy on the image comments... the dialogue coomes 'copy' upwards, and under 'Time remaining' and 'speed' it says "calculating...". "all the time, he tries to make the copy. After a few seconds, I can see the file on the host file system and shows the full-size, 300 MB, but still the "copy...". "dialogue is present on the guest.

    Then eventually (after about 5 minutes), an "Item not found" dialog box appears saying:

    "Unable to find this article.

    It is no longer in
    HPDESKTOP\Users\ollie. Check the location of the item, and then try again.

    If you use the feature HGFS and not a common network share unloading TCP does not play a role.

    Have you tried to use a network instead of HGFS share, already? You can use the 'host-only' network or the physical one if this one is already in place and connect to the standard Windows network shares offer.

    AWo

    VCP 3 & 4

    \[:o]===\[o:]

    = You want to have this ad as a ringtone on your mobile phone? =

    = Send 'Assignment' to 911 for only $999999,99! =

  • Download and copy the files using PLSQL.

    Hi all

    Can the package UTL allows you to download any file data local to the server?
    Or is it an integrated package that can be used to upload files to the server and copy files to another directory?

    Thanks in advance.

    Benoit says:

    Can the package UTL allows you to download any file data local to the server?

    UTL_FILE is standard file i/o.

    Or is it an integrated package that can be used to upload files to the server and copy files to another directory?

    UTL_TCP provides a tcp socket interface client. This can be used as an FTP client. Utl_http provides a web browser client-the box of files can also be sent by e-mail with UTL_SMTP and UTL_MAIL.

    You should also ask if the code from PL/SQL Server acting as a client to push a file to a server, adapts the architecture of the application at hand.

  • Copy files to another location without DateModified change using Javascript

    Hi Expert,

    I have a problem while copying a file from one place to another place. If I copied and paste manually, the update is displayed both as the same as the copied file. But if I did it with JS codes, show the date of the day for all (created, modified, accessed). I want the same as the copied file.  I worked on this in Java. But I need made using Javascript. Can someone help me...

    My code is:

    File ("C:\\Users\\Indesign\\Desktop\\New folder (2)-abc\\1.jsx").copy("C:\\Users\\Indesign\\Desktop\\New folder (2)"------xyz\\1.jsx "")

    Thank you and best regards,

    Vel.

    I'm sorry for the late reply, was unable to come down to that earlier.

    Here is an example:

    Main();
    
    function Main() {
        if (File.fs == "Windows")  {
            var file = new File("/E/Temp_1/Test.txt");
            var destinationFolderPath = "/D/Temp_2/";
            var destinationFolder = new Folder(destinationFolderPath);
            if (!destinationFolder.exists) destinationFolder.create();
    
            var vbScript = 'Set fs = CreateObject("Scripting.FileSystemObject")\r';
            vbScript +=  'fs.CopyFile "' + file.fsName.replace("\\", "\\\\") + '", "' + destinationFolder.fsName.replace("\\", "\\\\") + "\\" + file.name + '"';
    
            app.doScript(vbScript, ScriptLanguage.visualBasic);
        }
    }
    
  • DOS command to print a .png file using a wireless printer

    I use a Canon iR - ADV C2020/2030 UFR wireless printer and a Windows 7 64-bit operating system. I am able to print a regular Notepad by using the command file:

    START/min notebook/p

    However, I am not able to print any file using this command.

    Is it possible to be able to print a .png file using a wireless printer?

    Try

    Start/min mspaint/p

  • Error in name of user/password incorrect when you copy files or from folders

    Our company uses a Mac Mini (with OS X Yosemite) and application server to share our internal files. We've had this set-up for year now with everything works well. As of late, however, we are more able to copy files or folders which are in all shared folders. Basically, when we try to copy any file or folder that is located in one of our share points, we get the error "Unable to connect to the server because the name or password is incorrect". This error occurs for each user account, including my own, that has been specified as an administrator account. We are able to add files and folders (e.g.: copy from our local computers to folders) as well as rename the files and folders that are located in shared folders. We can also create files without any errors, so I'm fairly certain it's not a permissions issue. In addition, I tried deleting completely all files and recreate their but not always the same error. I also tried to create new user accounts (accounts directory Local as the Local network directory) and the problem persists when you are connected to the server using these new accounts. I just don't know what else to do as this seems to be a software problem. Any ideas?

    Thank you

    OK, a little update. We have a mac (iMac) client computer that still works under OS X Yosemite. The user on this computer is able to copy files and folders without receiving this error. This same user has also a Macbook that runs El Capitan. Using the same network login for access to the server of their Macbook results in the same error message. All users who receive this error also run El Capitan on their Macs. With this latest development, I'm pretty much able to conclude that this error is the result of El Captain customers access to a shared folder on a server of Yosemite. What is curious is that I did not always have this error since the upgrade to El Capitan. I am sure that this problem came only in the last month or so leading me to conclude that either update to El Capitan (on the computers of our customers) or an update to Yosemite or the Server app) on the computer server has created this error. The issue is upgrading of the computer server to El Capitan solve this problem or am I in for a whole new can or worms?

  • How can I copy files from project Waveburner to another internal drive?

    How can I copy files from project Waveburner to another internal drive without losing the connection to the files audio orig.?

    Thank you for your time,

    Since no one answered my call, I sat and researched and studied WaveBurner behavior and I can myself answer my question and solve. Since there were a lot of people asking similar questions on WaveBurner files I will post what I learned.

    Whenever you drop your audio files in the list window to make your WaveBurner CD copy not copy your audio files, but relies on the original audio file, where they are located. So whenever you move the files orig. and you open WaveBurner, it can't find those and displays an error window to suggest it will search for the missing file or if you know where he is now lets you find manually. WaveBurner usually place the .wb3 project file that contains everything including your home folder.

    For this reason, I reserve now an audio file WaveBurner also folder in my home folder. In order to save themselves from WaveBurner cannot find the audio file, all audio files that I do, I put in my folder of audio files WaveBurner first, then copy them in WaveBurner from there.

    When I need to use a bigger hard drive I copy .wb3-WaveBurner projects based, but also my

    Sound folder WaveBurner for the home folder on the new hard drive.

    WaveBurner is now all audio files without problem.

    I hope that this will be a unique problem to someone else. Happy WaveBurning.

    W.W.

Maybe you are looking for

  • scan mutiple pages into a single pdf

    Printer Envy 120. How to scan multiple pages into a single document?  If the solution is to change the resolution to 300 dpi or less, how do I do that?  Thank you!

  • Power Save Mode problems

    Whenever my computer goes into power saving Mode is the only way that I can get out to close so far.  Any suggestions? Thank you

  • How to get audio to monitor HP 2311 x work?

    I connected my laptop HP Folio 13 for HP 2311 x monitor via HDMI. However, I don't get any sound on my laptop speakers (the monitor has no internal speakers). How can I get the audio to work?

  • SetFocus problem with screen Page tabs

    Hi Blackberry guys,. I followed the base article of developers Blackberry How-to - create display tabbed screens a source of inspiration for my screen to the custom tab. I have to create the control tab with unlimited tabs as follows Tab1. Tab2. Tab

  • Windows 8 asking for the activation of the new

    For past 4months I was using Windows 8 on my laptop, I put on day of win - 7, and I don't know that I hit in the right code then. Even now, after 4 months and every time I start my laptop it is in promotion for activation. Ok! Frustration increases w