Over 1 million tech questions and answers.

Command prompt won't execute commands from cmd or command

Q: Command prompt won't execute commands from cmd or command

Hey guys,
Earlier my internet was being slow so I went to do a ping test and CMD proceeded to tell me that it didn't reconize the command. I have done countless pings before and this was weird. If i run CMD from the run bar by typing in its Dir then i can run ping and all the other commands or if i change the dir to sytem32 and run the command it works as well. I'm thinking that the paths for the cmd files have somehow gotten messed with and I'm not really sure how to change those so any advice on how to correct those paths would be greatly appreciated. Thanks

Preferred Solution: Command prompt won't execute commands from cmd or command

I recommend downloading and running Reimage. It's a computer repair tool that has been proven to identify and fix many Windows problems with a high level of success.

I've used it in the past to identify and fix everything from blue screens (BSOD's), ActiveX errors, corrupt files and processes, dll/exe/sys errors, recover lost memory, Windows update problems, defragging, malware removal etc.

You can download it direct from this link http://downloadreimage.com/download.php. (This link will automatically start a download of Reimage that you can save to your computer.)

A: Command prompt won't execute commands from cmd or command

If you go Start - type cmd then right click on cmd to select Run as administrator you can run a system file check with the cmd sfc /scannow

With Win 7 you don't need to use the Run box.

Read other 6 answers

I am learning a programming language, and I frequently use command prompt to compile source codes, but every time I start command prompt I need to manually cd to the correct directory, and then I like to run cls to keep the window clean. I have looked around, but I'm not sure how to phrase a google search to get the right results >.<, so could anyone tell me how I would start a command prompt, then run the "cd [location]" and "cls" commands automatically?


A:Start Command Prompt and automatically execute a few commands

I'm not sure that is possible, but Option 2 here might help with the cd/ bit:

Command Prompt

Read other 2 answers

I am trying to create a new sql server 2005 database using command prompt commands. This is new to me and I would like to ask-how do I end a line entry and start a new line in command prompt? Thanks for your assistance.

Eddie LeFiles

A:Using Command Prompt Commands In Xp Pro

