delorie.com/archives/browse.cgi | search |
From: | Charles Sandmann <sandmann AT clio DOT rice DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: gawk 3.1.1 DJGPP v2.04 on Windows 2000 Pro problem using system() function and LFNs |
Date: | Tue, 28 Jan 2003 21:54:37 CST |
Organization: | Rice University, Houston TX |
Lines: | 13 |
Message-ID: | <3e37507d.sandmann@clio.rice.edu> |
References: | <3e360683 DOT sandmann AT clio DOT rice DOT edu> <b16lck$d1e$1$8300dec7 AT news DOT demon DOT co DOT uk> |
NNTP-Posting-Host: | clio.rice.edu |
X-Trace: | joe.rice.edu 1043812422 6780 128.42.105.3 (29 Jan 2003 03:53:42 GMT) |
X-Complaints-To: | abuse AT rice DOT edu |
NNTP-Posting-Date: | 29 Jan 2003 03:53:42 GMT |
X-NewsEditor: | ED-1.5.9 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
> I tried using your suggestion in various ways, but in each > case it seems that, although cmd.exe is called at some point > and displays its version, etc., it never exits, so that each > time it is called another shell instance is opened. In the > end I have had to type "exit" several times to exit the DOS > window. This is Windows 2000 Pro, SP2. Try SET SHELL=%COMSPEC% /C which seems to work better. It did something useful in my test case, instead of just ignoring the command and spawning CMD
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |