Short: Remove assigns from a dir and its subdirs Author: TheAntony@bigfoot.com (Andrija Antonijevic) Uploader: TheAntony bigfoot com (Andrija Antonijevic) Type: util/rexx Version: 1.2 Architecture: m68k-amigaos This script removes all assigns from a directory and all its subdirectories and files and optionally deletes the directory with its contents. $VER: ElAssign.REXX V1.2 (16.12.97) © Andrija Antonijevic Written by Andrija Antonijevic . Many thanks to Charles Patterson whose DeAssign.dopus5 gave me the idea to write my own version. I made the following improvements: - You don't need DOpus5 since it works with everything including DOpus4, DOpus5 and any other kind of filemanager program. - It will remove all assigns from a directory and all its subdirectories and files unless NODEEP option is specified. - Deleting chosen directory with all its contents is just an option here. You can specify DELETE for deleting the directory with confirmation and KILL for deleting without confirmation. - You can give any kind of path to the directory/file: using complete path, relative path or assign. Version 1.2: - Fixed a small bug which would cause things like "CD0:" not to be properly deassigned. Version 1.1: - Fixed a very dangerous bug caused by different treatment of .info files in DOS. If .info file was passed as argument to this script, it would eventually become the current directory! So it was very dangerous if someone used KILL option and selected icon file for deletion. Requirements: ~~~~~~~~~~~~~ - rexxsupport.library (reqired) - rexxreqtools.library - only if you specify DELETE option - Filemanager like DOpus4 or 5 will make things easier (optional ;)) If you find any bugs or have some suggestions, please contact me. /// /_\ _ _| |_ ___ _ _ _ _ Amiga Translators Organization __ /// / _ \| ' \ _/ _ \ ' \ || | (Serbian department) \\\/// /_/ \_\_||_\__\___/_||_\_, | Height Anxiety \XX/ TheAntony@bigfoot.com |__/ Team AMIGA