Can't run some commands in cmd.

Reply

Join Date: Jul 2008
Posts: 32
Reputation: asameh99 is an unknown quantity at this point 
Solved Threads: 0
asameh99 asameh99 is offline Offline
Light Poster

Can't run some commands in cmd.

 
0
  #1
Nov 25th, 2008
when I typed the command attrib it says, 'attrib' is not recognized as an internal or external command, operable program or batch file. And some other commands like 'edit'. And after the post of my pc , "INVALID BOOT.INI file, booting from c:\WINDOWS\.. so lame need help ^^
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 640
Reputation: Murtan is a jewel in the rough Murtan is a jewel in the rough Murtan is a jewel in the rough Murtan is a jewel in the rough 
Solved Threads: 104
Murtan Murtan is offline Offline
Practically a Master Poster

Re: Can't run some commands in cmd.

 
0
  #2
Nov 25th, 2008
attrib is a program, not an internal command.
Either, the program has been removed or renamed or it is not in your path.

Though it sounds like you have a more serious problem with the system. The BOOT.INI file is what Windows uses to determine where to find the windows installation to boot from (or what options to use). The message indicates that yours is invalid so it is booting by default from C:\WINDOWS.

How or why your BOOT.INI became invalid is not apparent from your description.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 8
Reputation: Kapitaen M is an unknown quantity at this point 
Solved Threads: 1
Kapitaen M's Avatar
Kapitaen M Kapitaen M is offline Offline
Newbie Poster

Re: Can't run some commands in cmd.

 
0
  #3
Nov 25th, 2008
Found this on the interwebs... don't know how relevant it is, therefore, to "INVALID BOOT.INI" file.

[However if you get this message, "'attrib' is not recognized as an internal or external command, operable program or batch file.", as I did, perform the following (must be logged on as an administrator):

Start >
Settings >
Control Panel >
System >
Advanced >
Environment Variables >
System Variables >
Locate and highlight Path >
Edit >
Add the following line of text (exactly as printed below) to the beginning of the Variable Value list:
C:\WINDOWS\system32;
Confirm by clicking OK to each request.]
Reply With Quote Quick reply to this message  
Join Date: Aug 2003
Posts: 9,806
Reputation: caperjack is a splendid one to behold caperjack is a splendid one to behold caperjack is a splendid one to behold caperjack is a splendid one to behold caperjack is a splendid one to behold caperjack is a splendid one to behold caperjack is a splendid one to behold 
Solved Threads: 514
Team Colleague
caperjack's Avatar
caperjack caperjack is offline Offline
Posting Prodigy

Re: Can't run some commands in cmd.

 
0
  #4
Nov 25th, 2008
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 32
Reputation: asameh99 is an unknown quantity at this point 
Solved Threads: 0
asameh99 asameh99 is offline Offline
Light Poster

Re: Can't run some commands in cmd.

 
0
  #5
Nov 25th, 2008
I usually use the 'attrib' for removing viruses by changing their attributes, but now after that BOOT.INI issue I can't use it anymore. And one more thing I can't run the gpedit.msc program for some tweaks ^^, what am I thinking right now is to reinstall my OS, but most of the sites and forums that I had searched about that BOOT.INI thing, they said insert the XP cd and repair my bootcfg I'm just confused If what shall I do with my rig. . .
Last edited by asameh99; Nov 25th, 2008 at 8:11 pm.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,273
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 543
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Can't run some commands in cmd.

 
0
  #6
Nov 25th, 2008
XP pro right?
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 3,204
Reputation: gerbil will become famous soon enough gerbil will become famous soon enough 
Solved Threads: 188
gerbil gerbil is offline Offline
Nearly a Senior Poster

Re: Can't run some commands in cmd.

 
0
  #7
Nov 25th, 2008
attrib is a command, it will not run from the run window because it is not a pgm.
May we have a glance at your boot.ini file, please?
Go Start, Run, paste in ..
control sysdm.cpl,,3 -and press Enter. Go Startup n Recovery Settings, press Edit button. Paste here the notepad that pops.
Deep, deep in the woods, but walking about.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 32
Reputation: asameh99 is an unknown quantity at this point 
Solved Threads: 0
asameh99 asameh99 is offline Offline
Light Poster

Re: Can't run some commands in cmd.

 
0
  #8
Nov 26th, 2008
BOOT.INI file issue solved, thanks guys ^^ , the problem left is I can't run some commands in command prompt like attrib, edit etc. T_T. And the gpedit.msc thing thanks for the help ^^
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 3,204
Reputation: gerbil will become famous soon enough gerbil will become famous soon enough 
Solved Threads: 188
gerbil gerbil is offline Offline
Nearly a Senior Poster

Re: Can't run some commands in cmd.

 
0
  #9
Nov 26th, 2008
for the cmd problem, best I can suggest is running..
sfc /scannow
to check nd replace any corrupt protected system files. Or just try copying in cmd.exe from your installation cd. It is in I386, you need to expand it thus:
expand "cd drive letter"\i386\cmd.ex_ %systemdrive%\system32\cmd.exe
Deep, deep in the woods, but walking about.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Windows NT / 2000 / XP Forum


Views: 1265 | Replies: 8
Thread Tools Search this Thread



Tag cloud for Windows NT / 2000 / XP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC