DOS printing from FP menu
Kenneth Brody
kenbrody at bestweb.net
Thu Oct 6 15:11:34 PDT 2005
Quoting Brian K. White (Thu, 6 Oct 2005 16:28:36 -0400):
[...]
> The problem was the batch file needs to run another batch file, and the
> official way to do that is the "call" comand.
> If you don't use call (or maybe 'start' though that didn't always work)
> then it's like exec on unix or chain in filepro.
> You move into the new script and don't come back from it.
Correct. That's been the behavior since MS-DOS 1.0 was release.
> Well I found out the hard way that in cmd.exe, %PATH% supercedes shell
> built-ins. I installed perl some time ago, and the installer added .pl
> file type to the registry and added some perl directories to the system
> wide path, and one of those directories had a call.pl, and after that,
> call statements in batch files don't work! Just Amazing.
Well, that's just... wrong.
I can tell you that cmd.exe under XP doesn't act that way. (At least
not with ".exe" files. I copied dclerk.exe to call.exe, and "call"
still does the shell built-in.)
[...]
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list