Link to home
Start Free TrialLog in
Avatar of vbsnoob
vbsnoob

asked on

how to find all .jpg files in my computer using FileSystemObject, the output is to a txt file

How can I write a script to list all .jpg files in my computer by using FileSystemObject. The result should be put in a text file.
ASKER CERTIFIED SOLUTION
Avatar of sirbounty
sirbounty
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 vbsnoob
vbsnoob

ASKER

thank you very much for ur speedy help!
:) but you need to replace WriteLine file file with WriteLine file objFile
oops... :^)
:) but you need to replace WriteLine file with WriteLine objFile
SOLUTION
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
I think the t0t0 suggestion is the best.
aikimark

Thank you.
OBVIOUSLY, he has a reason for doing it in VB. I wouldn't be surprised if he's got an assignment for school that he's trying to get some help with.
i'm good wih that!