SADMIN32 (located in \TOOLKIT\SAMPLES\LANSERV\SADMIN32) executes a command on a remote or local server. The command to be executed on the server is passed as a command line parameter to this program, but it must reside on a disk visible to the target server.

SADMIN32 demonstrates how to use NetServerAdminCommand, which is a NetAPI function.


[Back] [Next]