[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
program parameters under MSYS?
From: |
Graff_Zoltan |
Subject: |
program parameters under MSYS? |
Date: |
Fri, 25 Apr 2003 12:36:12 +0200 |
User-agent: |
Mutt/1.3.28i |
Hi!
Here is a little program (param.c):
#include <stdio.h>
main( int argc, char* argv[])
{ int cnt;
for( cnt=0; cnt<argc; cnt++ )
printf("%s ",argv[cnt]);
return 0;
}
I compiled it with MINGW under MSYS.
I tried running using CMD.EXE, in CYGWIN and in MSYS:
param.exe x /y -z
The results:
WinXP: PARAM.EXE x /y -z
Cygwin: c:\tmp\PARAM.EXE x /y -z
MSYS: c:\tmp\PARAM.EXE x C:/program files/msys/1.0/y -z
Is it good?
Thanks
Zoltan Graff
- program parameters under MSYS?,
Graff_Zoltan <=