944,008 Members | Top Members by Rank

Ad:
Nov 25th, 2008
0

Can't run some commands in cmd.

Expand Post »
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 ^^
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
asameh99 is offline Offline
32 posts
since Jul 2008
Nov 25th, 2008
0

Re: Can't run some commands in cmd.

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.
Reputation Points: 344
Solved Threads: 116
Practically a Master Poster
Murtan is offline Offline
670 posts
since May 2008
Nov 25th, 2008
0

Re: Can't run some commands in cmd.

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.]
Reputation Points: 10
Solved Threads: 1
Newbie Poster
Kapitaen M is offline Offline
8 posts
since Nov 2008
Nov 25th, 2008
0

Re: Can't run some commands in cmd.

Team Colleague
Reputation Points: 1056
Solved Threads: 792
I hate 20 Questions
caperjack is offline Offline
12,730 posts
since Aug 2003
Nov 25th, 2008
0

Re: Can't run some commands in cmd.

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.
Reputation Points: 10
Solved Threads: 0
Light Poster
asameh99 is offline Offline
32 posts
since Jul 2008
Nov 25th, 2008
0

Re: Can't run some commands in cmd.

XP pro right?
Moderator
Featured Poster
Reputation Points: 1800
Solved Threads: 575
Moderator
jbennet is online now Online
16,525 posts
since Apr 2005
Nov 25th, 2008
0

Re: Can't run some commands in cmd.

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.
Reputation Points: 239
Solved Threads: 296
Industrious Poster
gerbil is offline Offline
4,169 posts
since May 2005
Nov 26th, 2008
0

Re: Can't run some commands in cmd.

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 ^^
Reputation Points: 10
Solved Threads: 0
Light Poster
asameh99 is offline Offline
32 posts
since Jul 2008
Nov 26th, 2008
0

Re: Can't run some commands in cmd.

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
Reputation Points: 239
Solved Threads: 296
Industrious Poster
gerbil is offline Offline
4,169 posts
since May 2005
Apr 21st, 2011
0
Re: Can't run some commands in cmd.
@Kapitaen M
thank u very much
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Eng.muslima is offline Offline
4 posts
since Jun 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Windows NT / 2000 / XP Forum Timeline: How to Install Xp with problem in User Accounts ?
Next Thread in Windows NT / 2000 / XP Forum Timeline: Black Screen on Toshiba laptop





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC