Results 1 to 6 of 6

Thread: xcopy command line together with wmplayer command line

  1. #1
    Join Date
    Nov 2009
    Posts
    61

    xcopy command line together with wmplayer command line

    I need to copy the files from the CD to the Hard drive of the computer using a xcopy command. After copying the files to the hard drive, I want to use Windows media player to play the files when copied on the hard drive. So can anybody suggest me how to use xcopy command line together with wmplayer command line to play the media files from Hard drive of the computer. Any suggestions are more than welcome.

  2. #2
    Join Date
    Dec 2007
    Posts
    280

    Re: xcopy command line together with wmplayer command line

    To copy the contents of the compact disk to the hard drive of the computer, you can use the following commands in the command prompt of Windows
    Code:
     xcopy "." c:\ads/s/e/y
    C:
    cd\ads name of the file to be copied
    This command will copy all the contents from the compact disk to the hard drive of the computer. Remember to change the location according to your preferences. After entering this command, do not execute any commands which will stop the copying of the files.

  3. #3
    Join Date
    Dec 2007
    Posts
    362

    Re: xcopy command line together with wmplayer command line

    Instead of copying the entire contents of the compact disk to the hard drive of the computer, you can only copy the file which you need to play using the windows media player on the hard drive. You can use some variants in the xcopy command to execute this task. Try the following command in the RUN tab and then see if it works.
    wmplayer"c:\name of file.format of file"/fullscreen
    Full screen option can be entered if required. If the full screen is not included then the video will start in windowed mode. The above command will copy the video which you want to play on the hard drive.
    Last edited by Dammit; 31-03-2010 at 11:53 AM.

  4. #4
    Join Date
    Nov 2009
    Posts
    61

    Re: xcopy command line together with wmplayer command line

    I tried to copy all the contents of the CD to the hard drive of the computer and the command worked properly but it gives that some content on the CD cannot be copied. Although I was not able to start the windows media player to play the files as the command suggested did not work properly. Is there any other command which I can use to run the files on the hard drive using any video player? Please suggest.

  5. #5
    Join Date
    Aug 2008
    Posts
    541

    Re: xcopy command line together with wmplayer command line

    I dont use Windows media player to play the media files on the hard drive but instead use iTunes using the command prompt. I use the command to play the files which are present on the hard drive and it will not help in copying files from CD to the hard drive. Enter the following command in the RUN tab to test if it works. Replace the application file name to which you are using.
    Code:
    start "" "c:\Program Files\iTunes\iTunes.exe" "c:\Users\Public\Music\01 Name.mp3"
    Change the source and destination accordingly.

  6. #6
    Join Date
    Nov 2009
    Posts
    61

    Re: xcopy command line together with wmplayer command line

    Yes it finally worked. Thanks for suggesting the solution. I modified the command which you have suggested and changed the location, application and it worked. I used the following command to play the files on the hard drive. So if anybody is facing the same problem, then use the following command
    Code:
    start "" "c:\Program Files\Windows Media Player\wmplayer.exe" "c\path\file name.wmv"/fullscreen
    Note that full screen is optional.

Similar Threads

  1. Can we use PHP from the command line?
    By kyosang in forum Software Development
    Replies: 5
    Last Post: 03-02-2010, 12:06 AM
  2. Replies: 3
    Last Post: 03-09-2009, 05:41 PM
  3. Command Line Ren (Rename) command broken?
    By SixSigmaGuy in forum Vista Help
    Replies: 2
    Last Post: 18-05-2008, 03:30 PM
  4. Run MSI from Command Line
    By Thomas M. in forum Windows Security
    Replies: 2
    Last Post: 03-11-2007, 03:49 AM
  5. Replies: 1
    Last Post: 18-05-2007, 01:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •