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
Bob Worm
Tue Nov 3 00:27:45 2026
from
Wales, Uk
via
Telnet
Rixter
Tue Nov 3 00:01:35 2026
from
Madison, Nc
via
Telnet
Konica
Mon Nov 2 22:18:58 2026
from
Lincoln, Nebraska
via
Telnet
Bob Worm
Mon Nov 2 21:18:26 2026
from
Wales, Uk
via
Telnet
Amstrad Ppc
Mon Nov 2 18:38:24 2026
from
Wiltshire
via
Telnet
Amstrad Ppc
Mon Nov 2 18:21:59 2026
from
Wiltshire
via
SSH
Amstrad Ppc
Mon Nov 2 15:41:32 2026
from
Wiltshire
via
Telnet
Amstrad Ppc
Mon Nov 2 15:25:33 2026
from
Wiltshire
via
SSH