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

From: Malcolm Dew-Jones <yf110_at_vtn1.victoria.tc.ca>
Date: Sat, 21 Jul 2001 21:49:23 GMT
Message-ID: <3b1fbbb8_at_news.victoria.tc.ca>


John Estess (jestess_at_wcnet.net) wrote:

: 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

One thing you could try is to have cmd.exe as the first command, something like

 v_command := 'cmd.exe/c copy c:\whoops.dat c:\'||'"'||'aa aa' || '"' ||'';

I can't check the syntax of the above, so it may be wrong.

I have found that explicitly running cmd.exe from within HOST on NT is often important.

--
Want to access the command line of your CGI account?  Need to debug your
installed CGI scripts?  Transfer and edit files right from your browser? 

What you need is "ispy.cgi" - visit http://nisoftware.com/ispy.cgi
Received on Sat Jul 21 2001 - 23:49:23 CEST

Original text of this message