Computer Hope

Microsoft => Microsoft DOS => Topic started by: DPainter on March 13, 2007, 06:32:09 PM

Title: XCOPY
Post by: DPainter on March 13, 2007, 06:32:09 PM
I have Windows XP Pro with 2G of Ram and 200G HD

I am trying to write a batch file that will copy data to the CD drive for burning this way all they will have to do is click write the files to disk. and I will have this batch file in the task schuleder.

This is what I have tried.
xcopy C:\Progra~1\testdir C:\Documents and Settings\Dean\Local Settings\Application Data\Microsoft\CD Burning

also tried
xcopy C:\Progra~1\Ezdental C:\Docum~1\Dean\Local ~1\Applic~1\Micros~1\CD Bur~1

it testing all it seems that XCOPY does not like spaces.
is there any way to do this.

any other ideas so I can schueld this task at night so all they have to do is write files to disk each morning.
Title: Re: XCOPY
Post by: lordoftheplat on March 14, 2007, 01:57:11 AM
all commands on ms-dos u cant have spaces
Title: Re: XCOPY
Post by: DPainter on March 14, 2007, 07:21:01 AM
sure you can try this
CD C:\Documents and Settings\Dean\Local Settings\Application Data\Microsoft\CD Burning\data

works from dos just fine.
Title: Re: XCOPY
Post by: WillyW on March 14, 2007, 09:20:01 AM
Quote
I have Windows XP Pro with 2G of Ram and 200G HD

I am trying to write a batch file that will copy data to the CD drive for burning this way all they will have to do is click write the files to disk. and I will have this batch file in the task schuleder.

- - -

any other ideas so I can schueld this task at night so all they have to do is write files to disk each morning.


I doubt you can do it with xcopy.    To record files on a CD, you need software to run the drive.

If it were me,  I would either be looking at my present CD burning software,  to see if it has command line options,   or looking for other software that can be run from the command line.
Google for CDRecord,  for example.

After you find suitable software, and learn how to run it from the command line,  then you may find it convenient to run it from a batch file.   The batch file being scheduled by your other software.




Title: Re: XCOPY
Post by: DPainter on March 14, 2007, 09:25:53 AM
Windows XP will work just fine. All I need to do is get the files to that folder and the rest is easy.
Title: Re: XCOPY
Post by: WillyW on March 14, 2007, 09:39:29 AM
Quote

it testing all it seems that XCOPY does not like spaces.
is there any way to do this.


Experiment to try:   use quote marks.    
As in,  "C:\Progra~1\testdir C:\Documents and Settings\Dean\Local Settings\Application Data\Microsoft\CD Burning"