Re: Forms madness - can't HOST(COPY... ) with a dir with spaces

From: Daniel A. Morgan <dmorgan_at_exesolutions.com>
Date: Sat, 21 Jul 2001 21:49:14 GMT
Message-ID: <3B1F1824.52C6ACD4_at_exesolutions.com>


John Estess wrote:

> This is my pathetic test case. I'm trying to copy a file to the directory
> c:\aa aa
>
> No, I can't do much about the spaces in the name. In a WHEN-BUTTON-PRESSED
> trigger, I have:
>
> declare
> v_command varchar2(256);
> begin
>
> v_command := 'copy c:\whoops.dat c:\'||'"'||'aa aa' || '"' || '';
> message(v_command);
> pause;
> host(v_command);
> pause;
>
> end;
>
> It looks OK and the string that it gives in the message is the same that
> works in CMD.EXE and COMMAND.COM
> I'm confused. Why doesn't this work. What will?
> PPPLLLLEEEAAAASSSSSSSSSEEEE????
>
> John Estess
> please cc to my address - I can't access newsgroups from work. Thank you.

I'll be as interested as you in the answer if someone has one. But I'd like to meet the genius (said with dripping sarcasm) that made it a directory with a space in it and made it mandatory. Clueless.

Daniel A. Morgan Received on Sat Jul 21 2001 - 23:49:14 CEST

Original text of this message