www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/24/19:37:53

From: Ray_Van_Tassle-CRV004 AT email DOT mot DOT com
Date: 24 Oct 94 12:45:24 -0600
To: djgpp AT sun DOT soe DOT clarkson DOT edu (Receipt Notification Requested)
Subject: disable globbing for a program?

I have a program that takes some parameters which sometimes include "*".  Works 
fine with DOS, but GO32 looks at these and performs globbing, thereby messing 
things up.
I know that I can force the user to disable globbing by either using quotes or 
by SET GO32=NOGLOB, but neither are very palatable.
So----is there any way I can build the program so that GO32 won't do the 
globbing?  (I use coff2exe to bind go32 with the program, and distribute the exe 
file.)  I'm thinking of something like " int __glob_enable = 0;" in the program, 
similar to the way borland-C lets you change stacksize.
Thanks,
Ray Van Tassle    rayvt AT comm DOT mot DOT com
 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019