Mail Archives: djgpp/1998/06/13/01:30:41
From: | meatball AT wam DOT umd DOT edu (Arnold Hyo Lee)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Help...using execve() in NT
|
Date: | 12 Jun 1998 22:50:09 GMT
|
Organization: | University of Maryland, College Park, MD
|
Lines: | 13
|
Message-ID: | <6lsbb1$gjr@dailyplanet.wam.umd.edu>
|
NNTP-Posting-Host: | rac4.wam.umd.edu
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
i'm trying to create a simple program to output the computers in my NT
domain.
basically, net view from the command line will do it.
unfortunantly, i can't get "net view" to work in my execve() function.
execve("//kyle/c$/winnt/system32", "net", "view");
gives me two errors. 1) incompatible pointer type, Argument 2
2) Incompatible argument type, argument 3.
so...what am i doing wrong? please help.
- Raw text -