• 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)