Hmmm... you may have better luck with asking this in the Business Applications forum ( http://www.bleepingcomputer.com/forums/f/16/business-applications/ ). That's where all the database jockeys hang out.

Read other 1 answers

hi i was wondering if any one new any commands for command prompt for win xp if you know any websites that have any thankyou i tried some old one but they did not work..
thank you

A:xp commands for command prompt

Read other 6 answers

I am trying to configure RightMark Clock Utility to execute the "start" command when the power source for my computer changes. For example, I would want to run this:

start /MIN "" "C:Path\to\Program"
I am choosing the start command because it gives me the option to use the /min parameter.

The problem is that when I test it out, it doesn't seem to work. The programs don't start. I know that I can get it to run a command like

net start Service
But start won't work. Any idea why and how I might fix it? I don't want to have to create a bunch of batch files for each command (if I put them in one, it will take much longer because it will wait for each one to complete before the next one starts and I have a lot of programs to start/close when the power source switches)

A:Running command prompt commands elsewhere...

Try cmd /C start /MIN ......

Read other 3 answers


I am on my Powerbook G4 (Mac OS X), and on it I have a special program running called VPC (Virtual PC). The program is so I can run Windows XP on my Mac OS X, basically an emulator. Here is my problem: when I am home or at school, I can't seem to run/execute remote commands from command prompt; commands such as netsend or shutdown or any other commands lke taskkill. How do I make it so I can execute commands on computers on other computers on the network I am connected to. Also aswell, when I type the commands on my mac I get something like, the RPC server is unavailable. So how do I get it that the commands will execute? Thanks.

Read other answers

Hi, I'm super sad because I use CMD a lot but its not recognizing regular commands. I have no idea what to do because im more familiar with Terminal on a Macintosh. Thanks.

A:Command Prompt Not recognizing commands.

Which commands aren't recognized? Give some examples please

Read other 9 answers

I am posting these commands again. It is "buried" in another thread. I'm just looking for an explanation of this and thought viewers may not see it. It is one MVP's "check" before going to another step after I explained my current progress.

Before you do a reset (which will no doubt fix things), try deleting this file and rebooting.


You need to remove the desktop (explorer.exe) in order to delete the file. You can do it this way at an Administrator Command Prompt (WinidowsKey + X). Be careful to get the spaces correct.

taskkill /F /IM explorer.exe
cd /d %userprofile%\AppData\Local
attrib -h IconCache.db
del IconCache.db
start explorer
I think I get the general thought, but can anyone explain its purpose precisely? Safe to do?


A:Can anyone interpret this for me?(Command Prompt commands)

Hello CP,

That will basically rebuild the icon cache.
Specifically, it does this in this order:

Kills explorer process.Opens the %userprofile%\AppData\Local directory in the command prompt for step 3 and 4 below.Sets the attribute for the IconCache.db file to not be a hidden file. (this is not recommended)Delete the IconCache.db fileStarts explorer process

As in the tutorial above, you will need to restart the PC to rebuild the icon cache. Rebuilding the icon cache is perfectly safe to do, but I would recommend using the method in the tutorial above instead.
Hope this helps,

Read other 8 answers

For the past several month my command prompt hasn't been able to do anything that wasn't basic dos-like commands. It tells me that 'ping' is an unreconizable command, along with ipconfig, and all the windows specific commands are unreconizable. I haven't tried to fix it until now because it doesn't appear to effect anything else, but I would really like my command prompt back, is there a way to restore my command prompt?

A:Command prompt cannot reconize most commands

Originally posted by 'Merlyn' I take no credit in this guide


Ok then. Open up Control Panel and click on System. System Properties window should pop up. Click on the Advanced tab. Click on the Environment Variables button near the bottom of that window.

Look at the second frame(labeled System variables, in blue letters).

Look for the PATH variable there(mine is just Path, not all caps). Click on the path variable and then Edit it. At the end of the variable's value(where the new window shows you) add in this line:


The semi colon may or may not be necessary for you. It's only necessary if there ISN'T a semi colon already at the end of the value.
Click OK in both windows. Close the command prompts you have open.
Then reopen the command prompts.

Read other 2 answers

Hi. I am running XP and currently have Norton Internet Security working as well. I can open up a command prompt, but once inside the only commands I seem to be able to type are the basic "dir" and "cd" rarely being able to run any progrmas directly from there. For instance "ping" or "tasklist" dont work. The error msg that comes up is the usual:

'command' is not recognised as an internal or external command, operable or batch program.

(where 'command' is the command I have typed)

I do believe this is not meant to happen, and if it were a problem with the firewall, another sort of error msg would come up (in the case of ping!)

Please can someone help me solve this - and I do realise it may be a very slight alteration to be made...

Thank You

A:Command Prompt not responding to commands

Read other 6 answers


It seems as if my command prompt will not let me do any simple system commands such as ping, ipconifg, etc. And it will also not let me use commands for my compiler. The paths are set properly in the environment variables, but it still does not work. See the screencap below:


I have no idea how this happened. The system has no viruses and is clean. Any help would be appreciated.

A:Command prompt not recognizing commands

This is what I see for a path on a fresh install:

Try this from within a cmd prompt:

Read other 5 answers

My professor teach us how to connect Mysql front on mysql server 5.0 by using the command prompt. She said that we should execute the mysqld-max located in c:\program files\Mysql\mysql server 5.0\bin\
I found the mysqld-max there,but when i typed the "mysqld-max" (w/o the "") the command prompt said [ERROR] mysqld-max: unknown option '--enable-named-pipe'.
We tried thid method in our laboratory and it run perfectly, we can established connection in the mysql front.
Please help me, we have to build a database using mysql..

A:[urgent] i can't execute mysqld-max on the command prompt

just please teach me how can I establish a connection to mySQL front..thanks

Read other 1 answers

I have windows 7, the 64. Whenever I try to use 'java [class name]' in the command prompt, it returns 'Exception in thread "main" java.lang.NoClassDefFoundError: [class name]' The 'javac [class name].java' works fine, and creates the [class name].class file, but the java just won't work. Can anyone help me with this? Thanks

A:I can't execute a java file from the command prompt.

Read other 6 answers

My command promp does not respond to any network commands, like ipconfig (/all) or telnet, but it does respond to cd\, dir, and exit. How might I fix this :(

A:Command Prompt dosent recogize commands.

What displays when you use ipconfig -all or telnet? Does it just go back to the prompt, displays a message?

Read other 19 answers

Ah, I just love finding new problems with these machines I work on. It would be nice if they all had the same or similar problems, but NO... Anyway, an eMachines PC I'm working on now will not carry out commands entered at the command prompt. I type in MSCONFIG, it does nothing. I type in REGEDIT and, for a split second, the REGEDIT window opens, then quickly closes. So, instead of using Start > Run, I went to the command prompt and entered the same commands. Same result. So far, I've found Internet Optimizer and deleted related files/folders. I'm getting ready to run more "diagnostic" software, but if anyone has any ideas out there, I'm all ears... Thanks!

A:Solved: Command prompt commands won't work

This computer, I swear, has a mind of it's own... Okay: As with a few of the machines I've worked on down here in the basement (Mulder? You down there?) it won't recognize the network when plugged in—which is to say that I can't get to the internet. That's a problem because I wanted to run Spybot and it updates before it runs. So, I installed AVG antivirus. I discovered, as others have, that it hangs on the msobshell.dll file. So that makes two otherwise effective software programs useless. Does anyone know of a FREE utility (the store isn't spending money on this type of software) that I can download onto a CD from one machine to run on the infected one? HEY!! IT WORKED!! Was rebooting that PC as I was typing this. I can now run MSCONFIG and Task Manager will open. If I have additional problems, I'll let ya know... Thanks. [So: AVG Antivirus was helpful after rebooting machine.]

Read other 1 answers

my computer is running XP with SP2 and all the latest updates and whenever I go to use the command line options such as "netstat" and others it tells me that the command is not a recognised internal, external or batch command. my computer is the client computer on a network. anybody have any ideas as to why this might b happening ?

A:[resolved] problems with command prompt commands

Do you have adminstrative rights?

Read other 3 answers

Not sure how to put this exactly.

I installed Ruby in E:\Ruby200. I then installed SASS. `sass` can be found in E:\Ruby200\bin\sass. Is there a way I can make this sass command available in any folder instead of just the ruby/bin folder?

Follow up question. Is there a way to launch a new command prompt window via a shortcut which would open command prompt in a prespecified directory? Say.. I double click a program shortcut and command prompt opens in `E:\Ruby200\bin`

Follow Follow up question. Any idea how to open up more than one command prompt window in windows 8?

A:Make installed command prompt commands available anywhere?

You need to edit the PATH environmental variable. Add the folder paths of where your executables are and then they will be available from any directory you are in.

Read other 1 answers

When I type in Ipconfig or sfc command when I am in my own folder I get the following "sfc is not recognized as an internal or external command, operable file or batch file." This is on a home PC.

A:Windows Command prompt won't recognise external commands

ipconfig.exe in start/Run?

Read other 1 answers

Hello everyone,

I'm having difficulties running commands using cmd.exe while logged in as my user. My command prompt opens correctly but I cannot enter various commands (ping or ipconfig will not work, for example) ; meanwhile, if I launch the command prompt as Administrator, it works just fine !

I have seen a few posts in this forum talking about this problem, and tried the solutions provided here : http://www.techsupportforum.com/forums/f217/solved-windows-7-command-prompt-cmd-exe-inop-458857.html
But it didn't work (I did almost everything, but haven't been able to replace the cmd.exe file in SysWOW64).

