From: boris
Subject: CLISP ext::shell returns Win32 error 2 (ERROR_FILE_NOT_FOUND)
Date: 
Message-ID: <h9a02u0pmhhapejk27na8nl6t21oda683g@4ax.com>
Sorry to post what no doubt is a rather dumb question, but
clip under win98 ext::shell does execute certain commands such as MOVE
which are found in windows\command but not others, such as COPY:


1. Break [3]> (ext::shell "DIR")

[%s:10790] 
*** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the
file specified.
2. Break [4]> (ext::shell "MOVE")
Required parameter missing



Any clues as to what' going wrong?

Many thanks in advance.

From: pj
Subject: Re: CLISP ext::shell returns Win32 error 2 (ERROR_FILE_NOT_FOUND)
Date: 
Message-ID: <e8f1f186.0112190611.5e2e92b1@posting.google.com>
boris <·····@monkey.com> wrote in message news:<··································@4ax.com>...

> Sorry to post what no doubt is a rather dumb question, but
> clip under win98 ext::shell does execute certain commands such as MOVE
> which are found in windows\command but not others, such as COPY:

> 1. Break [3]> (ext::shell "DIR")
> 
> [%s:10790] 
> *** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the
> file specified.
> 2. Break [4]> (ext::shell "MOVE")
> Required parameter missing

I am not familiar with the exact functionality of ext::shell in clisp.

My guess is you are trying to execute shell commands as external
programs.

Try using "cmd /c copy aa.txt bb.txt".
This invokes windows command shell and executes the 'copy' command and
returns.

The above one is for NT (cmd.exe). It might be slighly different for
Win9Xs. (like command.com or command.exe ...)

hope that helps
cheers
pj
From: Arseny Slobodjuck
Subject: Re: CLISP ext::shell returns Win32 error 2 (ERROR_FILE_NOT_FOUND)
Date: 
Message-ID: <3c20ed96.40452657@news.vtc.ru>
On Wed, 19 Dec 2001 00:48:16 -0500, boris <·····@monkey.com> wrote:

>Sorry to post what no doubt is a rather dumb question, but
>clip under win98 ext::shell does execute certain commands such as MOVE
>which are found in windows\command but not others, such as COPY:
>
>
>1. Break [3]> (ext::shell "DIR")
>
>[%s:10790] 
>*** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the
>file specified.
>2. Break [4]> (ext::shell "MOVE")
>Required parameter missing
Copy and Dir are internal command interpreter commands. You can use
(shell "command.com /C copy win.com recycle.bin") in win98 and
(shell "cmd.exe /C copy win.com recycle.bin") in NT.