ok here is my problem
I cant get my code to see inside this function
example
docwrite.WriteLine( "Drive: " + drive.DriveLetter + " contains " +
objFolder.SubFolders.Count + " subfolders" + "\n" );
if that is not in the function it will complain and were I want it is not
in the function and when I make the Function bigger to have it in it
it wont run everything in side it
I hope you understand what im getting to
(if you need my whole code I will send it)
function driveInfo( drive )
{
this.total = Math.round( drive.TotalSize / 1048576 );
this.free = Math.round( drive.FreeSpace / 1048576 );
this.used = ( this.total - this.free );
this.percentUsed = Math.round( ( this.used / this.total ) * 100 );
this.volumeName = drive.VolumeName;
this.letter = drive.DriveLetter;
// Set the info
var objFSO = WScript.CreateObject("Scripting.FileSystemObject");
var objDrive = objFSO.GetDrive(drive.DriveLetter);
//var iFree = drive.objDrive.FreeSpace;
var objFolder = objFSO.GetFolder(drive.DriveLetter + ":\\");
var objEnum = new Enumerator(objFolder.SubFolders);
var iCount = 0;
}