JimmyZ1
Technical User
- Mar 31, 2004
- 397
I need help switching this to an input box
Set colFiles = objWMIService.ExecQuery _
("Select * from CIM_Datafile Where name = 'c:\\Scripts\\Adsi.vbs'")
if you change c:\\scripts\\adsi.vbs to input1 like this
Set colFiles = objWMIService.ExecQuery _
("Select * from CIM_Datafile Where name = 'input1'")
for some reason it stops working... and i've tried the double \\ between the directory name actually i've tried both, it's probably some crazy syntax....
Set colFiles = objWMIService.ExecQuery _
("Select * from CIM_Datafile Where name = 'c:\\Scripts\\Adsi.vbs'")
if you change c:\\scripts\\adsi.vbs to input1 like this
Set colFiles = objWMIService.ExecQuery _
("Select * from CIM_Datafile Where name = 'input1'")
for some reason it stops working... and i've tried the double \\ between the directory name actually i've tried both, it's probably some crazy syntax....