I understand what the %path% and %pathext% variables are.
typing: "notepad" or "calc" in the command prompt from any directory will open notepad.exe and calc.exe because their directories are in %path% and ".exe" is in %pathext%.
On the other hand "wordpad.exe" and "chrome.exe are not in %path% so typing "wordpad" or "chrome" from a random directory doesn't work.
however, typing "start wordpad" or "start chrome" does work. How come? How does the start command know where to find the executables?
I'm having a pretty big problem on my laptop- I can't connect to the internet and when I try to connect in the network and sharing centre it simply says 'The dependency service or group failed to start' and I am unable to connect to the internet (Using wi-fi). There's a lot more to it than that though. Simply put, here is a list of the problems I am facing:
1. Can't connect to the Internet 2. Cannot change theme, stuck in basic (Themes are grey and do not respond when I click on them in the control panel) 3. Overall brightness of laptop screen has decreased. 4. When opening my anti-virus software (avast) it says that the software is off and I should click the fix now button to turn it on. However, when I click on it nothing happens.
Please note that this problem occurred when I was messing around with command prompt ( I booted windows 7, pressed F8 and tried to check weather I could launch a USB program through safe mode- command prompt). I figured out I had no idea what the commands were and tried using one of the few commands I knew- ms config. I may have changed settings there and this could be how it happened, I'm not really sure. I'm not very experienced with command prompt but have full knowledge of control panel options, computer, etc.
I recently had a laptop crash (Windows 7 Home Premium x64) during a windows update, had to go through lengthy process which ultimately resulted in need to do system recovery from protected partition on an Acer laptop.
One of the interim steps i had tried was to run chkdsk from a command prompt after having been able to reach "repair your computer". I originally had to create a repair disk to get there, but eventually was able to access it from the computer's hard drive.
Run from the command prompt under start-up repair, the chkdsk was PAINFULLY slow, running for more than 12 hours and without getting through the first step. Granted, it did seem to be trying to fix errors.
I came across something about it being slow based on allocation of system resources in the start-up repair. I wanted to see if anyone could elaborate on that. Now that I've gotten the system recovery working, I'd like to run chkdsk again, and I don't want that to take days. My thought is to run it from an elevated command prompt (run as administrator). I'm also thinking that the /x switch will be needed to run this on the c:drive.
Trying to create a batch file for Windows 7 to run a command (elevated ) in command prompt?User: is an administrator or in administrator group ( but actual administrator account may be disabled )essentially need to be able to double click the *****.bat filehave it open up cmd in elevated ( run as administrator ) , run the command in the dos window and reboot the computer.
In UNIX, for changing the directory path, there is "cd" command. .This works fine in windows 7 too.. But the problem comes when we are trying to change the path using environment variables. .
In UNIX, cd $JAVA_HOME changes the path to the value set for JAVA_HOME,
Similarly is there any command in Windows which does the trick from command prompt for changing path using Environment variables. .
Ok So I got myself into a unique bind here. I was trying to install some custom system files (for a theme) and I did it wrong and now I cant open explorer.exe . I dont want to goto a backup because this is a easy fix. (in my view). So I need to know how to run command prompt with administrative privleges from command prompt.
I am trying to do this command: copy explorer.exe C:Windows
So if there is also another command I can just tack onto that that gives me admin rights to do it. I would be happy.
Does any one know how to get the win.ini missing fixed when opening bootcfg/msconfig not found. Also How to change "forcing changes in msconifg" to "not forcing changes" in msconfig from command prompt, as well as opening msconfig from command prompt w/ dos command(s) / paramteters.
I was just wondering id it was a good idea to have an extensive knowledge on the windows command prompt and how to use it. If so can anyone share some links to where I could see some tutorials?
I'm having an issue on my computer where command prompt will not open. I looked in the system32 folder and cmd.exe is missing, however there is cmd.exe.mui is there. I also tried to run hijackthis to get a log, however the program keeps spitting out a blank log when I click save log.
I am trying to run command prompt in windows 7 professional, but it is not appearing in front of me.
1. I tried to run it from Start --> Accessories --> Command Prompt
2. I tried to run by typing cmd on the start menu and then finding the .exe file
3. I tried to run using Run command by typing cmd in Run dialog box
4. I tried to run it from C:/Windows/system32 folder
5. I also tried to run it using right click and then selecting Run as Administrator
But whatever I tried to do I cannot see the command prompt window.Also, when I run the task manager, I can only see the cmd.exe running in the 'processes tab' and that too one new process for each time I have clicked on the cmd.exe.But it does not show cmd.exe in the 'applications tab' where it should be showing.
My computer (Toshiba Satellite running Windows 7 Home Premium) acquired some sort of terrible virus and shut itself down. When I try to turn it on, it goes into startup repair, and startup repair always fails. I have tried every single system restore point, and that fails too. When I try to start it in any of the safe modes, it simply goes back to startup repair and fails again.
He was able to access C: in command prompt. All my files are in their original locations and haven't been corrupted, but there are also four folders with names like xisdfl83lkd02 (seriously) which definitely weren't there before and presumably contain whatever has crippled my precious laptop. Whenever he tried to delete those folders, the command prompt looked like it had accepted the delete command, but then when he went back into C they were still there. So the bad files are immortal or something.
He said he was able to move things around, so I should get an external hard drive to back up my files, wipe the computer back to factory settings, then put my files back on it from the external hard drive. Well, now I have an external hard drive but don't have him around to do this.
I have absolutely no experience with command prompt, and I've read a bunch of tutorials on how to use it, but they aren't dumbed down enough for me to understand them. I need someone to walk me through it.
I can access the command prompt, but it goes into X:\sources\recovery\Tools> as a starting line. The thing at the top says Administrator: X:\windows\system32\cmd.exe. I didn't even know X was a real drive. I try to get it to C and it just goes back to X. When I type cd E:\ or cd F:\ trying to figure out where my external hard drive is, E says "The device is not ready" and F takes me right back to X:\sources\recovery\Tools>.
How do I get to the directory where I can find my files and move them to the hard drive?
Alright so for the past few days my girlfriend's computer has been having a very quick command-prompt-looking pop-up within 10 minutes of starting up. We weren't able to catch a glimpse of what it said until today, as the pop up is literally less than a second long.We recorded her screen and were able to pause at the time of the pop up, discovering what the pop up is.
This probably is not new to many, but I find it useful.There are times I want an elevated command prompt. I usually type in "cmd", right click on it and run as administrator. If you need an elevated command prompt now and then, simply create a shortcut to "cmd". Right click on the shortcut, left click on properties. Click the shortcut tab and select "advanced". Finally, you can select "run as administrator".Like I said, just something I didn't think about before, but it's handy to have.
so today i tried to open my command prompt because i tend to allocate more ram to minecraft whenever i play. I searched for it, and it was not even there. i searched cmd, went into accessories, and even did SHIFT-RC and it said "application not found". so is there any way i can get this back?
I'm using a SSH server to remotely access my notebook from work. It works well for SFTP and remote command line access using a dedicated, non-admin, user account.Problem is when I want to run something that requires admin permission under that connection. The server runs cmd.exe under the context of a non-admin user I've created for it, so I'm limited in what I can do. Question is, how can I "elevate" that remote command prompt to execute admin-only programs and commands? UAC of course will not help under that conditions.
When trying to open a CMD prompt it does not appear, even when run as Administrator. When checking in Windows Task Manager it appears in the list of Processes but in list of Applications.
I have had my new computer with windows 7 from Dell for almost 2 years. I have never had any problems with it until yesterday. All of a sudden I can't login with my password. I am the only one who uses my computer. I called Dell and gave them my express code service #, etc. and I have already paid them enough! I went searching on how to resolve this and one thing I found I need to get into safe mode with command prompt. Well, I did and it loads files and then goes right to logon screen without allowing me to enter any command prompts.
What is the main difference between Powershell and Command Prompt? I use cmd quite a lot, and I know that certain functions in Powershell, such as diskpart, gets referred to command prompt, then what is the use for powershell? Why should one use it and what is the main benefit of using it?