
-----------------------------------
ReN3g@de
Wed Feb 04, 2004 5:32 pm

shutting down the computer
-----------------------------------
is there anyway to shut down the users computer in Turing??
i have this so far but its not working...


var shutDown: boolean
shutDown:=Sys.Exec("c:/windows/system32/shutdown.exe")


u can see a program run for a split second then shut off but the computer still stays on! any body know wuts wrong or know another way?

-----------------------------------
Delos
Wed Feb 04, 2004 5:43 pm


-----------------------------------
I havn't tried this...but try this:


if not Sys.Exec("c:/windows/system32/shutdown.exe") then
put "Your computer is still on..."
end if


I would, however, recommend saving your work before trying it.

But then again, I'm not sure if "shutdown.exe" is the shutdown operation...it could be...I don't know XP that well...

-----------------------------------
shorthair
Wed Feb 04, 2004 5:50 pm


-----------------------------------
are you sure its n exe , ive never seen it , ( just searche dmy hdd ) and im sure that its not called shutdown , cuase MS likes to make crazy names for thisngs , like **SD32** , your concept is fine , you jsut need to find hte right path , turing can run hte shutdown exe  ,but to make a program to do it is some what weird as your actually adding an extra step to hte shutdown process , unless of ourse you have evil plans in mind  :twisted:  :twisted:

-----------------------------------
Tony
Wed Feb 04, 2004 6:01 pm


-----------------------------------
it used to be shutdown.exe in win98 and you could run that to turn off your computer :lol: I don't know about XP though, I suspect it's different :?

I suppose you can just  Sys.Exec a .bat file that in turn executes the proper system commands for shutdown

-----------------------------------
Delos
Wed Feb 04, 2004 6:26 pm


-----------------------------------
I just check in my Sys32 folder, and yes it does exist.

I'm running XP Pro.

-----------------------------------
santabruzer
Wed Feb 04, 2004 8:52 pm


-----------------------------------
yep.. it's there on mine too.. XP pro..

-----------------------------------
.hack
Fri Feb 06, 2004 10:56 pm


-----------------------------------
I tried this but MS DOS windows flickered up but I never shut down, this makes me cry :(

Does anyone know the command to open the CD rom tray?

-----------------------------------
the_short1
Thu Feb 12, 2004 4:54 pm


-----------------------------------
"C:\WINDOWS\RUNDLL.EXE user.exe,exitwindows" no quatations
THERE U go....

i have this as a shortcut on my desktop so i double click and BAM shutdown without the menu

PS i have win98

-----------------------------------
Cervantes
Thu Feb 12, 2004 5:05 pm


-----------------------------------
um, why not just use the shutdown menu... :?

anywanys .hack, some keyboards have an eject button..  search for that in the keyboard section of the help file (I'm not sure if its there or not)

-----------------------------------
the_short1
Fri Feb 13, 2004 10:30 pm


-----------------------------------
the point is.... to shut down the users computer without them knowing it...
also my way does NOT bring up the Shutdown menu... simply SHUTS DOWN>>try it...in RUn, (start menu)

-----------------------------------
ReN3g@de
Sat Feb 14, 2004 12:28 pm


-----------------------------------
does anyone know how to shutdown a WinXp computer?
