[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: CALL SYSTEM USING .......



Chris,

Unfortunately it is not that simple.  "dir" is nor an executable file.
It is a special code that is recognised by the DOS command interpreter.
I think that "call system using 'c:\path\to\command\command.com dir'"
will work.  Obivously replace "c:\path\to\command\" with the actual path
to where your command.com file lives.  I think that you might also have
to set some command line options on command.com to get the behaviour you
want.  Fortunately I have not had to use DOS (or its winX psuedonyms)
for anything more than a gorified terminal for some time.

I hope this helps,
Eric

Wanko, Christopher G, CFCTR wrote:
>
> > What is the syntax for executing a simple DOS 'Dir' command from sqr?
>
> <singing> Reeeeeeeeeeead... the effin'... manuaaaaaaaaalllll....
> .... because... on page 129... of the SQR Command... Reference...
> it says...
>
> <all together now>
> "CALL!"
> "SYSTEM!"
> "USING!"
> "'DIR'!"
> "#s!"
>
> <guitar solo>
>
> "Get the manuals!  Yeah man, get the manuals!"
>
> .... Heavy Metal Day is Today...