G
Guest
Hello all and a big thanks for reading,
I am wanting to open a folder and prosess all the files in it. The first two
lines of code works, but it reads just 1 file at a time and I have to enter
in the name of the file. Is there a way to have it open a folder then I can
pull the first file in and open it for input? I tried this (last line #5) to
open a folder but get errors.
Open "C:\tote\T000645925837-DVD5-BATF.dat1" For Input As #1
Open "c:\tote\new\T000645925837-DVD5-BATF.dat1" For Output As #2
Open "C:\tote" For Input As #5
I am wanting to open a folder and prosess all the files in it. The first two
lines of code works, but it reads just 1 file at a time and I have to enter
in the name of the file. Is there a way to have it open a folder then I can
pull the first file in and open it for input? I tried this (last line #5) to
open a folder but get errors.
Open "C:\tote\T000645925837-DVD5-BATF.dat1" For Input As #1
Open "c:\tote\new\T000645925837-DVD5-BATF.dat1" For Output As #2
Open "C:\tote" For Input As #5