var fs = new ActiveXObject("Scripting.FileSystemObject"); fs.CreateTextFile( FolderView.Pass + "\\untitled.txt" );