View Single Post
  #4  
Old 09-24-2003, 03:23 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,752
The step is failing at the point that the Make VB6 action tries to retrieve the TEMP environment variable. For some reason, on Windows NT, a scheduled task doesn't get the user environment variables of the user the task is run under (it appears to use the system variables if no user is logged on and the interactive user's variables if someone is logged on). Also, by default, Windows NT doesn't define a TEMP environment variable at the system level (only for users), and so the step fails retrieving the variable because it doesn't exist.

The problem can be resolved by adding a system level TEMP environment variable (Control Panel | System | Environment) and setting it to a valid path. Make sure to reboot as well, since the change doesn't seem to take effect until after you do.
Reply With Quote