Hi Philip
Thank you for that..will try it out.
Cheers
Amit.
> Hi,
>
> I do not know a way of running system files using javascript, unless you
> link to them in an A tag:
> <a href="c:\program.bat">Run program</a>
>
> The other way is to use VBScript, which is unfortunately IE only.
> To do this use the following:
>
> <script language="vbscript">
> Set WShell = CreateObject("WScript.Shell") ' create a shell object
> WShell.Run "c:\program.bat" ' execute a command
> </script>
>
> Of course this is entirely dependent on the user's security settings.
> If the settings allow the object to be made, you can do a lot with it.
> If you want to find out more, try the VBScript Programmers Reference
> (ISBN: 1861002718). This has loads on all parts of VBScript.
>
> Philip
>
> > Hi
> >
> > Can anyone help me on how to execute operating system commands(e.g.
run
> a
> > batch file) on the client system from a button on a web page?
> >
> > Thanks in advance
> >
> > Amit.