Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open a file and don't know the name?

Status
Not open for further replies.

TheKing

Programmer
Feb 25, 2002
151
0
0
US
I would like to do a check to see if there are any files in a specific folder.

Example: in the folder 'Upload' I am having people upload threw a web page txt files.

I will not know what the file name is for sure. Can I do a folder directory search and if a file is done uploading then I can use that file?

Like how do I see if there is a file there?



T[sup]h[/sup]e[sub]K[/sub]i[sup]n[/sup]g
[pc3]
 
In case you dont know anything about using the fso (file system object) you must add the scripting runtime reference to your project or else the program will not recognize the scripting.filesystemobject
 
wow, that looks very simple, thanks

I will implement right away.

Looks like I need to learn about the file system object better.

thanks

T[sup]h[/sup]e[sub]K[/sub]i[sup]n[/sup]g
[pc3]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top