I also have another command prompt installed (provided with the Ruby on Rails Framework for web development), but both used to work just fine so the problem isn't there !

And now my configuration : Windows 7 64bits family edition with SP1 installed.

Any idea ?

A:Windows 7 SP1 Command prompt not accepting usual commands

Hi, by design windows Vista, Seven and Eight require that (most) cmd 's be run from an elevated cmd prompt. This means you need to open cmd as administrator, normally go to start search and type cmd, right click on the returned cmd.exe and select "run as administrator". Even if you are logged in with an administrator account, this is necessary.

You can pin cmd.exe to the start menu, right click the shortcut, select properties then advanced, and check the box "run as administrator", from then on it opens as administrator.

Read other 3 answers

Hello All,
I am facing an issue here. I am doing this from years I always make my laptop as wi-fi by using following 2 commands:

netsh wlan set hostednetwork mode=allow ssid=net123 key=bla_bla_blanetsh wlan start hostednetwork

Now from last 2 days(when my ISP had made my system to pick the IP from their DHCP) whenever I am running these 2 above commands they run successfully from command prompt but on other laptop it shows YELLOW exclamation mark. 
I googled and tried many things which didn't work(eg--> checking options on device manager etc) could community please guide me here, will be grateful to experts here.

R. Singh

Read other answers

