hednast
Newbie level 4
Hai....I am having problem in passing a value into an exe.
Eg:
c:\test.exe %computername%
the test.exe is a turbo c program.
I tried writing a small program that looks like below:
main(char *val)
{
printf("Value is %c ",val);
}
But I cannot get the value as I want. Please help.....
Eg:
c:\test.exe %computername%
the test.exe is a turbo c program.
I tried writing a small program that looks like below:
main(char *val)
{
printf("Value is %c ",val);
}
But I cannot get the value as I want. Please help.....