Net Commands in Purebasic

Just starting out? Need help? Post your questions and find answers here.
User avatar
IHDevelop
New User
New User
Posts: 3
Joined: Sat Oct 24, 2009 4:18 pm
Location: Germany

Net Commands in Purebasic

Post by IHDevelop »

Hello everybody,

I am fairly new here and I want to scribe a program, which netcommands for example 'net session' sends to the system sends and I get the Info in a string. My idea was, to get a net.dll and the description or the other, systemcommands for XP th get the Info.
Both presupposes a knowledge which i haven't. Can help me anybody with codings or links for description to programming this in purebasic ??

Tanks in Advance ... ;-)
infratec
Always Here
Always Here
Posts: 7662
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Net Commands in Purebasic

Post by infratec »

Hi,

the easiest way is to use

Code: Select all

RunProgram()
and use the net command of the OS.
You can listen to the console output of the program and than you can decide what you want
to do with it.
User avatar
em_uk
Enthusiast
Enthusiast
Posts: 366
Joined: Sun Aug 08, 2010 3:32 pm
Location: Manchester UK

Re: Net Commands in Purebasic

Post by em_uk »

You should find what you're looking for here :

http://www.purebasic.fr/english/viewtop ... et+session
----

R Tape loading error, 0:1
Post Reply