Hey guys!<BR><BR>I need som help with creating a text file on the server, with a different name for every user who submit my orders!<BR><BR>I want to use the command Now(), to make every new file created, named with the exact date, time and with the file end .txt!<BR>I request a form from another asp doc!<BR>The Request.Form("Fil") contains for example this: ("1999-09-17 18:31:11.txt")<BR><BR>Now I want to use the variable fil and put it after the Server.MapPath dir best/!<BR>But I can´t get it to work!<BR><BR>I tried this:<BR><BR>Set ts = fso.CreateTextFile(Server.MapPath("best/&#039" & fil & "&#039"), True)<BR><BR>But it didn´t work!<BR><BR><BR>Here is how the original code looks like, and it works fine!<BR><BR><BR>&#060;html&#062;<BR>&#060;head&#0 62;<BR>&#060;/head&#062;<BR><BR>&#060;%<BR>Dim kundID, namn, epost, adress, postadress, postnummer, telefon, fil<BR>kundID = Request.Form("KundID")<BR>namn = Request.Form("Namn")<BR>epost = Request.Form("Epost")<BR>adress = Request.Form("Adress")<BR>postadress = Request.Form("Postadress")<BR>postnummer = Request.Form("Postnummer")<BR>telefon = Request.Form("Telefon")<BR>fil = Request.Form("Fil")<BR><BR>Dim fso, ts<BR>Set fso = Server.CreateObject("Scripting.FileSystemObject")< BR>Set ts = fso.CreateTextFile(Server.MapPath("best/test.txt"), True)<BR>ts.WriteLine("Order")<BR>ts.WriteLine(kun dID)<BR>ts.WriteLine(namn)<BR>ts.WriteLine(epost)< BR>ts.WriteLine(adress)<BR>ts.WriteLine(postadress )<BR>ts.WriteLine(postnummer)<BR>ts.WriteLine(tele fon)<BR>ts.Close<BR><BR>Set fso = Nothing<BR>Set ts = Nothing<BR>%&#062;<BR><BR>&#060;body&#062;<BR>Than ks!<BR>&#060;/body&#062;<BR>&#060;/html&#062;<BR><BR><BR><BR>I´m really greatful if you can help me!<BR><BR>Thanks<BR>Martin, Sweden<BR>