Re: what's wrong with this "copy to" line



I know the directory exists for a fact. As a matter of fact, just in case
there was a typo i wasn't seeing, in the command window where I opened up
the program, from the same directory, I copied the path and pasted it into
that line in the program but it still pukes.

What the hell????

"Trey Walpole" <treypole@xxxxxxx> wrote in message
news:%23YP%23Go39FHA.252@xxxxxxxxxxxxxxxxxxxxxxx
> works fine for me - with or w/o extension, w/o directory same as filename
> existing (vfp9)
>
> are you sure the target directory exists? don't eyeball it - use the
> DIRECTORY() function.
>
> IF DIRECTORY("C:\WORK\ADHOC\SURFER\M2\")
> COPY TO ...
> ENDIF
>
> Bubba Gump Shrimp wrote:
>
>>OK, I can't figure this out. sometimes this line works and sometimes it
>>won;t, and from the same program. Can someone tell me what's wrong with
>>it? I'm using VFP7 and VFP9 and I get the error "invalid path or filename"
>>but the path is correct.
>>
>>COPY TO "C:\WORK\ADHOC\SURFER\M2\INU141" TYPE DELIMITED WITH "" WITH
>>CHARACTER "|"
>>
>>If I shorten it down and put it in "C:\work" then it works fine.
>>
>>Please help!
>>
>>Thanks!
>>Buster
>>
>>


.



Relevant Pages

  • Re: Please be careful renaming threads!
    ... for me to decide what to read and what to delete without reading. ... If you change a subject line, all servers will see it that way and everyone ... That's also a perfect time to rename a thread once you notice a typo. ... You can always practice by posting messages to the alt.test (text matter ...
    (rec.food.cooking)
  • Re: Guy Macons suggested changes to USCF/FIDE rules
    ... five points for a draw is ridiculous. ... As is focusing on an obvious typo ... dishonest postings in this thread, ... having not given the matter much serious thought. ...
    (rec.games.chess.misc)
  • Re: Voice Recognition replacing us?
    ... I guess if that is "good enough" for the clients, it doesn't matter much. ... They can be programmed and customized down to the level of dictator ... No, it wasn't a typo. ...
    (sci.med.transcription)
  • Re: Beethoven Symphonies: List of Best Recordings of Each?
    ... Is this a protest of English spelling peculiarities, a declaration of ... agnosticism about the matter, or just a typo:) ...
    (rec.music.classical.recordings)
  • Error Message
    ... While batch encoding I get a series of error messages in ... the command window ..."OOPS: blockinter_311: event index ... What is this, does it matter, and how do I correct it? ...
    (microsoft.public.windowsmedia.encoder)