Article View: comp.os.msdos.programmer
Article #3676qbasic shells
From: Alan Robinson
Date: Wed, 07 Oct 1992 15:22
Date: Wed, 07 Oct 1992 15:22
25 lines
1026 bytes
1026 bytes
I have a utility called 'filename' which when called from dos pops
up with a list of files in the current directory and allows you to
select on with a scroll bar. It then sets an environment variable
(FILENAME) to the name of the file selected.
I would like to use this in a couple of Qbasic programs, but the only
way I have found to call it is to use the QB Shell command;
Shell ("filename")
unfortunately this sets up a new command shell and environment (I think),
and the result is that when the utility passes control back, it is not
possible to retrieve the name of the file selected by
a$=environ$("FILENAME")
Any thoughts ?
Thanks,
Alan.
Technical Details
Message-ID:
<1992Oct7.152257.1612@lut.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!keele!nott-cs!lut.ac.uk!elajrShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!keele!nott-cs!lut.ac.uk!elajr From: A.J.Robinson@lut.ac.uk (Alan Robinson) Newsgroups: comp.os.msdos.programmer Subject: qbasic shells Message-ID: <1992Oct7.152257.1612@lut.ac.uk> Date: 7 Oct 92 15:22:57 GMT Sender: elajr@lut.ac.uk (AJ Robinson) Organization: Loughborough University, UK. Lines: 25