1.

Solve : can´t edit autoexec.bat or cofig.sys?

Answer»

my problem is that I open the editor and modify the file but when I try to save a messaje appears . Something like unable to save because it might be protectd against writing. Is there any way to go arround this protections
thanks
miguelYou could try using the ATTRIB command to flip off the read-only bit. Autoexec.bat and Config.sys are not normally read-only files. How did this situation happen?

Good luck. I really don´t know how
thanks a lot
C:\WINNT\system32>attrib /?
Displays or changes file attributes.

ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [[DRIVE:] [path] filename]
[/S [/D]]

+ Sets an attribute.
- CLEARS an attribute.
R Read-only file attribute.
A Archive file attribute.
S System file attribute.
H Hidden file attribute.
/S Processes matching files in the current FOLDER
and all subfolders.
/D Processes folders as well.Fron a dos prompt, include the path & file name of your choice.

C:\>attrib test.bat
A SHR C:\test.bat

C:\>attrib -r -a -s -h test.bat

C:\>attrib test.bat
C:\test.bat

C:\>attrib +r +a +s +h test.bat

C:\>attrib test.bat
A SHR C:\test.bat

C:\>

Pictures are easier. thanks a lot



Discussion

No Comment Found