General discussion

Locked

Calling a batch file from a service

By zahir ·
I have an app which can run as a service and needs to call a batch file (from a third party) in order to import data. When not run as a service, the whole thing works fine. But as a service, the cmd file seems to do nothing. I have tried local system account for my app, as well as the admin account, but no change. Any clues?

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by BFilmFan In reply to Calling a batch file from ...

How did you convert the batch file to an executable?

Collapse -

by zahir In reply to

The batch itself is a normal .cmd file. The service app is written by myself, and from within that I am calling the batch file by executing a new process for cmd.exe and passing it the batch filename as a parameter

Collapse -

batch file create

by khadka_it In reply to

1. what do you mean by batch file.
2.type of batch file.
3.sample provide me batch file.

Collapse -

by zahir In reply to Calling a batch file from ...

The batch itself is a normal .cmd file. The service app is written by myself, and from within that I am calling the batch file by executing a new process for cmd.exe and passing it the batch filename as a parameter

Collapse -

by kwu In reply to Calling a batch file from ...

Hi:

I have the same problem. Did you ever get it resolved? If so can you share me with your solution please?

Thanks.

KW

Back to Web Development Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums