logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Re: installation problems: msg#00369

Subject: Re: installation problems
-----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 FreeCOM@xxxxxxxxxxx
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-----



<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo