CIM_DataFile path not matching in query

Joined
Mar 30, 2007
Messages
1
Reaction score
0
The following query

strQuery = "SELECT * FROM CIM_DataFile WHERE Drive = 'C:' AND Path = "
strQuery = strQuery & "'\\VPOP3\\' and FileName = 'VPOP3' and Extension = 'LOG'"

returns no files.
But when I take out the 'Path = ' component, it searches the disk and returns a file in the path I have coded above!

I have tried using lower and upper case but it makes no difference.


 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top