i cant run any commands in command prompt.i have checked a lot of stuff on inet to solve like paths @environment variables etc but i still couldnt solve it.i thought maybe its cuz a system file is missing made a repair disc but couldnt run sfc via command prompt at boot because i got this error saying
"thıs verıson of system recovery ıs not compatible with the version of windows you are trying to repair"
i have tried nearly everything but couldnt solve it guys i hope u ppl can help me.
thx from now

A:Command prompt doesnt recognize commands / cant repair windows

It sounds like something went horribly wrong with your Windows system files or registry. Have you used any registry cleaning tools on this system?

You may also try Disk Check with both boxes checked for all HDDs and with Automatically fix file system errors checked for all SSDs. Post back your logs for the checks after finding them using Check Disk (chkdsk) - Read Event Viewer Log. It is possible you have hard disk errors causing the problems.

Also, have you tried to use System Restore OPTION TWO to revert to an old restore point?

Read other 9 answers

I have a utility I run on some customers' machines that requires being run from safe mode. I already have the utility automated via batch, and would like to just run one SFX app and move on to the next machine, knowing that this app will reboot the machine into safe mode w/ command prompt, run my utility, and reboot the machine back into normal mode (the standard shutdown -r -t 01 is easy enough, but there are no modal options!). Also, if this can be done, how would I then make sure that the current user logs in automatically, rather than have safe mode stop at the log-in screen?

The utility in question is a simple "Common Software Package" which includes some software such as Reader and Flash. Some of the software included cannot be installed while an antivirus is running (at least any that have tamper-protection) due to the registry editing involved, but are completely positive in nature (one such software package simply checks the current registry vs. a backup it takes on each shutdown to look for any discrepancies, adjusted for installed software, of course). The packages do not require Windows Installer service to be running, so I have found SM w/ CP to be the best option.

Any help with this would be appreciated.

Read other answers

I am writing a VBA macro in Excel and have hit a wall. I am trying to get excel to open a command prompt and make it execute a command. The problem I am having is if I try to do anything but open another program, it throws an error back at me.

I can open the command prompt using:
Call Shell("cmd.exe" & dosCmd, vbNormalFocus)
I can also open Acrobat which is the program I need using:
Shell "C:\program files\adobe\acrobat 9.0\acrobat\acrobat.exe", vbNormalFocus
However if I simply wanted to open a PDF file, I have the code to that without opening a command prompt.

I need to open the PDF document on a specific page, and to my knowledge the only way to do this (apart from manually) is to use the command prompt. However I have no idea how to get VBA to put the command in the command prompt, hit enter and then close the prompt.

