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?
Thanks,
the real cmd.exe has, and supports many more options in win2k version. the builtins commands have been expanded, like the "for".
--- Greg Turner gmturner007@ameritech.net a écrit : >
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?
Thanks,
===== Sylvain Petreolle spetreolle@users.sourceforge.net Fight against Spam ! http://www.euro.cauce.org/en/index.html ICQ #170597259
"Don't think you are. Know you are." Morpheus, in "Matrix".
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
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
On Sat, 18 Jan 2003, Greg Turner wrote:
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?
Thanks,
wcmd /c batfile
you may put it in a shell script, if you like. output is to stdout (no window is created).
Lawson -- ---oops--- Linux giftie 2.4.13 #1 Tue Oct 30 22:04:20 EST 2001 i586 unknown
________________________________________________________________ Sign Up for Juno Platinum Internet Access Today Only $9.95 per month! Visit www.juno.com