Shutdown from browser

Is there any way of simulating an actual Windows 95 shutdown process from inside a Browser itself. If there are any round about methods also ...please let me know
studooAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
TAMCConnect With a Mentor Commented:
Write a batch file, i.e.

<-- shutdown.bat -->
c:\windows\rundll.exe user.exe,exitwindows
<-- shutdown.bat -->

put a link to this batch file in your page and tell the user to click on it then when prompted click open, not save.  try it, give me points and were all going to be happy.
0
 
Christian_WenzCommented:
you mean - shutting down the OS from within the browser? The only way I can think of is that you open an .exe from within the browser that shuts windows down. Please let me know if you want more on this.
0
 
jhurstCommented:
Even the idea of using an .exe file would not work unless there was something seriously wrong with w95.  w95 provides a protected mode of operation in which no task should be able to damage others.  The request is outside that.

SO the bottom line is that this can not be done unless you find a bug in something that allows this.  Relying on a bug is of course never a good idea.

0
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

 
TAMCCommented:
Actually, you would be able to do this, reject his answer, and I'll tell you how.
0
 
jhurstCommented:
I look forward to seeing how to do this.  So please do reject my answer.
0
 
Christian_WenzCommented:
I think I pointed at it: just run an exe that starts the Win95 shutdown process. That's easy and btw the only way to do it.
0
 
TAMCCommented:
I was thinking the same line as Christian_Wenz because I read somewhere on how to make a shortcut on your desktop to shutdown your computer, and I was going to have you put a link on your page to run a windows script file that would invoke the shutdown process.  If you want to see this windows script and how to implement it reject his answer and comment so I can hear about the rejection on my email.
0
 
TAMCCommented:
martike: I'm sorry and I'm not very "point hungry" I said I agreed with Christian, and if you think he deserves the points, so be it, but I had already knew about the batch file for a long time, I use it almost every day, you see I have a shortcut on my desktop that has shortcut keys so I can shutdown the computer by pressing Ctrl+Alt+S.  Now that I have pleaded my case, I couldn't care less who gets the points.  I'm new at this forum, so now I know some of what I shouldn't do.  Thanks martike for setting me straight.
0
All Courses

From novice to tech pro — start learning today.