There are 2 commands that need to be executed in DOS (I'm not sure if there is a way to combine the commands)

They are:

cd c:\program files\adobe\acrobat 9.0\acrobat

start acrobat.exe /A "page=10=Open Actions" "M:\Full Scores\allegro.pdf
These open the pdf document called allegro on page 10.

I am completely stuck. Out of ideas. I've searched the length and breadth of the internet and can find nothing to point me in the right direction. So I was hoping one of you fine people could. Thank you so much, James

A:Solved: VBA Macro that opens the Command Prompt and executes a command

Read other 8 answers

Hello everyone

Recently a problem has arisen with my system.

Previously I have been doing work that requires me to unplug my network connection and I need to check my IP address each time I plug it in again. I guess it's not set for static IP.
Anyways to do this I usually go into Command Prompt and type 'ipconfig'

Now however I just get "'ipconfig' is not recognized as an internal or external command, operable program or batch file".

The directory is the same as its always been, I can change it but it doesn't seem to matter what it is.

I've checked many other posts and is there something possibly wrong with my PATH variable? I used the command 'echo %PATH%' and it works, the list it gives is very garbled however.

I'm not sure what might have made this problem arise, but I would greatly appreciate any help.


A:Solved: Command Prompt Error - 'command' is not recognized...

Read other 15 answers


I'm trying to split a .flv file by using flvparse, which is a Windows-only, command-line interface tool. I did get through to the directory by following instructions posted on another forum, however, command prompt doesn't seem to recognize the the .exe file. I'm an absolute novice at this, any help would be really appreciated!

Attaching a CP s/s, and here are the instructions I'm trying to follow (copy pasted from the forum)


For trimming the beginning and/or ending of videos, you can use FLVParser (http://dev2.avacast.com/FLVparser.zip ).
FLVParser is a Windows-only, command-line interface tool. After you unzip it, move its folder to C:\ for ease of use. Also for ease of use, copy/move the .flv file you wish to edit into the FLVParse folder.
To make edits, you need to know the in and out points where you want the edits. Use FLVPlayer to find these points. FLVPLayer only lists times in total number of seconds, not HH:MM:SS, but don't worry, FLVParser can handle that. In the FLVParse directory create a new blank text file called: CuePointFile.dat
This is the file FLVParser uses to edit from. Open it in NotePad, and enter the in point and out point, separated by a single blank space, like so: 2525 5150
Save, and close the file. Open up the command line interface and go to the FLVParse directory: cd C:\FLVParse
In the command line, enter this to edit the flv:
flvparse.exe FileToSplit.flv CuePointFile.dat
Your file will be split into ... Read more

A:Command Prompt doesnt seem to recognize the command line!!

You are using the basic cmd, try in elevated mode
Elevated Command Prompt - Windows 7 Forums

However looking at you screen shot, you may have to check the command over carefully. There does appear to be an error in the command. With my eyes, it is difficult at times to pick out the subtle shades of difference.

Read other 1 answers

I have Windows XP on my computer, and when I try to ping something through the command prompt (command.com), this shows up:

The NTVDM CPU has encountered an illegal instruction.
CS:0f23 IP:010c OP:c4 f6 06 a9 02 Choose 'Close' to terminate the application

Running tracert also has the same problem.
If I try running ping or tracert through cmd.exe, it stalls and doesn't do anything. I have to close the program because it doesn't respond.
I can use ipconfig in both cmd.exe and command.com. Do I have a virus on my computer, or is there a way to repair the command prompt? I've attached a HijackThis log file.

Logfile of HijackThis v1.99.1
Scan saved at 6:47:15 PM, on 1/18/2007
Platform: Windows XP SP2 (WinNT 5.01.2600)
MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180)

Running processes:
C:\Program Files\Cisco Systems\VPN Client\cvpnd.exe
C:\Program Files\Common Files\McAfee\HackerWatch\HWAPI.exe
c:\program files\common files\mcafee\mna\mcnasvc.exe
C:\PROGRA~1\McAfee\... Read more

A:Solved: MS-DOS Command Prompt Problem (cmd.exe, command.com)

Read other 16 answers

Hey guys.

Ive been trying to figure out how to make a command prompt run a command line as soon as the box comes up.

I need this to happen all from one command line. A command prompt needs to open with "echo hi" being ran as a command line.

Any ideas?

A:Make a command prompt run a command as soon as it opens?

Hello Fmjc001,

You could create a BAT file for this. Just type in the commands into a TXT file, then rename the file extension to BAT. When you run the BAT file it will run the commands in a command prompt automatically.

Hope this helps,

Read other 11 answers

when I open up my command prompt and type 'ipconfig' without the ' and press enter it returns the line:
'ipconfig' is nto recognized as an internal or external command, operable program, or batch file

I am trying to find out the information I need in order to set up a static IP Address for port forwarding

A:Command Prompt command <ipconfig> not working

In order to set up a static ip address internally, you'll need to either tell your router or your computer not to use automatic DHCP and instead to use a specific IP address.

Go to the System Tray (Notification Area)
Click the Network icon
Click 'Open Network and Sharing Center'
Click the 'Change adapter settings'

Selec the connnection for which you'd like to use a static IP
Right click it
Click 'Properties'
Select 'Internet Protocol Version 4 (TCP/IPv4)'

Select 'Use the following IP address':

In the 'IP Address' field, insert the IP you'd like to use.

Note: The IP you use must be within the router's list of acceptable IP addresses. It's usually a list between to


If you're trying to set up an external static ip you'll need to pay your isp extra for one.

Read other 9 answers

Hi All,

I'm running a program that parses .csv files and then changes them into ._OK files. This process takes longer when there are a large number of *.OK files in the folder where the files being converted are located. To remedy this I occasionally manually run this command:

del *._OK
While pointing at the proper folder.

Is there a way to have this command continuously run, kind of like out ping -t [IP ADDRESS HERE] continuously pings a certain IP address?



A:Command Prompt: Repeat del command continuosly

I'm running a program that parses .csv files and then changes them into ._OK files.

I take it then the conversion program will not accept an output folder other than the current or working directory? More detail what you actually do with the output files might be helpful.

Read other 2 answers

ok here is what i am trying to do i have software called btprox which lets me lock my computer when my phone goes out of range of my desktop using bluetooth. what i want it to do though, is when i come back to my desktop i want it to unlock automatically instead of just having to put my password in. (i know im lazy but really i just want to do it cause i think its cool) now this software lets you pick programs to run instead of the lock command and stuff. what i want to know is, is there a login command for the command prompt? cause then i could just set it to run a batch file when i come in range and it will log me in.

A:command prompt logon command?

Hi -

The Task Scheduler may be of some help --> http://www.sevenforums.com/tutorials...-new-task.html

I would urge caution in 3rd party software designed to circumvent Windows 7 security and power functions. You may come home sometime and find yourself locked out of your system and a reinstall of the OS to be the only viable option.

Good Luck to you.

Regards. . .



Read other 2 answers

When I type:
start funny picture.jpg
in the command prompt it says cannot find file 'funny' If I say:
start "funny picture.jpg"
it only opens another command prompt with funny picture.jpg as the window's title.

How can I open a file with a space in the name?

A:Command Prompt - start command help?

Welcome to TSF.

Type the command as follows:

Start "" "Funny Picture.jpg"

The first set of quotes ("") sets the title (for the window, this is what the start command expects for quotes normally), then the second set around the file name allows the space.


Read other 1 answers

My PC has been acting up recently. It's been running slower than usual, my games that I play are randomly crashing, and there are a couple of really random events happening.

1) Command Prompt is missing from Start Menu
2) "Run" command is missing from Start Menu
3) Internet Explorer missing from Start Menu, and every time it is opened, it pops up with the window that asks you to set up IE8 (the one that is supposed to open the very first time you start IE8)
4) Mozilla Firefox asks me to make it my "default brower" (to which I click yes) every time I open it
5) Some programs will not install correctly

