Uhhh, I fucked up cmd

DarkFlare69

Well-Known Member
OP
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,736
Country
United States
Whenever I open a command window and type a totally logical command, like
Code:
make
or
Code:
ipconfig /all
it says it's the command is not recognized. Im on windows 7 32 bit.
 

cdoty

Well-Known Member
Member
Joined
Sep 14, 2009
Messages
329
Trophies
0
Website
www.rastersoft.net
XP
352
Country
United States
Sounds like you may have screwed up your PATH variable.

It should contain these:
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem

And maybe(?) this
C:\Windows\System32\WindowsPowerShell\v1.0

ipconfig is located in C:\Windows\system32

make is not part of windows, you need cygwin, MinGW, or something like that installed.
 

RandomUser

Rosalina in Plush Form
Member
Joined
May 9, 2010
Messages
967
Trophies
1
XP
1,042
Country
United States
It may be a long shot and have not have that happened to me, yet. I am thinking you might be missing some path in the environment variables.
1. Right click on "Computer" then Click on properties.
2. On the left side, click on "Advance system settings"
3. Click on Environment Variables.
4. Under system variables there are some paths for the system. The ones that stands out to me are as follows:
Variable Name………………Variable Value
ComSpec………………………%SystemRoot%\system32\cmd.exe
PSModulePath………………%SystemRoot%\system32\WindowsPowerShell\v1.0\Modules\
PATHEXT………………………….COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
Most likely not needed, but can't hurt to check and see if it is there.

They're a lot more in the environment variable, however I think these are the ones that could be the problems, perhaps it got modified or deleted? I dunno, as I didn't experience this problem problem with cmd before.
The ellipses is not to be included in any of the variables :lol:.
 

DarkFlare69

Well-Known Member
OP
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,736
Country
United States
It may be a long shot and have not have that happened to me, yet. I am thinking you might be missing some path in the environment variables.
1. Right click on "Computer" then Click on properties.
2. On the left side, click on "Advance system settings"
3. Click on Environment Variables.
4. Under system variables there are some paths for the system. The ones that stands out to me are as follows:
Variable Name………………Variable Value
ComSpec………………………%SystemRoot%\system32\cmd.exe
PSModulePath………………%SystemRoot%\system32\WindowsPowerShell\v1.0\Modules\
PATHEXT………………………….COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
Most likely not needed, but can't hurt to check and see if it is there.
They're a lot more in the environment variable, however I think these are the ones that could be the problems, perhaps it got modified or deleted? I dunno, as I didn't experience this problem problem with cmd before.
The ellipses is not to be included in any of the variables :lol:.

My hard drive does not contain a C:\System32 folder. It contains a C:\Windows\System32 folder. Is that what u were supposed to say?
 

yusuo

Well-Known Member
Member
Joined
Oct 19, 2006
Messages
3,498
Trophies
2
Age
38
XP
6,121
Country
United Kingdom
Yeah it should be in your system32 folder which is located inside the windows folder, as for make, I wasn't even aware make was part of windows i've only ever used it with linux as part of the build-essentials package

<snip>

heres a copy of my ipconfig

and heres a pic of where its found

0pfzog9.png
 

RandomUser

Rosalina in Plush Form
Member
Joined
May 9, 2010
Messages
967
Trophies
1
XP
1,042
Country
United States
My hard drive does not contain a C:\System32 folder. It contains a C:\Windows\System32 folder. Is that what u were supposed to say?
No, as you see in my post is still correct, however is basically the same as C:\Windows\System32. Open Windows explorer, not Internet explorer, and in the address bar type in "%systemroot%\system32" without a quote and it will take you directly to the system32 folder in Windows directory. The "%" is like a shortcut and generally used for current running OS, so if somehow you have more then one OS on one hard drive, the "%" will direct you to the active Windows\system32 folder.
 

DarkFlare69

Well-Known Member
OP
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,736
Country
United States
No, as you see in my post is still correct, however is basically the same as C:\Windows\System32. Open Windows explorer, not Internet explorer, and in the address bar type in "%systemroot%\system32" without a quote and it will take you directly to the system32 folder in Windows directory. The "%" is like a shortcut and generally used for current running OS, so if somehow you have more then one OS on one hard drive, the "%" will direct you to the active Windows\system32 folder.

Okay, done. Yeah it directed me to my Windows/System32 folder. And all my stuff is just like you said it should be in your post :/
 

DarkFlare69

Well-Known Member
OP
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,736
Country
United States
Yeah it should be in your system32 folder which is located inside the windows folder, as for make, I wasn't even aware make was part of windows i've only ever used it with linux as part of the build-essentials package

https://www.mediafire.com/?tvjao23y55a6555

heres a copy of my ipconfig

and heres a pic of where its found

0pfzog9.png

Mine looks like that, too. Except my file sizes are slightly different. So yeah, I have those 3 files but it still doesnt work. And I want all my commands back not just certain ones
 

RandomUser

