LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to launh cmd.exe as administrator

hi everybody, i have to open cmd.exe as administrator. i need to write a command while my cvi app is running or execute a simple script. Can you help me? thanks
0 Kudos
Message 1 of 4
(3,191 Views)

Hey DamBalzani,

 

I think what you're trying can be accomplished with the system command:

 

http://zone.ni.com/reference/en-XX/help/370051AC-01/cvi/libref/cvisystem/

 

Cheers,

Ryan

0 Kudos
Message 2 of 4
(3,190 Views)
yes it is but not as administrator. how can i launch it as administrator?
0 Kudos
Message 3 of 4
(3,178 Views)

Hi DamBalzani,

 

My mistake, I misunderstood the question. Take a look here:

 

https://stackoverflow.com/questions/15523829/how-to-call-system-in-an-opened-administrator-program-a...

 

Cheers,

Ryan C.

0 Kudos
Message 4 of 4
(3,169 Views)