Administrator X Window System32 Cmd Exe

Posted on  by 

  1. Administrator X Commands
  2. Mengatasi Administrator X Windows System32 Cmd Exe
  3. How To Fix Administrator X Windows System32 Cmd Exe

Remove Windows accounts or change PC administrator. Administrator:x: windows system32 cmd.exe Saat Mau. CMD WINDOW IN FEW. I have an HP Mini laptop with Windows XP that when every time I start it, it runs c: WINDOWS system32 cmd.exe. How can I stop this from running on st.

Active3 years, 3 months ago

I am trying to invoke one executable by putting following line on command prompt. (I know I can directly invoke the exe but let's just say I have no other way to do this due to some restriction)

itself It is successfully run. /C is parameter to cmd.exe. But when I do this

Gives me error

Any idea why? And how can I solve this problem? I have to use full path of cmd.exe.

Ganesh SatputeGanesh Satpute
1,0754 gold badges16 silver badges40 bronze badges

5 Answers

Try this instead:

For example:

These work without any problem and both of them output 'Hello World'

SazidSazid
1,9821 gold badge13 silver badges28 bronze badges

As stated by Stephan, the correct way of writing it is some of the following options

The question is Why 'cmd /c' .... works? It works for the way the parser is interpreting the line.

When the line is readed and parsed, 'cmd /c' is converted to

So it is executed as

This substitution can be easily tested

MC NDMC ND
60.9k5 gold badges54 silver badges91 bronze badges

looks for a file named C:WindowsSystem32cmd.exe /C.

Have you ever seen a file with the extension .exe /c?

Correct format is:

StephanStephan
38.9k5 gold badges35 silver badges63 bronze badges

Regarding the additional question of why the extra quotes are needed: this is described in the help returned by cmd /?, specifically

If /C or /K is specified, then the remainder of the command line after the switch is processed as a command line, where the following logic is used to process quote (') characters:

So, if the first (non-whitespace) character of the command is a quote, you need an extra pair of quotes around the entire command.

Additional note: combining MC ND's answer with mine, the first command line in the question is being interpreted like this: we start with

which becomes

due to the rule that replaces cmd ->%ComSpec% combined with the bug/feature that discards the extra quote mark; this then becomes

because of the rule that removes the first and last quote marks when processing /C.

The Win32 file system rules discard the extra backslash, so the executable launched is

and the executable is presumably ignoring the missing close-quote in its argument.

Harry JohnstonHarry Johnston
31k5 gold badges45 silver badges118 bronze badges

Strange it seems :/

This works. Don't know why. May be the double quotes before and after 'C:Program FilesABCxyz.exe' -register='abc' are required. Wish if someone will explain that.

Solomon Ucko
1,1692 gold badges11 silver badges22 bronze badges
Ganesh SatputeGanesh Satpute
1,0754 gold badges16 silver badges40 bronze badges

Not the answer you're looking for? Browse other questions tagged windowscommand-linecmd or ask your own question.

Active4 years, 7 months ago

I am installing W7 Ent on an LG R580.

I am working with a valid ISO (installs perfect on other systems).

During the installation, before the installation window, the process hangs, and I get a black, cmd.exe screen with the following:

My keyboard at that time only prints capital letters with '^' before each.

Only thing that I am able to do is reboot.

In the bios, I tried to disable USB Legacy ( thinking the problem is with my DVD ) - did not help.

Saariko
SaarikoSaariko
3678 gold badges15 silver badges36 bronze badges

2 Answers

ale
2,8896 gold badges35 silver badges50 bronze badges
KavehKaveh
6691 gold badge5 silver badges14 bronze badges
Administrator x windows system32 cmd.exe windows 7

^X in the terminal usually means that the control key is being held. x: is the ramdrive that the installation OS is being loaded to, so somthing is definitely off if you are seeing prompts to it.

Try a memory scan with the MS RAM diagnostic tool on the windows disk, and make sure win7 likes your ram (I've had a few boxes that had install issues until I replaced the ram; Win7 seems more picky about ram sticks that other OSs; these all ran vista and ubuntu fine).

AdministratorFrank Thomas

Administrator X Commands

Frank Thomas

Mengatasi Administrator X Windows System32 Cmd Exe

28.2k2 gold badges61 silver badges83 bronze badges

How To Fix Administrator X Windows System32 Cmd Exe

Not the answer you're looking for? Browse other questions tagged windows-7windows-installation or ask your own question.

Coments are closed