Line feeds gone missing: Set fso = CreateObject("Scripting.FileSystemObject") Set a = fso.CreateTextFile("c:\test.txt", True) a.WriteLine("This is a test.") a.Close
Adam -----Original Message----- From: Adam Cork [mailto:[EMAIL PROTECTED]] Sent: 09 December 2002 13:57 To: [EMAIL PROTECTED] Subject: [wdvltalk] RE: ASP FSO OK, would have made sence, Set fso = CreateObject("Scripting.FileSystemObject") Set a = fso.CreateTextFile("c:\test.txt", True) a.WriteLine("This is a test.") a.Close straight from the help file. Running Win2K, IIS Cheers, Adam ----- Original Message ----- From: "J.R. Pitts" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 09, 2002 1:46 PM Subject: [wdvltalk] RE: ASP FSO Probably is something simple. <subtle> But how are we to know? </subtle> <nosubtle> *post your code!* </nosubtle> J.R. -----Original Message----- From: Adam Cork [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 7:07 AM To: [EMAIL PROTECTED] Subject: [wdvltalk] ASP FSO Hi list, Recently there was some mention of the FileSystemObject. I'm trying to run a script to create a file, i've just taken the example code from the help file to create a text file and write a single line out to it, just to get it working, but when i run the page all it does is sit there loading the page for ages. I'm assuming there's got to be something simple. Any ideas? Cheers, Adam ____ • The WDVL Discussion List from WDVL.COM • ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: archive@jab.org To unsubscribe send a blank email to [EMAIL PROTECTED]