[Xitami] #exec cmd= in Win XP

Charles Duval xitami@lists.xitami.org
Thu, 11 Dec 2003 14:03:08 -0500


At 21:28 9/12/03, "Charles Duval" <ch_duval@hotmail.com> wrote:

>I am trying to use a CGI to copy content on one directory to another on my
>Web server to update information on a ramdisk.

[...]

Thanks for all the input guys!

Marc asked for the source code of my program.  It's in RapidQ Basic:
        $APPTYPE CGI
        $INCLUDE "Rapidq.inc"

        Print "Copying Files to RamDisk !<br>"
        Print "Please Wait.<br>"
        shell "c:\windows\system32\xcopy.exe d:\xitami\toramdsk\*.* r:\ /e
/y /h /d"
        print "FINISHED<br>"

I don't think I can be more specific than what is there.  All drive letters
are specified and all.  Whatever I do, I get the following result and the
copy command does not execute:

        Copying Files to RamDisk !
        Please Wait.
        FINISHED

Running the CGI by hand in the cgi-bin directory from command line works
fine. The copied files are listed between "Please Wait" and "FINISHED" as
expected.



Charles