General discussion

Locked

Windows 98 File Attribute Control

By first-step-online ·
How can I get Windows 98 to leave my file attributes alone when I copy them. It keeps changing open access files to Read Only and/or Archive but is not consistent even within the same folder. My settings are to Share files and I am not on a network.Every time I copy to another folder, CD or diskette, I have to open File Properties and untick everything!

This conversation is currently closed to new comments.

12 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Windows 98 File Attribute Control

by rucinski In reply to Windows 98 File Attribute ...

When copying files, even back to DOS 1 days, the Attribute is always set to show that the file has not been backed-up.

If you are not on a network, there is no reason to allow sharing. In fact, sharing is quite dangerous while using an Internet connection.

You can not "copy" files to a CD; you may create a CD with files from another source and they will be marked read-only. When copying them back from the CD, the read-only bit is preserved.

With this in mind, I do not understand yourquestion.

Select Start -> Shut-Down -> Restart in MSDOS mode and type:

ATTRIB -S -H -R -A *.* /S

and re-boot.

Bob

Collapse -

Windows 98 File Attribute Control

by first-step-online In reply to Windows 98 File Attribute ...

OK, thanks for the note about the Sharing designation.
It was tried in an effort to stop Windows adding file protections.

And transferring my files to a created CD, as I understand you, makes them all ReadOnly there, and Read Only when they are transferred back to a hard drive.

More specifically, I put about 500 meg of files and programs, spread through 10 folders into 1 folder on my hard drive. In preparation for transferring these to a created CD, I copy them into a second folder --- in case the CD creation process alters anything.

All of the files in folder 1 are open, all the attributes are unticked.
After I copy them into the CD creation preparation folder, the attributes are changed. The files in each subfolder are a hodge-podge of mostly Read Only, many Archive, and a few left alone. Files in the same folder of the same type, ie HTML, end up with different attributes.

It doesn't make sense to me how a program can be so inconsistent or what setting might resultin such.

Collapse -

Windows 98 File Attribute Control

by rucinski In reply to Windows 98 File Attribute ...

Sounds more like a problem with your CD creation software (or something else in the background.)

Run MSCONFIG and turn everything off on the Startup tab except Taskbar, EM_EXEC, and system Tray.

Since you appear to not know how to use TechRepublic, it isn't a far stretch to assume that you are attempting to use a backup-on-the-fly feature to the CD which would mark "active" files as read-only to prevent corruption of that which you are trying to preserve.

Thanking me for my responses and going so far as to indicate that they were helpful while marking the answer "rejected" without allowing an opportunity for me to "comment" is out of line.

Bob

Collapse -

Windows 98 File Attribute Control

by first-step-online In reply to Windows 98 File Attribute ...

To Bob, Rucinski@SpamCop.Net

You are correct, this is the first time I have used TechRepublic's Question-Answer service. The format suggested that noting that an answer was helpful would surrender points and close the question. And, indeed, this IS the case.

As the answer was insufficient, I noted not helpful and expressed my thanks in the comment. I later found that I could not submit a comment without selecting one of the 2 valuations. If there is some other way to leave an unanswered question open and show thanks for a part answer, it is not obvious.

I tried the ATTRIB instruction you submitted.
All variations resulted in "Bad command or file name."
I have never used on-the-fly backup to anything.
With hesitation, because there was no rationale, I deselected all the 19 items in MSCONFIG.EXE Start dialog, except Scan Registry, Task Monitor, and System Tray. Two of the 3 items you mentioned were not there. I tried folder to folder copying on the hard drive again, fromwithin File Explorer. The result was randomized attribution of the Archive tag to files, programs and images in the copy. Is this a feature-bug of Windows File Explorer?

I may have my own answer to the Read Only attributes.
I was creating CD-based file backups.
CD-RWs proved unreliable with a 50%+ failure, so I switched to CD-Rs.
After one of my W98 crashes, I reformatted the hard drive and re-installed W98. Reloading from my CD-R probably resulted in Read Only files on the hard drive, not noticed immediately. These could have become mixed with newly created files and complicated with the Archive tag problem mentioned above. After untagging ALL of the files etc in the Source folder, and reloading W98, again, I only have the Archive tag problem.

If it is a "feature" that can't be deselected, you have the points.
If it can be changed, I'm looking for the answer.

John

Collapse -

Windows 98 File Attribute Control

by rucinski In reply to Windows 98 File Attribute ...

You and TechRepublic are a moving target. Please go shoot skeet somewhere else.

I'm outta here.

Bob

Collapse -

Windows 98 File Attribute Control

by first-step-online In reply to Windows 98 File Attribute ...

Poster rated this answer

Collapse -

Windows 98 File Attribute Control

by first-step-online In reply to Windows 98 File Attribute ...

Point value changed by question poster.

Collapse -

Windows 98 File Attribute Control

by rucinski In reply to Windows 98 File Attribute ...

Keep punching that "reject" button. Whatever makes you happy.

TechRepublic has been reported.

Bob

Collapse -

Windows 98 File Attribute Control

by first-step-online In reply to Windows 98 File Attribute ...

Bob,
Since your not helping, or communicating constructively, why continue.
John

Collapse -

Windows 98 File Attribute Control

by f-1641718 In reply to Windows 98 File Attribute ...

Geez Guys... lighten up.

First-step, I think you noticed the "problem" halfway down the line and you're confused by a conundrum excerbated by copying to/from CDs.
Despite what MS says, DOS is alive, prevalent, and wreaking havoc with your conceptions. As Bob explained, it starts with attributes used by DOS for marking files for back-up, and what you see as inconsistencies actually follow a pattern... if you know the rules.
Example, a file without its archive attribute set moved to another folder will have no change, whereas the same file copied will have its archive attribute set in the new folder (it is file that did not exist before and so, marked to be backed up).
Further, if you (or software) did a back-up between the time the file was copied and the time you did a comparison, they will not (necessarily) match.
As you have found out, anything written to a CD automatically has its Read-Only attribute set (Compact Disk-READ ONLY Memory).
I would guess that (unless you used a "smart" util, that was "helping" more than it should) you saw no changes in Hidden or System attributes. But... other things could effect changes, like utilities that lock drives and make changes unbeknownst to DOS.
Stripping attributes (aftera full back-up), as Bob suggested, would level the playing field; leaving you with a known start to observe changes for irregularities... although I would not recommend stripping (Hidden and) System attributes.
Don't remember if this was mentioned,but I assume that you have checked the system for viruses... and you have done a scan for problems between the copies of your FAT... RIGHT !
Past this, there is not much anyone can offer without an infallible base documented with changes to the system on which we determine what else may be at play here.

Hope this helps...
BobM.

Back to Windows Forum
12 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums