Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

cmd opens in apache


  • Please log in to reply

#1
ftfk00

ftfk00

    Member

  • Member
  • PipPip
  • 45 posts

Hello,

 

Hope someone can help.

My Cmd when i open it as admin it opens as

 

C:\program files <86> \apache group\apache2\bin>

 

why would cmd open here and not just c:\windows\system32

 

Thanks for any advice


  • 0

Advertisements


#2
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,870 posts

Hi,

 

How did  you open the command prompt?


  • 0

#3
ftfk00

ftfk00

    Member

  • Topic Starter
  • Member
  • PipPip
  • 45 posts

Hello Sleepydude,

 

Thanks for the reply

 

Start button

Search > cmd > run as admin


  • 0

#4
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,091 posts

Open a command prompt (not elevated) and enter

 

echo %comspec%

 

Response should be:

C:\windows\system32\cmd.exe

 

Repeat from a ELevated Command prompt, response should be the same.

 

If it's not, change it.

 

Control Panel

System

Advanced System Settings

Environment Variables button

 

Set Comspec under System variables to C:\windows\system32\cmd.exe

 

See if that helps.


  • 0

#5
ftfk00

ftfk00

    Member

  • Topic Starter
  • Member
  • PipPip
  • 45 posts

Hello Ztuker,

 

Thanks for the advice.

 

I tried what you siad.

response was the next line just siad compse

 

so i went to

 

Control Panel

System

Advanced System Settings

Environment Variables button

 

i can see Compsec is  set to C:\windows\system32\cmd.exe already.


Edited by ftfk00, 01 April 2014 - 12:21 PM.

  • 0

#6
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,870 posts

Hi,

 

Please can you type cmd on the search box right click the result and select Properties, then post a screenshot showing the properties window.


  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP