Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
In windows 7 when you click start...then the shut down button. what program is it calling to do the work?
You can always use where.exe to find things like this:
C:\>where shutdown.exe
C:\Windows\system32\shutdown.exe
There is a command-line process "shutdown.exe" which is generally the go-to for programmatic shutdowns/restarts.
http://technet.microsoft.com/en-us/library/bb491003.aspx
This does the actual shutting down. The various windows or dialogs you see asking you to choose how you want to shut down (shut down, sleep, hibernate, restart, log off) and/or asking you to confirm you want to do what you said you did are just part of the taskbar/start menu program, explorer.exe (which is also the Windows Explorer executable).
C:\Windows\System32\shutdown.exe
Though this is definitely not a Stack Overflow question.
Related
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
This may seem absurd and it surely is, but I have my reasons.
Running "eject -T" will open/close the CD tray. But the subsequent iterations of the command automatically wait until the tray has physically completed the function (completely closed/opened).
My question... is there a way to interrupt this and process the next command? For example, lets open the tray for about 300ms then close it.
I don't mind using other languages to do this, but can anyone send me in the right direction? Tech docs? etc...
Thanks!
I looked at the source for "eject", it calls ioctl. So it looks impossible to me from that level. I'm unfamiliar with ioctl code, but I believe it doesn't do anything also that would allow you to interrupt it. The only alternative I can think of would be writing a new CD driver... but even then there's a chance that it's not possible. You'll have to dig deep in the kernels of Linux to find a way.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have a slight problem with the openldap server installed with Mac OS X 10.6.8 (regular, not server). When I launch slapd in a terminal, it stops itself after 1 or 2 seconds... I just have the time to see its process... It doesn't seem to crash, because when I specify a log file in the configuration, the log is created, but empty.
However, when I launch it with the debug option, for example -d 1,it doesn't fork and stays in the terminal (that's the documented behavior) and it runs normally. I can connect, and so on... Meaning, I presume, that's not a config problem.
Is there something stupid I've forgotten? (btw, I've repaired the authorizations, just in case, but that doesn't change the problem...)
Thanks in advance!
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I am trying to figure out what is the name of application that shows us the desktop?
It's not the Finder, not a system ui server, then what is it?
I want to know the positions of various windows of application on window server. I have CGContext for them with me. Is it possible to get that information from WindowServer?
Can we use Accessibility API for this or any other technique?
The window management system is known as Quartz Compositor. The actual process shows up as "WindowServer" in Activity Monitor.
That's VNC server. However, this is actually not the programming question.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 13 years ago.
Improve this question
I'm on a WinXP Pro SP3 box. Some time ago, I noticed that opening the Add/Remove programs window takes a lot of time. The window itself opens, but it's building the list that takes so long. I fired FileMon from SysInternals, and it turned out that the process that's supposed to list the programs tries to open every file on my HD.
Anybody experienced this? Any cure?
Thanks
ulu
This is not a programming question, but the answer is sorta cool (and a good heads-up for those writing installers):
It's scanning because some programs don't provide enough information when they're installed.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Using remote desktop in full-screen, what is the shortest way to move to another app?
(Without using the mouse, of course. I hate mice).
I currently use one of the following:
ctrl-alt-del, alt-t (get to local machine's taskmgr), alt-tab (move to desired application), or:
ctrl-alt-pause (toggle remote-desktop to a window), alt-tab.
Is there a shorter way?
CTRL-ALT-PAUSE, then you may use ALT-TAB.
Follow Berzerk's advice above to set Alt-Tab to always run on the local computer. Then use Alt-PageUp in the remote computer -- it works like Alt-Tab inside of an RDP session.