1

SO I want to have a web link that will- open up cmd.exe, take input from a user (store it in a variable for use later in the script), and then be able to execute a script, all these without a separate batch file being involved.

Basically : Click link ---> Cmd opens up and asks for input ----> takes input and executes a script.

Example: Click link ---> Cmd opens up and asks for Username ----> Looks up username from a directory.

I have no idea how to do this. Any ideas??

OS involved: Windows 7

Bruce Strafford
  • 173
  • 4
  • 15
  • The inverse is required often. http://superuser.com/questions/36728/can-i-launch-urls-from-command-line-in-windows But what you want seems undesirable – Christiaan Westerbeek Jun 11 '15 at 20:18
  • I have voted this up because it is an interesting question, but I agree with @ChristiaanWesterbeek that it is undesirable. – PJTraill Jun 11 '15 at 20:22
  • Looks similar to this question: http://stackoverflow.com/questions/2815982/how-do-i-make-a-hyperlink-to-a-local-executable – Christiaan Westerbeek Jun 11 '15 at 20:26
  • @ChristiaanWesterbeek I have no bad intentions. It's for internal company use only, to check for a person without manually opening up cmd prompt each time. – Bruce Strafford Jun 11 '15 at 20:30

0 Answers0