I'm working with the prompt command, and I want to know of it is possibile to restart the computer with command prompt
99121
I've recently had problems with my work computer not recognizing either of its attached screens.  I've also had problems with my home computer "locking" the mouse to one app, and no longer acknowledging clicks on, say, the start menu.  In both cases the computer is still running, and I can close apps and so forth with the keyboard.  Restarting usually addresses the problem.  What's the simplest way to restart a Windows 7 computer by the keyboard alone?  Something consistent across all versions would be super.  In Win XP, I believe it was Ctrl-Alt-Delete; pause; Alt-R for Restart; Enter to select.  But on 7 Ctrl-Alt-Delete no longer brings up the same menu.  I'd use Ctrl-Alt-Esc for the Task Manager, but it no longer has a Restart menu (at least on Win 7 Home).
67435
Is there a way to keep the cmd command history between sessions?
63079
When I'm in a particular directory in a Windows command prompt, I sometimes want to open Windows Explorer so it already shows that same directory.  How do I do that?  (I'm looking for the equivalent to open . in a Mac OS X terminal.)
73345
I was wondering if there was any was I could right click inside any instance of a "Finder" window such that I have an option that says "Open Terminal Here". It would be really helpful.
54291
A basic question: Where do I find the command line?  There is a lot of information about commands and using the command line, but I'm an absolutely new Ubuntu user: I can't find find the command line.
89652
Is there a way to lock a Windows XP machine via the command line?  The shutdown command doesn't have an option for it.
121394
Currently (In Windows 10) - if I want to open a CMD prompt, I'll hit the Windows key, type CMD and hit Enter. If I want it open as an administrator, I have to right click the item and click Run As administrator. Is there a way I can do this without using the mouse?
10701
I am looking for a way to execute some console commands automatically when a command-prompt is opened in Windows, specifically to set some command aliases.  For example, when a command-prompt is opened, I want a command such as the following to be automatically run so that I can use ls instead of dir.  doskey ls=dir   How can this be done?
116913
as the title:  How can I find which desktop environment I am using?  I want to accomplish this using command line.
96729
I just jumped into a command line virtual console using Ctrl-Alt-F1, and i would now like to return to the gui. startx gives me something along the lines of 'this server is already active for display 0' if ...etc. it gives me a command to remove /tmp/.X0lock if that isn't the case...I could just restart the machine, but i'm worried i might mess something up.
91441
I am typing a command, I remember I have to check something, if I press Ctrl+U the command disappears and I can type something else, but then the command I was typing is not in the history.  Is there a way to recover that command, or a different shortcut that I can press to save somewhere the command?
82244
I would like to use a gesture to shutdown/restart my computer and I need to know the command that launches the shutdown dialog:
75414
When browsing in Windows Explorer, sometimes I want to start a command prompt "here", e.g. with the current browsed folder as the current directory.  For example, when I am browsing "D:\Foo\Bar\Bar1", I want to open the command prompt with current dir pointing to this directory. Normally what I do is   Copy the current folder path from Windows explorer's address bar Open cmd via Start Menu > Run  Type D: (because I have to change drive, the default is C:)  Type "cd " and then paste the folder path that I copied earlier   I do it quite often in my daily work, and I think by adding a context menu I will improve my efficiency (and also having to do the above repeatedly can be kind of annoying). I imagine I can just Right-Click > Start cmd here and then I will have a command prompt already in D:\Foo\Bar\Bar1  Is this possible?
79383
I want to make a list of commands to install everything so it's easier the next time I do it, however, I wanted one of the commands to do CTRL+ALT+F1 for me.
21410
My new Windows XP work computer's command prompt automatically brings up "H:\&gt;" when I open it.  Is there a way for me to change that safely?  Specifically, to "C:\foo\bar\Something Else"?  I found the method of changing the Autorun value through Google, but it came with a warning that it "might affect the functionality of batch scripts."  Bonus note: I was originally getting at this issue in , but I didn't ask very directly.  The answer I ended up accepting was really good, so I wanted to leave it there.
112013
In the CMD interpreter on Windows, the ↑ arrow key replaces the current input (not sure what the accurate term is) with commands in the command history; commands that have previously been executed.   An odd idiosyncrasy of CMD is that on a fresh instance, when there are no previous commands in the history, the accidental pressing of the Up arrow key replaces the current input with the last "command" in the history; nothing, essentially clearing the input:      What's more, pressing the ↓ key doesn't return the previous command as you would expect; it's permanently lost. Essentially then, in the command prompt, the Up arrow doubles as a "clear input" key.  Can this be fixed at all?
45801
I know there is ctrl+c, but sometimes that doesn't work. In Ubuntu desktop I can just close the terminal window and open a new one when this happens, but how would this be solved using the CLI in Ubuntu server (without restarting the box)?