Executing .bat file

M

modhak

Hi All

I have a batch file on different machines. (All the machines are in the
network).

I know the machine name and a standard directory where the batch file
is stored. (All machines are windows machines).

In my jsp page there is a list of these machines. I select machine name
and click on execute button.

How can I make the batch file exexute on the selected machine.

Thanks
 
M

Manish Pandit

If it is windows, why dont you map the machines' shared drives to the
server and use the drive letters?

-cheers,
Manish
 
R

Rogan Dawes

Manish said:
If it is windows, why dont you map the machines' shared drives to the
server and use the drive letters?

-cheers,
Manish

Because it will execute the batch file read from the target computer, on
the web server itself?

To the OP: You might want to investigate something like psexec, although
we are straying quite far off topic for this group.

Rogan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,539
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top