Incomplete argv/argc when using FTYPE and ASSOC on XP
I'm trying to use a standard C main() program with FTYPE and ASSOC.
The main.c program is:
And I use in a DOS windows:
If I call the program in this way:
The command line arguments ("1", "2" and "3") here are not visible in argc/argv.
How do I retrieve these arguments in the C program?
Using exactly the same ASSOC and FTYPE syntax works with other programs, so there is something that I am missing.
|All times are GMT +5.5. The time now is 18:31.|