OK for whatever reason when I set up the cron.bat to run the cron.php with Scheduled Tasks on Windows 2008 R2 all of the defined paths that go to the inc folder and the inc\classes folder in the header.inc.php don't work.
So I've been replacing those constants with the full path in each file for the require_once function, the cron.php just chokes on a fatal error when ever it hits these require_once statements that has that path information. Replacing them with the full path on the file system works but then you get into the files that need the classes from inc\classes and even though the require_once file that has the classes defined in them don't give an error the classes are not accessible within the files that require those files. So the call of new(classname) cretes an error since it doesn't include teh class defning function from within the classes folder.
Does anyone have any idea what's going on? The site works but this makes cron not work, why does it behave this way only with cron run through Scheduled tasks? It runs as the Administrator with full permissions in the directory. Is there any way around this?