Try putting quote marks around the parts (the space in Mutual Funds and Get
Prices is probably what is hurting you).
copy "C:\Finance\Mutual Funds\Get Prices\*.csv" "Prices.txt"
Michael
"Marv" <marvwade@xxxxxx> wrote in message
news:ec$DbG7sIHA.4952@xxxxxx
| Quote: |  | |
|
> I realize this may be off topic but I don't find any place to post it. I
> am trying to do a DOS coy command that combines a number of files into
> single one.
>
> This syntax works if I am in the directory where the files are located:
>
> Copy *.csv Prices.txt
>
> But if I am in another folder and try to put a path to it like
>
> copy C:\Finance\Mutual Funds\Get Prices\*.csv Prices.txt
>
> It always says it cannot find the file. I KNOW the location IS correct.
> Is there some error in the syntax that can cause this?
>
> Thanks for any assistance.
>
> Marv
>
>
| |
| | |