Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Windows schedulling

Posted on 1999-07-07
Medium Priority
Last Modified: 2013-12-28
Hello Sir,
   I have a problem with windows schedulling.i had developed an application using vb5.0 and DB2 as database.Then i created a setup program to install it on any remote system.
  When i started it through a dos prompt it works fine.
  But when i run the same exe through windows schedullar it gives the error saying path not found run time error 76 and was not able to connect to DB2 database.Please hellp me out solving the problem.

Raghavendra Tantri.
Question by:ragtan
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

cbo120897 earned 200 total points
ID: 1785710
The Schedule-Service runs after start normally with a system account. That means, that all your mapped network-drives which you have as a user on the system not available.

So you can start the service as the user, from which you can start the script on the promt. Go to Services / Startup from the service schedule. There you can put the user in the field "log on as".

Another way ist to map the Drives in your script with the command "net use ...".

bye cbo

Expert Comment

ID: 6873194

This question was awarded, but never cleared due to the JSP-500 errors of that time.  It was "stuck" against userID -1 versus the intended expert whom you awarded.  This corrects the problem and the expert will now receive these points; points verified.

Please click on your Member Profile and select "View Question History" to navigate through any open or locked questions you may have to update and finalize them.  If you are an EE Pro user, you can also choose Power Search to find all your open questions.

This is the Community Support link, if help is needed, along with the link to All Topics which reflects many TAs recently added.
Thank you,
Moderator @ Experts Exchange

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question