.bat command in browser

Is is possible to create a link similar to the < batch command?

It is possible in a batch file that calls a program that requires a ‘y’ prompt to dispense with the ‘y’ prompt with the command < .

Is it possible to do this to automatically log onto email for instance?

How about with a program that directly interfaces with the net port?