I am running Kaspersky Internet Security 2010. It has popped up saying that it has detected trojans but blocked their access, and has no trace of them inside the application, as in there are no logs stating which ones it blocked, so I can't share those with you.

Any ideas as to what is going on? I also ran Webroot System Analyzer, and that came up clean, but there is obviously something going on with the symptoms listed above. Can anyone help me out? I attached a logfile of a Hijack This scan in case that helps.

Intel Core i7 940
6 Gb DDR3 1600 Mhz Corsair Dominator RAM
2x 1.5 Tb HDDs
32 Gb SSD
2x EVGA GTX 285 FTW Editons
Windows 7 Ultimate

A:Missing Command Prompt, Run Command, and Others

Hello and welcome to TSF.

We want all our members to perform the steps outlined in the link given below, before posting for assistance. There's a sticky at the top of this forum, and a

Having problems with spyware and pop-ups? First Steps

link at the top of each page.

Please follow our pre-posting process outlined here:


After running through all the steps, you shall have a proper set of logs. Please post them in a new topic, as this one shall be closed.

If you have trouble with one of the steps, simply move on to the next one, and make note of it in your reply.

Read other 1 answers

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.

A:Run administrative command prompt from command prompt

On a friend's computer that also has win 7 64 bit installed, make a system Repair CD.

Boot from the system repair CD

go to a command prompt.


START | type System Repair | Enter key | Create Disc button


1) Insert System Repair Disc into optical reader.
2) Shutdown your computer.
3) Boot up your computer from the System Repair Disc
If your computer doesn’t boot from the optical drive, then
Immediately after pushing your Power ON button,
start tapping the F2 key to get to the BIOS to change the boot order

On some computers, Immediately after pushing the Power ON button, start tapping the F12 key and choose CD/DVD to change the boot order only for this time.
4) Wait while a mini-version of Windows is loaded and finally the SYSTEM RECOVERY OPTIONS dialog appears.
will search your system for installed versions of Windows.
7) select the Use recovery tools that can help fix problems starting Windows radio button |
8) Choose command prompt from the list shown

