View Single Post
Old Aug 31st, 2005, 6:57 AM   #7
mackenga
Professional Programmer
 
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 317
Rep Power: 4 mackenga is on a distinguished road
Just a quick mea culpa; I've learned a little more about Windows scripting lately, and you can actually do this kind of thing with a script in VBScript or JScript run through the Windows Scripting Host (WSH). You need to create a "Scripting.FileSystemObject";

var fs = new ActiveXObject("Scripting.FileSystemObject");

Then you can use fs to read and write the filesystem in various ways. There's more information available online; quite a bit at Microsoft's site in fact. Google for "JScript Administration" or something similar and you'll get useful results.
mackenga is offline   Reply With Quote