I have a need to capture the topics of a search from one of my blog pages and write it to text file for followup. I have been able to capture the input string, however, am n
Techically, when using javascript in a (.hta) file, you can use the ActiveXObject Scripting.FileSystemObject to access the filesystem, with it there are all the commands you need to do anything to the filesystem that you have permission to do.
var fso=new ActiveXObject("Scripting.FileSystemObject");
if(fso.FolderExists("C:\\Users\\")){
alert("It exists, hello friend!");
}eles{
alert("Doesn't exist, who are you?");
}