Hi!
30-Мар-2005 03:58 [EMAIL PROTECTED] (_) wrote to
[email protected]:
> I thought of way to set master environment, you can just call int 2e
> with ds:si point to lstring "set user=somename<cr>0" does this interrupt
> work like msdos does?
This is not "ms-dos", this is its shell issue. And, there are many
limitations:
______________O\_/_________________________________\_/O______________
if COMMAND.COM is the user's command interpreter, the primary copy
executes the command; this allows the master environment to be
modified by issuing a "SET" command, but changes in the master
> environment will not become effective until all programs descended
> from the primary COMMAND.COM terminate
since COMMAND.COM processes the string as if typed from the keyboard,
the transient portion needs to be present, and the calling program
> must ensure that sufficient memory to load the transient portion can
> be allocated by DOS if necessary
>results are unpredictable if invoked by a program run from a batch file
because this call is not reentrant and COMMAND.COM uses the same
internal variables when processing a batch file
>hooked but ignored by 4DOS v3.0 COMMAND.COM replacement unless SHELL2E
has been loaded
_____________________________________________________________________
O/~\ /~\O
> Okay, it says there is memory allocation error and cannot start
> command.com.. arrhhg more trouble? would it be better output a batch
> file with set command and autoexec calls that.
-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel