How to copy C:\boot.ini to another folder and make it visible?

K

Ken Williams

dir /A

executed in the root directory of the boot partition C: shows the boot.ini file. So it is existing.

When I try to copy it to another folder with

copy boot.ini temp

Windows say: The system cannot find the file specified.

How do I copy this file?

I assume it is a system file. How do I convert (the copy) to a non-system file?

How do I convert a non-system boot.ini file to a system file and replace the current boot.ini?

What happens if the boot loader does not find a C:\boot.ini file?

Is there a fall-back default boot.ini file somewhere ?

Ken
 
P

Pegasus \(MVP\)

Ken Williams said:
dir /A

executed in the root directory of the boot partition C: shows the boot.ini file. So it is existing.

When I try to copy it to another folder with

copy boot.ini temp

Windows say: The system cannot find the file specified.

How do I copy this file?

I assume it is a system file. How do I convert (the copy) to a non-system file?

How do I convert a non-system boot.ini file to a system file and replace the current boot.ini?

What happens if the boot loader does not find a C:\boot.ini file?

Is there a fall-back default boot.ini file somewhere ?

Ken

If you turn on "Show hidden files" in your explorer then you can see
that c:\boot.ini is a hidden file. The following commands will create
a copy regardless:

type c:\boot.ini > d:\Backup\boot.ini
xcopy /ah c:\boot.ini d:\Backup

If boot.ini is not present then the system will assume certain
defaults (which could be wrong).

To replace the file, remove its "hidden" attribute, then modify
it to your liking.
 
W

witan

boot.ini is also a hidden file. "copy" command from the command prompt
cannot find it. You can try copying it using explorer -- assuming that
you have configured the explorer to show hidden and system files.
 
D

David Candy

Copy ignores hidden and system files. Use Attrib (type it in help). It does not need to be anything - it solely to stop users messing with it.

Just take attributes off and edit it with notepad.

If you installed into default locations a boot.ini isn't needed as windows will find what it needs anyway.
 
D

Dave Patrick

It's nothing more than a text file. You can edit it with generic tools such
as notepad.exe

Explorer|Tools|Folder Options|View, then radio button for "Show hidden files
and folders" *and* also uncheck the box for "Hide protected operating system
files"

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| dir /A
|
| executed in the root directory of the boot partition C: shows the boot.ini
file. So it is existing.
|
| When I try to copy it to another folder with
|
| copy boot.ini temp
|
| Windows say: The system cannot find the file specified.
|
| How do I copy this file?
|
| I assume it is a system file. How do I convert (the copy) to a non-system
file?
|
| How do I convert a non-system boot.ini file to a system file and replace
the current boot.ini?
|
| What happens if the boot loader does not find a C:\boot.ini file?
|
| Is there a fall-back default boot.ini file somewhere ?
|
| Ken
|
 
G

Guest

Just open Windows Explorer, click on the C: drive, select the boot.ini file,
right-click on it, select Copy, and copy it into any other folder. You can
also copy it back.

If it is invisible just make sure that the settings that hide system files
are not enabled under Folder Options in the Control Panel.

Eric,
PC Buyer Beware!
http://www.pcbuyerbeware.co.uk/
 
R

Rick \Nutcase\ Rogers

Hi,

Remove the system attribute before you try copying from the command prompt:

attrib -s boot.ini
copy boot.ini temp
attrib +s boot.ini

Don't forget to reassign the system attribute when completed.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Associate Expert - WindowsXP Expert Zone

Windows help - www.rickrogers.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top