On Saturday 18 Jan 2003 14:56, Greg Turner wrote: > I am trying write scripts to mangle the output of MIDL. After MIDL > runs, I need to do a tiny amount of post-processing using UNIX apps > (convert from CRLF, for starters). > > So, I have batch file that I run under wine to invoke MIDL and get the > output I want; My question is: is there some way I can invoke my unix > shell script from my .bat file in wine under wcmd? > > If not, perhaps we should squeeze this functionality into Dan's > start.exe implementation? How would you feel about this, Dan? > > Alternatively, if I could invoke my .bat file from the UNIX > command-line, this would be just as good... but so far, the only way I > have found is to run "wcmd" and type. Does wcmd have some equivalent > to bash's "-c" command-line argument? Surely real cmd.exe has some > such feature?
wcmd relies on the implementation of CreateProcess to invoke a program, and as I'm sure we discussed here recently that doesn't handle unix binaries. The "/c" syntax is supported, to execute one command then exit, but not "-c". wcmd was written to emulate the functionality of DOS 6, though some later features have since been added. Dave