I have problems using the Shell command, how to modify and implement the Settings file with the Shell = native , in order to have de Shell command runing well in my pc-basic.
Thanks for your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I installed PC-DOS on my laptop running Windows10.
The first thing I looked for was if the SHELL command worked in this BASIC emulation. To my regret the SHELL command doesn't do anything (see attached screendump). Also not after having set "shell=native" in the PCBASIC.INI file.
However, please note the SHELL command doesn't quite behave as expected, even if this bug were fixed. That's due to limitations in modern Windows and can't really be fixed. It's best not to depend on this statement at all. See here for some background: https://sourceforge.net/p/pcbasic/discussion/bugs/thread/b1d43fc6
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "[CLOSED] General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I have problems using the Shell command, how to modify and implement the Settings file with the Shell = native , in order to have de Shell command runing well in my pc-basic.
Thanks for your help.
Youll need to add the line
to
PCBASIC.INI
under the line that saysMake sure there are no other characters on the line (e.g. no leading spaces and no spaces around the
=
sign).Last edit: Rob Hagemans 2016-12-13
View and moderate all "[CLOSED] General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I installed PC-DOS on my laptop running Windows10.
The first thing I looked for was if the SHELL command worked in this BASIC emulation. To my regret the SHELL command doesn't do anything (see attached screendump). Also not after having set "shell=native" in the PCBASIC.INI file.
Do you have a suggestion?
Kind regards, a
Cees van der Waal
I didn't realise that I had to delete "# ", i.e. I had to amend "# shell=" into "shell=native" instead of into "# shell=native".
By using "shell=native" PC-Basic indeed switches to CMD.EXE. However not any (C>) prompt appears. Also e.g. SHELL "dir/p" doesn't display any result.
Hi Cees, this seems to be a bug that has been introduced by a fix for some other issue with
SHELL
. I've opened an issue tracker here: https://github.com/robhagemans/pcbasic/issues/50However, please note the
SHELL
command doesn't quite behave as expected, even if this bug were fixed. That's due to limitations in modern Windows and can't really be fixed. It's best not to depend on this statement at all. See here for some background: https://sourceforge.net/p/pcbasic/discussion/bugs/thread/b1d43fc6