Run any desired commands and type EXIT when finished.
Remove the System Repair Disc.
Shutdown your computer.
Power on your computer.

Read other 5 answers

Hello Everybody!

I don't know if this is a real issue, or just one of those "What the . . . .!!" situations. You judge.

I was working on a batch file that combines two .txt (ASCII?) files created in Notepad to create a composite file, and I noticed something really interesting. (And yes, when someone talks about doing something and the result is "really interesting", it's time to duck and hunt cover! )

Assume that there are two text files: "This.txt" and "That.txt", and they contain the text "This[cr-lf]" and "That[cr-lf]", where [cr-lf] is used to indicate a newline generated by hitting the "Enter/Return" key on the keyboard.

If you look at the files with a hex editor, what you see is something like this:
The file "This.txt" contains the text "This" followed by 0x0D0A, which are the ascii codes for CR and LF.
The file "That.txt" contains the text "That" followed by the same CR and LF characters.
Note that these two files contain nothing else.

Issue I discovered:
When I execute the command copy /y ".\This.txt"+".\That.txt" ".\This&That.txt", I do not get the simple concatenation of the two files, which is what I would expect. Instead I get the two files concatenated, (including the trailing CR/LF's as I would expect), but also one additional character, the hex character for a right-arrow symbol - 0x1A. In e... Read more

A:"Copy" command in command prompt generates 0x1a artifact?

I was trying to remember from my DOS days but drew a blank. A Google Search brought up a possible solution:
ms dos - In MS DOS copying several files to one file - Stack Overflow

Read other 6 answers

I want to hide this. I'm running a python progam (if that matters) and it always has that open on my taskbar. I want to hide it. I don't care where it goes or how much time it takes, I just want to hide it. So I never have to deal with it. Maybe make it a system process or something? I don't know.

Read other answers

scenario :

1. lmb to select a file or folder.
2. rmb to display context menu and choose 'rename'.
3. type new name.
4. lmb to select another file or folder
5. ... is there a way to program a key or a mouse button to automatically execute step 2 above? Or perhaps it's already one of my function keys?


A:Execute Last Command

slow left click twice the file name and it will select it for editing.

Read other 2 answers


@Echo Off
Title Sccm
cd %systemroot%\system32
call :IsAdmin

Reg.exe add "HKLM\SOFTWARE\Microsoft\CCM\CcmExec" /v "SystemTaskExcludes" /t REG_SZ /d "" /f
Reg.exe add "HKLM\SOFTWARE\Microsoft\CCM\CcmExec" /v "ProvisioningMode" /t REG_SZ /d "false" /f
Reg.exe add "HKLM\SOFTWARE\Microsoft\SMS\Mobile Client\Software Distribution\State" /v "Paused" /t REG_DWORD /d "0" /f
Reg.exe add "HKLM\SOFTWARE\Microsoft\SMS\Mobile Client\Software Distribution\State" /v "PausedCookie" /t REG_DWORD /d "0" /f

Reg.exe query "HKU\S-1-5-19\Environment"
Cls & Echo You must have administrator rights to continue ...
Pause & Exit
let say my computer have a the same folder in the registry but different value. by using this command it wont merge it. so how do i actually add in a merge with this ?

A:need help with command prompt command

By folder I assume you mean Key. The /f parameter you use should overwrite any current value. Are you saying that doesn't work?

If you remove /f and a value already exist for a key, you'll be prompted if you want to overwrite the current value. That's a good way of testing this.

Read other 2 answers


One question about DIR command in CMD for creating filename.doc.

I am using the following command:

dir /ad /s /b > filename.doc

Could I get as the result (text inside file filename.doc) only two parts of each line? What I mean is this:

I have the line that looks like:

C:\Main Folder\Subfolder\Subsubfolder\[blabla] example_of_folder_name

I would like to have this only:


In each of line (no matter how many hundreds or thousands of lines) only those two parts.

Thank you...

A:Command Prompt (CMD) DIR command


Read other 3 answers

would like to set up a desktop icon to execute a command at the dos prompt:

ping www.yahoo.com

Anybody know?

A:how do I set up a shortcut to execute a 'dos command'?

Fire up notepad, and do this


@echo off
%1 %2 %3 %4 %5 %6 %7 %8 %9

ping <enter domain name here>

Save the file as ping_yahoo.bat, or your chosen name.

Double clicking it should ping yahoo.

Read other 11 answers

In Windows Mail, when I try to open an attachment I get a message saying "the command failed to execute."

A:command failed to execute

That doesn't sound good. Are these attachments attached to messages you were expecting? Or from people that you know?

Read other 1 answers


I would like to execute a command at boot and repeat it until it succeeds. Does anyone know how I can achieve that ?

For the moment, I run the command in the startup folder, so it does run just after user connection but, as it is a connection demand to another computer by ssh, if the other computer is not ready yet, the command just fails and stop bother. I'd like it to retry until connection is established.

So is there a service I can use or should I write a script right away ?

Nota : I know nothing about VBScript.. yet.

Thank you

A:execute command at boot

In which software do you run ssh command?

Read other 4 answers


PHP is a cross-platform, server-side, embedded scripting language used in many Web server environments. PHP versions 4.3.6 and earlier for Microsoft Windows operating systems, could allow a remote attacker to execute commands. The escapeshellarg function is used to stop the execution of additional commands, however this function does not work correctly when running on Microsoft Windows operating systems.
Platforms Affected:

Microsoft Corporation: Windows Any version
PHP Group: PHP 4.3.6 and prior



A:PHP escapeshellarg and escapeshellcmd execute command

Is this just another vulnerability
over which we have no control ?

Or can the PHPs be dis-abled ?

And what is an additional command ?

Read other 2 answers

Hi everyone,

I have gotten a case-interview/presentation where I am supposed to prepare an excel file for migration with the company software. I got a 23 step guide, where I was only supposed to do the first 12 prior to the presentation. The steps are shown below. I've done the first 4, but then didnt understand what ws meant with nr 5., and when I execute nr 6, something happens, but I cant see that a new folder named "MigrationFolder" is created.

I had some problems before with the ssl connection when using ruby 2.1.9, so I have upgraded to Ruby 2.2.3.
below are the steps I am supposed to follow, and afterwards a screenshot of what happens when I execute command " move-to-go new MigrationFolder excel " (of course without the ".."). I tried another command "move-to-go new excel-migration excel" with the same result.

Move-to-go step by step.
Go get Ruby... (should be 2.1.X, 64-bits).
Open ?Start Command Prompt with Ruby?.
Enter this command "gem install move-to-go to install" or 'gem update move-to-go' to update.
"Cd" (Change direction) to folder where you want to put the migration folder.
Enter this command "move-to-go new MigrationFolder excel" (or other list-source).
Now a folder named ?MigrationFolder? is created.
Enter the folder.
Open up the ruby file ?Converter.rb?, this is the place where you do the mapping of the fields. There you ha... Read more

Read other answers


OS: Win7 64bits Family

Can't find the way to fix quoting issue.

Suppose in the command prompt this works:

"c:\what ever\my program.exe" "d:\some dir\my file.txt" cat 1-2 output "d\some dir\_out.txt"

How do I make this into some vbs scripting?

I tried this:

exePath= "c:\what ever\my program.exe"
spath= "d:\some dir\"
iFile = spath & "my file.txt"
oFile= spath & "_out.txt"

cli = Chr(34) & exePath & Chr(34) & " " & Chr(34) & sFileSelected & Chr(34) & " cat 1-"& iNumber & " output " & Chr(34) & oFile & Chr(34)
Dim objShell
Set objShell = WScript.CreateObject( "WScript.Shell" )
Cmd=Chr(39) & cli & Chr(39)
Set objShell = Nothing
I get:
error 80070002 “The system cannot find the file specified”


Read other answers

Windows firewall on a client is enabled and I can't disable it via "PsExec". Can I get command prompt via "WMIC" command and then run "netsh" command for disable firewall?

Thank you.

Read other answers

Can I execute Command or bat file before windows 7 boot (before booting screen)?

if possible, how I do that ?
the reason that we need to Depreciate 100s of computer devices, we need to remove[format] OS and applications securely from hard drives!, we can't boot from DVD or PXE each time to format all devices.
thanks for help

Ghaith Mohammad

Read other answers