logical drives and file path??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I want to compare the path of a file with a value in a database, to see if
the file is the "good" file.
It seems simple!! But it doesn't work if we create a logical drive on the
client machine.
"T:\" is the logical , pointing to "C:\temp"
"T:\essai" and "C:\temp\essai" are the same but they don't have the same path.

HOW IS IT POSSIBLE TO KNOW THAT THE FILES ARE AT THE SAME PLACE EVEN IF THE
PATH ARE DIFFERENT

Thank you

Benoit
 
Look into the system.management namespace. I'm sure you can find a wmi
object that contains the information you're looking for.
 

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

Back
Top