thanks kaiyodo just got the following to compile using __argc and __argv ill test when my download stops or sooner if i get impatient
if (2!=__argc)
{
strcpy(continent,"Australia");
}else
{
strcpy(continent,__argv[1]);
if ((strcmp(continent,"Asia")!=1)&&(strcmp(continent,"Europe")!=1)&&(strcmp(continent,"Africa")!=1)&&(strcmp(continent,"NthAmerica")!=1)&&(strcmp(continent,"SthAmerica")!=1)&&(strcmp(continent,"SthPole")!=1))
{
strcpy(continent,"Australia");
}
}
and anyone interested in great command line parameters can use the header #include "CmdLine.h"
CCmdLine is a simple way to parse a command line into switches and arguments it works with both mfc and non mfc apps and im sure if you google it you will find plenty of help using it
fubar