Tnx for the reply. I dont think we understand....maybe i confuse u with that telling you "is like telent". So i will try explain again. The first command when i execute is like this:
C:\Users\mypc\Desktop\Perl>wmic wmic:root\cli>
so as you can see wmic command is execute and i got the "wmic:root\cli>" prompt and here i have to execute the "diskdrive get status" command that will show me if the disk is ok or not. Here is how it looks like all the procedure ....
C:\Users\mypc\Desktop\Perl>wmic wmic:root\cli>diskdrive get status Status OK wmic:root\cli>
In reply to Re^2: Execute wmic command in cmd
by mvip
in thread Execute wmic command in cmd
by mvip
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |