- Jul 11, 2001
- 39,937
- 9,623
- 136
I'm trying to change the attribute of a file using a boot disk. I'm getting the message - Bad Command or File Name. This is using Windows 95 boot disk and DOS 6.2. One of my Windows 98 boot disks doesn't give this message but I'm told that it won't change the attribute - I'm trying to make a file not hidden and not system. I'm issuing the command like this:
C\>attrib -h boot.ini
Bad command or file name.
What am I missing here? Thanks.
PS. I'm thinking of working around this by moving the file and creating another using notepad and giving it the name I want (boot.ini), but I want to know why I can't use the attrib command.
C\>attrib -h boot.ini
Bad command or file name.
What am I missing here? Thanks.
PS. I'm thinking of working around this by moving the file and creating another using notepad and giving it the name I want (boot.ini), but I want to know why I can't use the attrib command.