Re: VB6 Service can't run .bat file
- From: "Steve Ricketts" <velocedge@xxxxxxxxxxx>
- Date: Mon, 21 Dec 2009 10:47:03 -0500
BTW, I can make this work by calling the executables directly in each line of the .bat file. But I would really like to know how to run a .bat file from a service in case I ever need to do it again.
Thanks for all your help on this... User rights and privileges always kick my butt! ;-)
sr
"Steve Ricketts" <velocedge@xxxxxxxxxxx> wrote in message news:uBAkxXcgKHA.1540@xxxxxxxxxxxxxxxxxxxxxxx
I need to make a modification to a service written in VB6 that modifies and then executes a .bat file. This runs fine when it's run from the command line, but when I start it as a service, it creates the .bat file but doesn't run it. I'm sure there's some sort of a permissions issue with the account the service is running under but I've tried the local system account as well as the administrator's account and there is no difference.
Can someone tell me what I need to do in order to run a .bat file from a service?
Thanks,
Steve
.
- Follow-Ups:
- Re: VB6 Service can't run .bat file
- From: Karl E . Peterson
- Re: VB6 Service can't run .bat file
- References:
- VB6 Service can't run .bat file
- From: Steve Ricketts
- VB6 Service can't run .bat file
- Prev by Date: Re: VB6 Service can't run .bat file
- Next by Date: Re: VB6 Service can't run .bat file
- Previous by thread: Re: VB6 Service can't run .bat file
- Next by thread: Re: VB6 Service can't run .bat file
- Index(es):
Relevant Pages
|