home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
-
- ╔══════════════════════════════════════════════════════╗
- ║ FILEATTR.EXE by Brian Meier ║
- ╚══════════════════════════════════════════════════════╝
-
-
-
- FILEATTR.EXE is a program to set certain attributes on or off for
- your DOS files. Specifically you can make a file hidden so that it
- does not show up using dos DIR command, you can make a file read/only
- so that it can be viewed but not changed or deleted, you can set a
- file as a system file, or you can show the file as archived which
- means that the file has been edited. This is the fourth program I
- have uploaded to GENIE; I'm averaging a program a week. For those
- of you with CGA, you might have encountered a problem with the
- DSKCHK.EXE program. On 2/20/87 a new version of dskchk will be
- uploaded which fixes this as well as provides options for monochrome
- graphic monitors which will use patterns instead of colors. It will
- also allow option to pause program before checking disk so users with
- only one disk drive will not be required to have the dskchk program
- on each disk.
-
-
- File Attributes
- ────────────────
- HIDDEN -- Hidden files are files on your disk which do not show up
- using the Dos dir command. This is one way to hide files
- with sensitive information. Though you cannot see the
- file you can still access it by name thus you could still
- say TYPE project.dat to display the file.
-
- R/O -- Read/Only files are files which you can view, but are not
- able to change or delete from disk. If you have some
- important files which you do not want deleted or changed
- you may wish to make the file read/only
-
- SYSTEM -- System files are files generally important to the correct
- operation of your system. these files are often also
- position sensitive which means they may not work if moved
- to another place on disk. Some copy protection formats
- use position sensitive files. As a general rule, these
- files are also hidden and read/only as precautions. An
- example of this would be the IO.SYS and MSDOS.SYS files
- found in the rood directory of disks. Do not alter these
- files.
-
- ARCHIVE -- Archived files are files that have been edited. When you
- create a file or edit a file, it will usually be archive.
- Some word processing programs use this information when
- making backups of files. Another use for this is to set
- the archive flag off for a file, when the file has been
- changed the archive flag will be on so you will know if
- changes have been made.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Using FILEATTR.EXE
- ──────────────────
- Command is: FILEATTR [[path]fn.ft] [/m] [/w]
-
- where fn.ft is the path, name, and type of the files you wish to
- work with. Wildcards are accepted, i.e. *.pas or test??.bat.
- the path and filename are all one parameter. You may specify any
- drive or directory in the path. For example:
- FILEATTR C:\pascal\*.exe
- FILEATTR A:*.com
- The first option is /m which indicates that you whis to use a
- monochrome monitor. The program will then run in black and white.
- The second option is /w which indicates that you wish to wait before
- scanning the indicated directory. This is useful if you have only
- one disk drive and dont want to place the program on the disk you are
- checking. An example is:
- FILEATTR A:\*.com /m /w
- After entering this command, you will see the message: insert disk
- and hit any key. Then the directory will be scanned.
-
-
- Defaults
- ──────────
- The defaults are:
- FN = *.* and scans the current directory.
- color is on
- wait is off
- If you specify just filename the current directory is used.
- Path and filename must be first parameter if used.
- The /w and /m options may appear as first, second, or third parm.
-
-
- Disclaimer
- ────────────
- You are free to distribute this program freely so long as all the
- documentation and files are unchanged and included as a package and
- the program is not sold for profit. This software is provided as-is,
- the user assumes all risks and liabilities in the use or inability
- to use this program.
-
-
- Comments
- ─────────
- I would appreciate hearing your comments, suggestions, design change
- requests, reports of bugs, etc, etc, etc.. You may contact me at
- GEmail address B.MEIER or write to:
- Brian Meier
- P.O. Box 111146
- Arlington, TX 76006
-