Re: installation problems

Steffen Kaiser <[email protected]>
Newsgroups gmane.os.freedos.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Aitor Santamaria Merino wrote:
| Ok, got it, you already mentioned that /P would force AUTOEXEC.BAT to be
| parsed. But would (in FreeCOM) the "/P /K filename.BAT" replace
| "AUTOEXEC.BAT" with "filename.bat" ?

http://freedos.sourceforge.net/freecom/FreeCOM.html#-cmdline

describes the interface,

/P - executes the AUTOEXEC.BAT script before any other command
/K - specify a command to execute
... If these options [[/C or /K]] are used in conjunction with the /P
option, the AUTOEXEC.BAT script is executed prior executing the
specified command.

However, you can specify:
/P=another.bat - to replace AUTOEXEC.BAT by another batch file, but you
cannot pass arguments this way.

However, I slightly remember that some DOS (DR??) executes _either_ /P
(== AUTOEXEC.BAT) _or_ the /C/K command, hence, if you have use both, /C
or /K overrides /P.
I, personally, think that to execute both is more clean.

Especially because: "/D": disables to execute AUTOEXEC.BAT
ergo:
/D/P/K cmd arg

will execute FreeCOM, force it as primary instance, but does not execute
AUTOEXEC.BAT, but executes "cmd arg" and, finally, enters interactive
command line prompt.

In versions upto v0.83 Beta 46 the combination "/P/C" will cause FreeCOM
to hang in an infinite loop (telling the user that FreeCOM has been
instructed to terminate, but isn't allowed to do so as of the /P
switch). Since Beta 48, FreeCOM treats "/P/C" like "/P/K".
Documentations has been updated to explicitly express this behaviour.

Bye,

- --

Steffen Kaiser

The current maintainer of [email protected]
http://freedos.sourceforge.net/freecom/FreeCOM.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9wDwLUGVBMorxy8YRAmpjAJ4kNR12Fkd3F/PmF0ZpbxLSojms0QCfXpiq
IxbCFKMPGkgSkKwBsc+P4UE=
=naba
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.