thanks everyone for your quick responses - i went to google (as per the suggestions of the first reply to my post) and found this site pretty quickly -
http://www.sloppycode.net i recommend it - i found these examples and more there. =) -chris -----Original Message----- From: EXT-Sauceda, Gilbert [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 4:49 PM To: ActiveServerPages Subject: RE: Scripting.FileSystemObject question FILE CHECK AND CREATE... filePath = server.MapPath("test.asp") set oFSO = Server.CreateObject("Scripting.FileSystemObject") if NOT oFSO.FileExists(filePath) then oFSO.CreateTextFile filePath end if set oFSO = nothing -----Original Message----- From: Chris Janz [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 1:16 PM To: ActiveServerPages Subject: Scripting.FileSystemObject question question, how do i use Scripting.FileSystemObject to create a file that doesn't already exist? also, does anyone know of an easy way to list the contents of a folder using the FileSystemObject? (quick and dirty works fine - it doesn't need to be recursive or special in any way - let's say i need to list the .txt files of c:\somefolder\someotherfolder\here\ thanks, chris --- You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --- You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --- You are currently subscribed to activeserverpages as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
