I think you misunderstood my question..
I was asking if it works just using windows explorer (or from a MsDos command window)
but I think Fred's answer is the key to your problem.. there is a limit to the number of files you can have in a root directory
The other solution is to zip them up - maybe in batches of.. say 50
HTH
Will
>It is from the DOS version of FoxPro 2.6.
>
>The command I am trying to run is:
>
>datadest = destination drive
>m.path= path of source files
>m.splfiles = source file range
>
>comand_line = "COPY "+m.splfiles+" "+datadest
>
>
>!/0 &command_line
>
>Once the program executes the copy statement gets so far the error "Cannot create Directory Entry" appears.
Will Jones