ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Priest <>
Subject Exec creates a new Shell?
Date Mon, 17 Nov 2003 18:05:48 GMT
Does the Exec command create a new cmd shell on Winnt systems?

I am curious because a co-worker has his ComSpec env variable set to


but when the command runs, it looks like a new (4NT) command shell is being
created and he
is receiving an error that "E:\Program" could not be found.


     [exec] 4NT  4.01A   Windows 2000 5.0
     [exec] Copyright 1988-2001  Rex Conn & JP Software Inc.  All Rights

     [exec] 4NT: Unknown command "E:\Program"
     [exec] 4NT, S/N 254923.  Licensed to Bentley Systems for use on up to
100 computers.
     [exec] May not be distributed to others.

However he does use the "Progra~1" (short name). 

Does the exec command expand the ComSpec and not putting quotes around the

Any information would be appreciated.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message