wmic command question

  • Thread starter Thread starter Tao Lei
  • Start date Start date
T

Tao Lei

Hello.

Who has interest of this problem, please?

Firstly, I execute this command:
wmic datafile where "drive='d:' and filename like '%setup%'" list

In the result, I can see a "setup.exe" exists in folder "d:\office2003\".

But executing another command returns nothing:
wmic datafile where "drive='d:' and path='\\office2003\\' and filename
like '%setup%'" list

What's it all about, please?

Thanks!
 
Tao Lei said:
Hello.

Who has interest of this problem, please?

Firstly, I execute this command:
wmic datafile where "drive='d:' and filename like '%setup%'" list

In the result, I can see a "setup.exe" exists in folder "d:\office2003\".

But executing another command returns nothing:
wmic datafile where "drive='d:' and path='\\office2003\\' and filename
like '%setup%'" list

What's it all about, please?

Thanks!

What are you trying to achieve?
 
Hello.

I am learning to use wmic command.
I can use the first command to list "setup.exe".
Why can't I use the second command to list "setup.exe" ?
 
Tao Lei said:
Hello.

I am learning to use wmic command.
I can use the first command to list "setup.exe".
Why can't I use the second command to list "setup.exe" ?

Sorry, can't help you there. Try reposting your question in windowsxp.wmi or
wmi.programmer.
 
Back
Top