Re: [newbie] Call command line function from windows c++ program
Peggy <firstname.lastname@example.org> wrote in message
> I recently tried
> system( "wzzip [params]" );
> to use winzip to zip certain files in the directory but it doesn't
> I thought system() would look for commands in the PATH variable and it
> should be able to find it since I am able to type in "wzzip ... " from
> I tried to use the function again with just a windows built-in command
> like this:
> system( "dir" )
> and it works.
> Can someone tell me what's wrong and how I can fix this problem?
Not in this newsgroup. The C++ language knows nothing of the PATH variable
or what a given operating system should do with a given system command. You
will get the answer in a Windows programming newgroup.
|All times are GMT. The time now is 06:16 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.