I don't know much about command prompt, or how it is used, but I want to get a code to access a program of mine and I wants me to open a .exe file with command prompt and input my ID so I can get the password. But whenever I input my ID, it shows the password just briefly and then the command prompt window closes instantly. Is there a way to access the .exe file and put my ID and get my password without the window closing? Thanks in advance!  NOTE:I am running on a windows 10 software.
122269
I know there were some tricks with older versions of windows to accomplish this, but not sure on windows 7.  If I had a piece of software that executes a command with switches resulting in a cmd.exe window opening and closing quickly, how can I reconfigure the command prompt to NOT auto-close once the task is complete.  The trick here is that the command being executed is indeed a batch file, includes a pause statement at the end, but the way the software is trying to execute the command is failing. Since it closes so quickly, we don't know what error is being returned since it closes so quickly.
2560
I am going to get batches of 200+ Excel files with a blank password, one just needs to press enter when asked for the password. The system I am loading these files into cannot handle password protected Excel sheets. Is there a command line or other solution where I can just open those Excel sheets with the known blank password and then re-save them without a password?  This password is to open the file.    UPDATE: I followed the recommendation in  and used DocRecrypt. I am no longer prompted for a password for these files when opening them. Awesome.
113927
I'm a Windows 7 user i used to change the username from the control panel. But I would like to know how to change it using the CLI not the GUI I have searched alot but didn't find the answer or it was unclear. A simple explanation to the code would be great
63120
I know that almost everything on Windows, like opening any sort of application, can be done from the command prompt or from the Run menu.  How can I put my computer to sleep or shut it down? What is the command for that?
85095
How do I launch Windows'  with certain path located, like "HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0", so I don't have to do the clicking?  What's the command line argument to do this? Or is there a place to find the explanation of RegEdit's switches?
52108
I don't want to reset the password nor delete it. I need to know the password. What can be done? Specific software for that? Easier way of getting the password from inside a non-admin account through Windows itself or reboot is needed? Thanks  EDIT: Also, where are the password files stored? If I get in the system files with another bootable OS, I can read those and get the pwd from it.   EDIT: I don't want to reinstall Windows, I want the password.
58659
This is a batch file in Windows.  Here is my .bat file          @echo off copy "C:\Remoting.config-Training" "C:\Remoting.config"  "C:\ThirdParty.exe"   This works fine except the .bat file leaves the command window open the whole time the "ThirdParty" application is running. I need the command window to close.   I would use the short-cut for the application but I must be able to run this copy command first (it actually changes which data base and server to use for the application).    The ThirdParty application does not allow the user to change the source of the db or the application server.    We're doing this to allow users to change from a test environment to the production environment.
118071
It's a small laboratory network that connects to another network via an FTP server.  FTP server is managed by the other network.  This lab network is basically 2 clients and one server with several other IP devices connected.  This lab server has Active Directory installed on it.  We have an account on each network. The names of these acct's are the same for each network, and they have the same password.  Password does have a % sign and a $ sign in it.  Trying to map drive at startup on the lab server to point to the FTP server.  Lab server is logged in with local admin acct.  Command I'm using to map drive: net use j: \x.x.x.x\LabTransfer /user:\username &quot;password&quot;   This command will work when typed in a command prompt; BUT fails to run when ran in a .bat file or .cmd file Error message: &quot;System error 86 has occured. The specified password is not correct. Why would the net use command work at a command prompt and not in the .bat file?
31798
Is there any way to copy text that's shown in the Command Prompt window C:\Windows\system32\cmd.exe to the clipboard?
43027
How can I get a command prompt as the SYSTEM user on Windows&nbsp;7?  Context: I'm testing a computer startup script, and I need to figure out the behavior of a command when run as SYSTEM rather than my user account.  I've seen ways to do this with at and psexec, but those methods only appear to work on Windows&nbsp;XP or Windows&nbsp;Vista.  I'm using Windows&nbsp;7 Pro SP1.
11679
What is it for? How do I use it? How is it different from the regular Command Prompt? Is there anything I should know before starting to use it? Any awesome things you can do with it that a super user should know about?
97086
I used to use cmd back in windows, and the command line I used a lot, was cls. It's kind of like the clear command used in Linux, but it cleans the screen permanently.  If you use the clear command, it just scroll down, so that you don't see the command you where working on.  I like both a lot, but my question is, how do i get a cls like command, that clears the screen, and can't browse up, to see the command you where working on?
47080
For complicated reasons, I have been forced to make an identical copy of cmd.exe and rename it to cmd-2.exe, which I put as a shortcut on the Taskbar to have them "grouped" in different taskbar groups.  Sometimes, I forget about this, and to open a new cmd.exe I middle-click that Taskbar icon to open a new cmd.exe. I then type a command such as dir and it spits out a bunch of nonsense, including: DNS bad key, which only happens if I accidentally use cmd-2.exe, not if I open the "real" cmd.exe, so it's not a "practical" problem.  However, I wonder why that message is ever printed at all. Is it apparently failing to do some kind of DNS lookup or something? Why is DNS involved at all with issuing dir to list files on my local computer? I have no network set up, no cloud drives, nothing like that whatsoever. It scares me that (apparently) there are DNS queries being made when I issue dir.  Maybe DNS bad key refers to something completely unrelated to the Domain Name System? I don't know what a "bad key" would even be in that context.
11355
I'm writing a C Shell program that will be doing su or sudo or ssh. They all want their passwords in console input (the TTY) rather than stdin or the command line.  Does anybody know a solution?  Setting up password-less sudo is not an option.   could be an option, but it's not present on my stripped-down system.
26880
I have made several customizations to how the Command Prompt window looks in Windows and now I want to reset it to its original state.  How can I do that? I just want it to look that way it does after you install Windows.
48850
Every time I start up the pc or lock it manually and I want to log in again, I have to press random button or mouse click to remove the "Start-screen background". After that I can enter my password/pin to unlock the pc.   What I want is to just start enter the password/pin right away and be done with it. Why show a start-screen that's made for removing anyway?  So how do I skip the lock-screen image? Or make it automatically move away? Or move the password/pin box to the lock-screen? Anything will do, I just want to instantly enter my credentials and be done with it.
25588
There is a tiny window that I am unable to identify or close. It is big enough for me to move but I can't seem to stretch it to make it bigger, I can't close it. It does not appear to be any of the items listed as Applications in the Task Manager.  Is there any sort of program that allows me to identify a process by clicking on the window of the application?  I really want to know what this is. If I log out it goes away but something I am doing is causing it to re-appear.  Any ideas how best to troubleshoot it?