Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Re: Help with VBS File & Task Scheduler


Message #1 by "Ron Marek" <rmarek@c...> on Mon, 6 Jan 2003 22:06:19
Elmer,
   I had same problem.  Do you have something like ScriptSentry on your 
machine. If you check your registry VBSFILE may be interceptied by 
ScriptSentry or something like it.  To get around this precede the script 
run with  C:\WINNT\system32\wscript.exe "yourscriptpath and scriptname"  
This will prevent ScriptSentry from intercepting the script.  

I hope this helps.

Ron M 

> Can someone please help me? I have a vbs file that downloads a file 
> trought ftp from a ftp site. Eerything works good with the file, when I 
> click on it and run it, it does everything it should do. However, I need 
> this file to run everyday at midnight and I cannot get my Task Scheduler 
> in W2Server to work properly. I have tried almost everything, from 
> scheduling the task trough the Start > Programs > Accessories > System 
> Tools > Scheduled Tasks to scheduling tasks trough a command prompt 
using 
> at. They both do pretty much the same thing.
> 
> When I run the scheduled file, it gives me a Status of "Could not 
start". 
> Any idea what I can do? I also tried scheduling other exe apps to open 
and 
> nothing seems to work. The only thing that worked for me is to open 
> notepad.exe. I also restarted all of the services associated with the 
Task 
> Scheduler. I would really appreciate any help. Thanks!
> 
> - Elmer M.

  Return to Index