[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: PIFs and LNKs



≪
> In DOS and W9x, if a batch file calls an application, the
> application opens and STAYS open until it is closed by its own
> internal close command (in Xy, Quit) Not so in W2K/XP (and, I'm
> assuming, NT): a batch file runs and that's it. IF it calls an
> app, the app opens and closes again, instanter.

Not true. I've always launched XyWrite from a BATch file, under NT
and now under XP, and it does no such thing. And no PAUSE kludge
required -- the last command in my BATch file is Editor.exe.≫


I duplicate Carl's experience in Xy3+/w2k.



> Note that in W9x, there's a checkbox on the Program tab of the
> pif properties window giving one the choice to "close on exit"
> or not. In W2K and XP, that checkbox occurs on the properties
> window of a shortcut to an EXECUTABLE (e.g., editor.exe) but
> NOT to that of a batch file.

I duplicate Patricia on this one; but didn't try Carl's suggestion to
"set up the BATch file as a command.com shortcut (Cmd:
%systemroot%\system32\command.com /c f:\xy4\xy4.bat), the checkbox is
there."



Someone recently mentioned compiling a list of frequently asked
questions or frequently encountered issues. I think the subtlties of
LNKs vs. PIFs belongs there.