Klasik dosyaya yazma kodu

*****************
<html>
<head>
<script language="javascript">

function WriteToFile()
{
var fso = new ActiveXObject("Scripting.FileSystemObject");

var s = fso.CreateTextFile("C://test.txt", true);
s.WriteLine('Hello');s.Close();}
</script>
</head>
<body onLoad="WriteToFile()">
</body>
</html>
*****************

Bu html dosyasını hostum attığıma fso.CreateTextFile("C://test.txt", true); bu kısmı naasıl değiştirmeliyim ?
fso.CreateTextFile("test.txt", true); böyle yapınca çalışmıyor. yardımlarınızı bekliyorum...