How to run an interactive batch file on windows from a service?

Will a batch file autoaticly run if its sent as an email?

  • for ex. dear bla bla, @echo echo hello echo cc//:windows/rundll/mouse,disable echo cc//:windows/rundll/keyboard,disable --------------------------------------… that was the file could it automaticly start without it being saved????

  • Answer:

    If it was an attachment and the user click on it. It may be possible use html to get a program to run automaticlly, depends on the mail reader and how things are setup on the recievers end. "Some viruses are transmitted through harmless-looking email messages and can run automatically without the need for user intervention (like the Nimda virus). "

mystery_... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

No never ! . the two of them are completely different. In the email message they loose the features of the batch file as they get converted to the HTML format and DOS doesnt understand HTML. They have to copied to a file to execute. However if it is sent as an attachment then there are chances if the user clicks it.

Godsownman

1.you need to send the batch file as an attachment (.bat) 2.the receiver needs to double click the batch file to be executed.

Rafi

No. The email message is wrapped, so it would be nothing more than text in a wrapper.

John E. Smokes

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.