Solved

Can't attribute system.dat & user.dat

Posted on 1998-11-30
6
313 Views
Last Modified: 2013-12-29
I need to relpace my registry with one that I backed up using a regsaver.exe. the problem is when I go to the dos prompt and try to type "attrib -r-h-s system.dat" it gives me a bad command meesage. wrong parameters ?. I also think it has something to do with the file not being visible at the dos prompht.
0
Comment
Question by:meepee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 8

Expert Comment

by:wayneb
ID: 1728747
First set the path to c:\windows\command do this by typing the following command.
path=c:\windows\command
Now try to do an attribute by doing the following
attrib system.dat -r -a -s -h
Now see if this works
Do exactly like I have the command line listed.
0
 

Accepted Solution

by:
rclevlnd earned 100 total points
ID: 1728748
You cannot change the attributes of these files from within windows (ie: Dos Window).  You must follow these stepps to complete the task you are attempting to accomplish:

1) Export your registry using regedit in windows or from the dos prompt with the /e option "regedit /e c:\myreg.reg" for example.

2) Restart your system in MS-Dos mode by selecting this from the shutdown menu, or by pressing F8 at bootup when the message "Starting Windows 95......." appears.

3) Change to your windows directory with "CD \windows"

4) Type ATTRIB system.da? -r -h -s and ATTRIB user.da? -r -h -s at the ms-dos prompt.

5) Delete the system.da? and user.da? from the windows directory.

6) Type the following after this is completed:

      REGEDIT /C c:\myreg.reg

This will import your copy of the registry "myreg.reg".  You may now start windows at normal.

"Myreg.reg" is just an example name.  Use whatever you want to use here.

Hope this helps....


0
 

Expert Comment

by:rclevlnd
ID: 1728749
Just a second thought.  The layout of the ATTRIB command is very important.  Spacing between the -r -h -s is vital.

Just to recap, the command should look like this:

ATTRIB filename.ext -r -h -s

Good Luck.

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:meepee
ID: 1728750
The attribute function worked,I think it was the spacing in the -r-h-s. I loaded a coulpe of the old registries,but it did't fix the error message" there in not enough menory or the registry is corrupted some apps won't work properly"
0
 

Expert Comment

by:rclevlnd
ID: 1728751
Just a question.  What version of Windows are U using? And is IE4.0 installed?  If you have Version A or B of win95 and have ie4 installed, the version of regedit may not be compatible with the registry changes ie4.0 may have made.  Check microsoft's web site to see if there is an updated regedit for win95 with 4.0.

I think I remember seeing something about this on:

support.microsoft.com

Your best bet may be to extract the portions of the registry (by catagory) and import them one at a time till you find the one that has the error.

I had to do this once, and it was a royal pain in the you know where, but it saved my poor notebook from oblivion.

I hope there is some information there that can help you a little.  


0
 

Author Comment

by:meepee
ID: 1728752
I have ver.OS2 "b" .I did not install IE4.0, I have IE 3.02, I don't think I will install IE4,from what I heard it is full of bugs.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
An article on effective troubleshooting
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question