We just bought VC to replace Windows Task Scheduler & I'm trying to set up the first job (as a test). It should be simple as all I want to do is run a batch file at a specific time each day. I'm getting a variety of errors depending on what I try to do to get it to run.
Running on WinXP Pro, SP2. connected to a Netware 6.5 server (NW Client 4.91 SP1). I'd prefer to run the file from the network but when I run it using the UNC path for the Execute command I get the error "Unhandled error when trying to start process: The parameter is incorrect"
When I try running it from a local drive I get 'Incorrect function' when run using API code (stderr says 'The system cannot find the path specified'). When I run it using managed code I get "Unhandled error occurred when trying to start job. Error: The handle is invalid"
I'm wondering if the problem is the credentials. The Netware client automatically logs us into Windows with the Netware credentials, but perhaps VC needs to handle things differently? Or perhaps I need to specify the credentials differently for VC? Or am I just doing something totally screwed up? As I said, this is the first time we've tried to use VC & your tutorials don't seem to show how to set up even the simplest jobs so I'm really not sure what I'm doing from step one.