Also, there is another command for Windows XP to stop network connections, the code is as follows:
You usualy have a pair of quotes surrounding Network connections, but of course, it wont work here.
system("NET STOP NETWORK CONNECTIONS");
Which means that the command probaly wont work either, however, you could to it this way:
And then save the following code as net.bat in the programs folder, via Notepad:
And then to start it back up, create a another batch file using net start instead of net stop, or use variables.
net stop "network connections"
Of course, Crazy Norman's way is more efficient, and easier.