ppa
2011-10-12 07:35:02 UTC
Hello
I am doing a system() call to get the output of wmi in a temp file xxx a
follows
system("wmic.exe os get serialnumber > xxx"
It creates the temp file xxx but the call doesn't return. I need to kill i
an
nothing is written to temp file xxx
Why ? Is there any restriction of running wmic on Virtual machine
The same things works fine from command prompt on the Virtual machine withou
any teouble
Kindly help
Thank you.
I am doing a system() call to get the output of wmi in a temp file xxx a
follows
system("wmic.exe os get serialnumber > xxx"
It creates the temp file xxx but the call doesn't return. I need to kill i
an
nothing is written to temp file xxx
Why ? Is there any restriction of running wmic on Virtual machine
The same things works fine from command prompt on the Virtual machine withou
any teouble
Kindly help
Thank you.