Link to home
Start Free TrialLog in
Avatar of bbimis
bbimis

asked on

how do i write this query for wmic in vb.net it keeps telling me the query is incorrect

can someone tell me what is wrong with this query in vb.net   im trying to use wmic to get file information
dim num as string = "001" ' used to test
querys = "Select * from cim_datafile where drive=''C:'' AND Path = ''\\usr\\comm\\upload\\to_central\\'' AND filename =''invoice.''" & num.ToString()

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of it_saige
it_saige
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bbimis
bbimis

ASKER

thanks that worked