Rosalina in Plush Form
Member
Joined
May 9, 2010
Messages
967
Trophies
1
XP
1,042
Country
United States
It may not work, if he is using a different version of the operating system
Okay, done. Yeah it directed me to my Windows/System32 folder. And all my stuff is just like you said it should be in your post :/
Okay, that is good to know, like I said its a long shot and couldn't hurt to try. I really do not know what is going on in short of actually missing an ipconfig.exe file. If you are, then you can extract another one from your Windows installer disk if you have one. But you will need a WIM driver/software to open the WIM file.
Another shot in the dark is perhaps your registry entry is messed up? Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment and the type would be REG_EXPAND_EZ with the name "Path" should be "%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\". It may have additional entries, like mine has "C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common" as the editional entry but I wouldn't worry too much about those. If yours matches then I would be stumped as I have not experience what you're experiancing now.
 

DarkFlare69

Well-Known Member
OP
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,736
Country
United States
It may not work, if he is using a different version of the operating system

Okay, that is good to know, like I said its a long shot and couldn't hurt to try. I really do not know what is going on in short of actually missing an ipconfig.exe file. If you are, then you can extract another one from your Windows installer disk if you have one. But you will need a WIM driver/software to open the WIM file.
Another shot in the dark is perhaps your registry entry is messed up? Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment and the type would be REG_EXPAND_EZ with the name "Path" should be "%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\". It may have additional entries, like mine has "C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common" as the editional entry but I wouldn't worry too much about those. If yours matches then I would be stumped as I have not experience what you're experiancing now.

Yeah it matches .-.

Fuck it, I'm getting a new computer soon anyway.
 

WigWrm

Well-Known Member
Member
Joined
Apr 17, 2007
Messages
208
Trophies
1
Website
Visit site
XP
918
Country
United States
In command prompt type

set path=c:\windows\system32

You'll have to do it every time you open the cmd prompt : ( I had this happen to me on a work computer. Was a pain in the butt.

All you should need to do is add C:\WINDOWS\SYSTEM32 or %SystemRoot%\system32 to your path system variable. I gots all kinds of directories in mine. Get into the environment variables panel, scroll to PATH and add the system32 directory. Every entry has a ";" to separate it from the others.

2hmdier.png


PATH variable example contents...
Code:
C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Hewlett-Packard\SimplePass\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\MATLAB\R2014a\runtime\win64;C:\Program Files\MATLAB\R2014a\bin;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Ser
 

RandomUser

Rosalina in Plush Form
Member
Joined
May 9, 2010
Messages
967
Trophies
1
XP
1,042
Country
United States
Yeah it matches .-.

Fuck it, I'm getting a new computer soon anyway.
That will for sure fix your problem:lol:. After you get a new computer, if you have that Windows installer disk for your existing computer, you could try re-installing windows. Kinda like doing an in place upgrade, but in reality you're not. Perhaps that could fix the problem?
 

DarkFlare69

Well-Known Member
OP
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,736
Country
United States
That will for sure fix your problem:lol:. After you get a new computer, if you have that Windows installer disk for your existing computer, you could try re-installing windows. Kinda like doing an in place upgrade, but in reality you're not. Perhaps that could fix the problem?

I'm just gonna buy windows 7 again
 

RandomUser

Rosalina in Plush Form
Member
Joined
May 9, 2010
Messages
967
Trophies
1
XP
1,042
Country
United States
I'm just gonna buy windows 7 again
If I understood you correctly, you're going to buy another Windows 7 CD? Why not use your existing one?
In case I wasn't clear, as I re-read my own post, it wasn't clear to me, What I meant to say use the Windows installer disk on your existing PC, to repair Windows with it. Hope that clears it up LOL.
 

DarkFlare69

Well-Known Member
OP
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,736
Country
United States
If I understood you correctly, you're going to buy another Windows 7 CD? Why not use your existing one?
In case I wasn't clear, as I re-read my own post, it wasn't clear to me, What I meant to say use the Windows installer disk on your existing PC, to repair Windows with it. Hope that clears it up LOL.

Oh that makes sense now. I don't know where the disc is though lol.
 

RandomUser

Rosalina in Plush Form
Member
Joined
May 9, 2010
Messages
967
Trophies
1
XP
1,042
Country
United States
Oh that makes sense now. I don't know where the disc is though lol.
You can always download the iso. If you have a license to use it, then it really not pirating, as sometimes Microsoft does have downloads to the iso files. Can't remember which OS they have downloads for though.
 
  • Like
Reactions: flarn2006

DarkFlare69

Well-Known Member
OP
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,736
Country
United States
You can always download the iso. If you have a license to use it, then it really not pirating, as sometimes Microsoft does have downloads to the iso files. Can't remember which OS they have downloads for though.
Okay, I might do that.

And just a question about piracy... if the cops never get on peoples asses about piracy, why do they even try to enforce it? Everyone I know has downloaded at least 1 illegal rom off of the Internet...
 

jonthedit

Well-Known Member
Member
Joined
May 30, 2011
Messages
1,682
Trophies
0
XP
1,009
Country
Bangladesh
This whole convo is making me facepalm so hard. :glare:

Considering you ar-

You know what.
Nevermind.

Just listen to the other guys; they will help.
Don't do anything irrational like buying a new PC over a failed attempt at configuring a 3DSDev environment;
You can always just reload as a last resort: as they are suggesting.
 
  • Like
Reactions: Jiehfeng

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    LeoTCK @ LeoTCK: yes for nearly a month i was officially a wanted fugitive, until yesterday when it ended