<new topic>
AttriBat

Files & Folders Attributes Batch maker

Features:

If you  restore a backup from MS-DOS, then files that

have the Read-Only, Hidden and System attributes will

not be restored from backup unless you set their attributes

to Normal.

That is also true if you use a DOS unzipping software, they have switches

to restore Hidden, Read Only and System but will not overwrite a

Read-Only file or folder.

AttriBat.exe will search selected drive or directory for files and folders that

have Read-Only, Hidden and System attributes and make batch files

to set all files and folder attributes to Normal, then restores from zipped

backup, then restores files and folders attributes.

The backup restore batch files are:

AtNorm.bat(name optional) and AtRest.bat(name optional)

See below for more options.

1) Run AtNorm.bat to set all Read Only, Hidden and AtRest.bat which

will set all files and folders attributes to Normal, then executes AtRest.bat

which will restore from zipped backup then restore all files and folders attributes.

These batch files has to be made in Windows and should be stored in the

root directory C. Or store them in the backup drive or directory.

Pkunzip.exe, Attrib.exe and Choice.com have to be in the same directory

where the batch files are stored.

You should always keep AtNorm.bat and AtRest.bat in the root directory

C all the time, a day will come that you might need them.

AttriBat method is much more reliable and faster than using the command:

Attrib C:\*.* -s -h -r /s

it also it restores attributes.

Instructions:

There is three buttons to choose from

#1) Make Pkunzip DOS Restore Batch File only.

This will make a DOS Pkunzip restore batch file.

Batch file name will be Restore.bat(name optional),

Pkunzip.exe is copied to the location where the batch

files are copied.

Note: AttriBat is part of MinuteMan Data Backup which has Pkunzip.exe

included. AttriBat distributed alone doesn't have Pkunzip.exe included.

Copy Pkunzip.exe to the Attribat directory, download or buy MinuteMan

to get Pkunzip.exe.

AttriBat restore batch files restore recursed backups only.

Example:

Pkunzip -Jhsr C:\Windows.ZIP C:\ -do

It will extract Windows.zip to the Windows directory,

-Jhsr (J is upper case) stands for, extract all files with

Hidden, Read-Only and System files.

-do The d stands for restore/create Directory structure stored in .ZIP file,

and the o stands to overwrite without prompting.

#2) Make Attribute Batch Files only

This will make two batch files, AtNorm.bat and AtRest.bat

(names optional) only.

Run AtNorm.bat to set all files and folders to normal attributes,

type atnorm at the Command Prompt Only to run AtNorm.bat.

Then restore from backup or manipulate files and folders in MS-DOS.

Run AtRest.bat to restore all files and folders to their original

attributes, type atrest at the Command Prompt Only to run AtRest.bat.

#3) Make Both

This will make two batch files, AtNorm.bat and AtRest.bat.

Run AtNorm.bat to set all Read Only, Hidden and AtRest.bat which

will set all files and folders attributes to Normal, then executes AtRest.bat

which will restore from zipped backup then restore all files and folders attributes.

Note: AttriBat restore batch files restore recursed backups only.

When you run Make Both then Pkunzip.exe is copied to the location

of the batch files if one doesn't already exist.

Attrib.exe is copied from Windows\Command to  the location

where the batch files are store, if one doesn't already exist.

Choice.com is copied to where you store batch files if one found,

Choice.com gives the prompt option in batch files before executing.

Text Boxes:

There are three text boxes that have to be filled and three optional.

The three boxes has to be filled if you select button 1 or 3.

If you select button 2 then only the "Backed up directory" text box

and the "Store batch files at" has to be filled.

After selecting path, double click text box to transfer path.

Note:

All paths in text boxes has to be in DOS short file name, once you

double click the text box to transfer path, it will automatically converts

long file names to short file names.

Install:

AttriBat is already included with MinuteMan Data Backup

and a part of MinuteMan data backup.

If you downloaded AttrIbat by itself then it needs the VB5run to be

installed, if you don't have the VB5run then download at

http://www.mslm.com/free.htm

To install AttriBat, double click Setup.exe and select a path

for it to be installed in.

Pkunzip.exe has to be in the same directory as AttriBat.

Un-install:

Delete the directory AttriBat and delete the shortcut in the StartMenu.

================

AttriBat

1998/99 © Copyright. All rights Reserved

Theodore Fattaleh

Author, Programmer, Publisher.

http://www.mslm.com

twf@flash.net

2000@msn.com

2000ted@compuserve.com