How to run dos command in administrator privilage while in c++ code?
From Yang Luo@21:1/5 to All on Mon Jan 18 05:34:08 2016
I use dos command "net", need administrator privilage.Now I need put this command into c++ code, I use system() function, like this 'system("net
use S: \\computername\foldername");', So how can I improve dos command excute privilage while running c++ code.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
Who's Online
Recent Visitors
Netmages
Tue Sep 15 01:13:15 2026
from
Santiago, Chile
via
SSH
Rixter
Tue Sep 15 00:01:34 2026
from
Madison, Nc
via
Telnet
Rixter
Mon Sep 14 12:01:34 2026
from
Madison, Nc
via
Telnet
Bob Worm
Mon Sep 14 08:34:31 2026
from
Wales, Uk
via
Telnet
Retrojimmyx
Mon Sep 14 00:27:04 2026
from
Derbyshire
via
Telnet
Rixter
Mon Sep 14 00:01:35 2026
from
Madison, Nc
via
Telnet
Sam Shaxted
Sun Sep 13 14:48:09 2026
from
Sittingbourne, Kent
via
SSH
Furryboy
Sun Sep 13 13:32:38 2026
from
Romania, Galati
via
SSH