Hello - working on a side by side network migration, and I am running into a
little problem. The client Intranet has web pages with links that launch a
simple batch file using an old program called BATSH.EXE. It runs scripts
such as:

the link would be an anchor to phone.bsh:

netadd P: \\cdsrvr\PG03R1
w:\batsh\regedit.exe /s w:\Batsh\Phondisc\phon.reg
wait on
CD w:\Pd3\phoned~1
phonedisc.exe
netstop P:
exit

Which adds a drive, modifies the registry, and launches phone directory
software. Fun! Sure, there are probably better ways of doing this, but this
is what works for them. We moved the site from IIS 4.0 to IIS 5.0 with no
problem, and the site still works, but new clients cannot run the above
script - it just shows it on the screen like a web page.

Any suggested tools or services available to run normal batch scripts from
an intranet? We have 250 of them, and would hate to have to redo them in VB
or something. Any help would be appreciated.

Re: Batch files on Intranet using IIS 5.0 by Dan

Dan
Wed Mar 03 10:11:58 CST 2004


"Patrick McGInley" <pmcginley@wi.rr.com> wrote in message
news:ujepKlTAEHA.2212@TK2MSFTNGP10.phx.gbl...
> Hello - working on a side by side network migration, and I am running into
a
> little problem. The client Intranet has web pages with links that launch
a
> simple batch file using an old program called BATSH.EXE. It runs scripts
> such as:
>

> Any suggested tools or services available to run normal batch scripts from
> an intranet? We have 250 of them, and would hate to have to redo them in
VB
> or something. Any help would be appreciated.

Have you set up the IIS5 website to know what to do with .BSH extensions?



Re: Batch files on Intranet using IIS 5.0 by Dan

Dan
Wed Mar 03 10:16:07 CST 2004


"Dan" <ms_groups@crossdata.co.uk> wrote in message
news:eXUGDpTAEHA.3048@tk2msftngp13.phx.gbl...
>
> > Any suggested tools or services available to run normal batch scripts
from
> > an intranet? We have 250 of them, and would hate to have to redo them in
> VB
> > or something. Any help would be appreciated.
>
> Have you set up the IIS5 website to know what to do with .BSH extensions?

Ignore me- I think I've misunderstood what you're asking :)




Re: Batch files on Intranet using IIS 5.0 by Patrick

Patrick
Wed Mar 03 10:27:03 CST 2004


"Dan" <ms_groups@crossdata.co.uk> wrote in message
news:u2jYXrTAEHA.3936@TK2MSFTNGP11.phx.gbl...
>
> "Dan" <ms_groups@crossdata.co.uk> wrote in message
> news:eXUGDpTAEHA.3048@tk2msftngp13.phx.gbl...
> >
> > > Any suggested tools or services available to run normal batch scripts
> from
> > > an intranet? We have 250 of them, and would hate to have to redo them
in
> > VB
> > > or something. Any help would be appreciated.
> >
> > Have you set up the IIS5 website to know what to do with .BSH
extensions?
>
> Ignore me- I think I've misunderstood what you're asking :)
>
That's alright - just looking for any help - thanks for responding quickly
anyways!



Re: Batch files on Intranet using IIS 5.0 by jcochran

jcochran
Wed Mar 03 16:01:06 CST 2004

On Wed, 3 Mar 2004 10:05:02 -0600, "Patrick McGInley"
<pmcginley@wi.rr.com> wrote:

>Hello - working on a side by side network migration, and I am running into a
>little problem. The client Intranet has web pages with links that launch a
>simple batch file using an old program called BATSH.EXE. It runs scripts
>such as:
>
>the link would be an anchor to phone.bsh:
>
>netadd P: \\cdsrvr\PG03R1
>w:\batsh\regedit.exe /s w:\Batsh\Phondisc\phon.reg
>wait on
>CD w:\Pd3\phoned~1
>phonedisc.exe
>netstop P:
>exit
>
>Which adds a drive, modifies the registry, and launches phone directory
>software. Fun! Sure, there are probably better ways of doing this, but this
>is what works for them. We moved the site from IIS 4.0 to IIS 5.0 with no
>problem, and the site still works, but new clients cannot run the above
>script - it just shows it on the screen like a web page.
>
>Any suggested tools or services available to run normal batch scripts from
>an intranet? We have 250 of them, and would hate to have to redo them in VB
>or something. Any help would be appreciated.

Well, these aren't "normal batch scripts" since they use the Batch
Shell utility, but they should mostly run as straight batch files with
a few edits. Other than that, have you tried using BATSH.EXE on the
new server?

Jeff