home *** CD-ROM | disk | FTP | other *** search
- *Kobold Action Popups Demo
- *
- *Anything appearing after an asterisk (on the same line) is ignored.
- *Each of the "EXAMPLES" below can be activated and run by removing the
- *first asterisk on the left side of each example line and then selecting
- *"Execute Job" from the "Kobold" menu (and selecting this file :-)
- *The drives listed below must exist in order for the demo to work!
- *
- *These help files are not meant to be a substitute for the user manual,
- *but merely demonstrations of available commands. Please refer to your
- *Owners Manual for detailed explanations.
- *
- *--Copy----------------\/--------------------------------------------------
-
- *--Syntax--------------\/--|
-
- *--copy [open_folders] [keep sequence] [rename] [reset archives]
- * [keep flags] [ignore_wp]
-
- *--example #1----------\/--|copy open_folders
-
- *src_select + a:\folder *SELECT A:\FOLDER in SOURCE directory.
- *dst_select b:\ *SELECT B:\ as DESTINATION directory.
- *copy open_folders *OPEN the FOLDER and COPY its contents
- *to B:\ .
-
- *--example #2----------\/--|copy keep_sequence
-
- *#0 a:\folder\ *SELECT A:\FOLDER\ in SOURCE directory.
- *choose *+ *CHOOSE all files in this directory.
- *#1 b:\folder\ *SELECT B:\FOLDER\ in DESTINATION directory.
- *copy keep_sequence *COPY files from SOURCE to DESTINATION,
- *KEEP file SEQUENCE (files physical order).
-
- *--example #3----------\/--|copy rename
-
- *#0 a:\ *SELECT A:\ as SOURCE directory.
- *choose se on_level extensions = (INF) *CHOOSE/SELECT EXCLUSIVELY files ON
- *#1 b:\ *current directory LEVEL whose
- *copy rename *EXTENSIONS are INF. SELECT B:\
- *as DESTINATION directory. COPY
- *files from A:\ to B:\ and RENAME
- *them on the way.
-
- *--example #4----------\/--|copy reset_archives
-
- *#0 a:\ *SELECT drive A:\ as SOURCE directory.
- *choose se file = desktop.inf *CHOOSE/SELECT EXCLUSIVELY the FILE
- *#1 b:\ *DESKTOP.INF. SELECT B:\ as DESTINATION
- *copy reset_archives *directory. COPY A:\DESKTOP.INF to
- *B:\DESKTOP.INF and then RESET the ARCHIVE
- *bit on A:\DESKTOP.INF.
-
- *--example #5----------\/--|copy keep_flags
-
- *#0 a:\ *SELECT drive A:\ as SOURCE directory.
- *choose se file = desktop.inf *CHOOSE/SELECT EXCLUSIVELY the file
- *#1 b:\ *DESKTOP.INF. SELECT B:\ as DESTINATION
- *copy keep_flags *directory. COPY A:\DESKTOP.INF to
- *B:\DESKTOP.INF making sure to KEEP the
- *original write-protect,hidden and system
- *FLAGS intact.
-
- *--example #6----------\/--|copy ignore_wp
-
- *#0 a:\ *SELECT drive A:\ as SOURCE directory.
- *choose se file = desktop.inf *CHOOSE/SELECT EXCLUSIVELY the file
- *#1 b:\ *DESKTOP.INF. SELECT B:\ as DESTINATION
- *copy ignore_wp *directory. COPY A:\DESKTOP.INF to
- *B:\DESKTOP.INF. IGNORE the write-protect
- *flag on B:\DESKTOP.INF if it's on.
-
-
- *--Move----------------\/--------------------------------------------------
-
- *--Syntax--------------\/--|
-
- *--move [open_folders] [keep sequence] [rename] [keep flags] [ignore wp]
-
- *--example #1----------\/--|move open_folders
-
- *src_select + a:\folder *SELECT A:\FOLDER in SOURCE directory.
- *dst_select B:\ *SELECT B:\ as DESTINATION directory.
- *move open_folders *OPEN the FOLDER and MOVE its contents
- *to B:\ .
-
- *--example #2----------\/--|move keep_sequence
-
- *#0 a:\folder\ *SELECT A:\FOLDER\ in SOURCE directory.
- *choose *+ *CHOOSE all files in this directory.
- *#1 b:\folder\ *SELECT B:\FOLDER\ in DESTINATION directory.
- *move keep_sequence *MOVE files from SOURCE to DESTINATION,
- *KEEP file SEQUENCE (files physical order).
-
- *--example #3----------\/--|move rename
-
- *#0 a:\ *SELECT A:\ as SOURCE directory.
- *choose se on_level extensions = (INF) *CHOOSE/SELECT EXCLUSIVELY files ON
- *#1 b:\ *current directory LEVEL whose
- *move rename *EXTENSIONS are INF. SELECT B:\
- *as DESTINATION directory. MOVE
- *files from A:\ to B:\ , RENAMing
- *them on the way.
-
- *--example #4----------\/--|move keep_flags
-
- *#0 a:\ *SELECT drive A:\ as SOURCE directory.
- *choose se file = desktop.inf *CHOOSE/SELECT EXCLUSIVELY the file
- *#1 b:\ *DESKTOP.INF. SELECT B:\ as DESTINATION
- *move keep_flags *directory. MOVE A:\DESKTOP.INF to
- *B:\DESKTOP.INF making sure to KEEP the
- *original write-protect,hidden and system
- *FLAGS intact.
-
- *--example #5----------\/--|move ignore_wp
-
- *#0 a:\ *SELECT drive A:\ as SOURCE directory.
- *choose se file = desktop.inf *CHOOSE/SELECT EXCLUSIVELY the file
- *#1 b:\ *DESKTOP.INF. SELECT B:\ as DESTINATION
- *move ignore_wp *directory. MOVE A:\DESKTOP.INF to
- *B:\DESKTOP.INF. IGNORE the write-protect
- *flag on B:\DESKTOP.INF if it's on.
-
-
- *--Read Into Buffer----\/--------------------------------------------------
-
- *--Syntax--------------\/--|
-
- *--read_into_buffer [keep_flags] [ignore_wp]
-
- *--example #1----------\/--|read_into_buffer keep_flags
-
- *#0 a:\ *SELECT drive A:\ as SOURCE directory
- *choose se on_level extensions = (INF) *CHOOSE/SELECT EXCLUSIVELY ON the
- *read_into_buffer keep_flags *current directory LEVEL, files which
- *end in INF . READ these files INTO
- *the BUFFER making sure to KEEP the
- *files Write-Protect, Hidden and
- *System flags.
-
- *--example #2----------\/--|read_into_buffer ignore_wp
-
- *#0 a:\ *SELECT drive A:\ as SOURCE directory
- *choose se on_level extensions = (INF) *CHOOSE/SELECT EXCLUSIVELY ON the
- *read_into_buffer ignore_wp *current directory LEVEL, files which
- *end in INF . READ these files INTO
- *the BUFFER, IGNORing any WRITE-
- *PROTECTED files.
-
-
- *--Write Buffer--------\/-------------------------------------------------
-
- *--Syntax--------------\/--|
-
- *--write_buffer [keep]
-
- *--example #1----------\/--|write_buffer
-
- *#0 a:\ *SELECT drive A:\ as the SOURCE directory.
- *choose se file = desktop.inf *CHOOSE/SELECT EXCLUSIVELY the FILE
- *read_into_buffer *A:\DESKTOP.INF. READ this FILE into
- *#1 b:\ *BUFFER. SELECT drive B:\ as DESTINATION
- *write_buffer *directory. WRITE the contents of the
- *BUFFER to drive B:\, then erase BUFFER.
-
- *--example #2----------\/--|write_buffer keep
-
- *#0 a:\ *SELECT drive A:\ as the SOURCE directory.
- *choose se file = desktop.inf *CHOOSE/SELECT EXCLUSIVELY the FILE
- *read_into_buffer *A:\DESKTOP.INF. READ this FILE into
- *#1 b:\ *BUFFER. SELECT drive B:\ as DESTINATION
- *write_buffer keep *directory. WRITE the contents of the
- *BUFFER to drive B:\, but KEEP the BUFFER
- *intact.
-
-
- *--Delete--------------\/--------------------------------------------------
-
- *--Syntax--------------\/--|
-
- *--delete [ignore_wp]
-
- *--example #1----------\/--|delete
-
- *#0 a:\ *SELECT drive A:\ as SOURCE directory.
- *choose se file = desktop.dat *CHOOSE/SELECT EXCLUSIVELY the FILE
- *delete *DESKTOP.INF. DELETE it.
-
- *--example #2----------\/--|delete ignore_wp
-
- *#0 a:\ *SELECT drive A:\ as SOURCE directory.
- *choose se file = desktop.dat *CHOOSE/SELECT EXCLUSIVELY the FILE
- *delete ignore_wp *DESKTOP.INF. DELETE it even if it's
- *WRITE-PROTECTED.
-
-
- *--file attributes-----\/--------------------------------------------------
-
- *--Syntax--------------\/--|
-
- *--file_attributes = (write-protect,hidden,system,archive)
-
- *--example #1----------\/--|file_attributes
-
- *#0 a:\ *SELECT drive A:\ as SOURCE directory.
- *choose se file = desktop.inf *CHOOSE/SELECT EXCLUSIVELY the FILE
- *file_attributes = (off,*,*,on) *DESKTOP.INF. Turn the Write-Protect
- *FILE ATTRIBUTE off, leave the Hidden
- *and System FILE ATTRIBUTEs as they
- *are and turn the Archive FILE ATTRIBUTE
- *on.
-
-
- *--Reset_Status--------\/--------------------------------------------------
-
- *--example #1----------\/--|reset_status
-
- *#0 a:\ *SELECT drive A:\ as SOURCE directory.
- *choose se file = desktop.inf *CHOOSE/SELECT EXCLUSIVELY the FILE
- *reset_status *DESKTOP.INF. RESET the STATUS of all
- *objects within the current directory
- *to how they were directly after reading
- *the directory.
-
-
- *--|that's it! cjh.3/13/98
-
-