Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Can someone explain a change in Comspec?

12 Feb 2017   #1
RBraverman

Win7 Ultimate/x64
 
 
Can someone explain a change in Comspec?

I've been rebuilding my desktop - as some of you are aware - and just ran into a problem that an hour later and an image restore I found the solution but can not understand the problem:

I had slipped when adding to the path in advanced settings, and added the path it to the end of the comspec.

Well when - after many programs re-installed I tried to run one of my many .cmd files, it claimed the file did not exist. BUT the program would run it I ran it as admin - that is what I do not understand.

Can someone explain why the admin could find a "missing" comspec, but a user with admin privileges could not.

************************* UPdate **********************

It just happened again, right after I tried to run RDS, BUT this time the comspec was fine - a reboot, thankfully, fixed it.

ANY ideas?


My System SpecsSystem Spec
.
12 Feb 2017   #2
samuria

win 8 32 bit
 
 

Open a CMD prompt type.

Set


it will list all the details of path etc then do it as admin is the path different?
My System SpecsSystem Spec
15 Feb 2017   #3
RBraverman

Win7 Ultimate/x64
 
 

Quote   Quote: Originally Posted by samuria View Post
Open a CMD prompt type.

Set


it will list all the details of path etc then do it as admin is the path different?
No they aren't. The paths are slightly different (as one would expect), one program is still being installed, and the home directory's are different. That's it.
My System SpecsSystem Spec
.

Reply

 Can someone explain a change in Comspec?




Thread Tools




Similar help and support threads
Thread Forum
Can someone explain SSL to me?
What I understand: SSL Is used by many sites. Basically it is an encrypted connection between you and a website. When you go to a store like newegg it has SSL. You know you are connected via SSL when the web address has a https rather than a http. What i don't understand: Why don't we have...
System Security
Is there a difference between %comspec% and "cmd"
I just noticed that the result of typing "cmd" and "%comspec%" in the command prompt ends with the exact same behavior. Aside from the fact that "cmd" is a command and "%comspec%" an environment variable, there must be a suitable usage when "cmd" is preferred over "%comspec%". Are there subtle...
General Discussion
Could someone please explain this .dmp
This is from a studio 1747 running 7 home premium and i'm at my wits end. It was originally a 1745 that suffered from water damage. I upgraded it with the 1747 0j507p mb and an i7 720qm cpu. i'm testing it with a copy of 7 home premium but it is going to end up with xp 64 bit. bios is A14 and i'm...
BSOD Help and Support
Please to explain.
Please to explain wht this error is. Its the only error in my event veiwer. ty
BSOD Help and Support
Can anyone Explain how this is Possible?
Can any of you Guys (or Gals) explain how this is possible?...:p is there any way you can have negative CPU usage...:sarc: its 1111 1111 1111 1111 1111 111 1111 1100 1111 0110 0011 1010 0110 0000 0000 0000 in binary...
Chillout Room


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 00:29.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App