Articles: Storage
 

Bookmark and Share

(1) 
Pages: [ 1 | 2 | 3 | 4 | 5 | 6 ]

Script Commands

First of all, let me enumerate all supported commands and then we will try to figure out how we can combine them.

Comment puts a comment into the log file.

Usage: comment <quoted text>

Compress reads files from the list and creates a new file, whose size is in the <compression ratio> times smaller than the total size of the files in the list. This command can create a temporary list with the name of the newly-created file.

Usage: compress <list><target file><compression ratio>[<target list>]

Copy copies files as specified in the list into the specified directory. It can create a temporary list of the copied files

Usage: copy<list><target dir>[<target list>]

Create creates files in the specified directory according to the pattern. This command can create a temporary list of created files.

Usage: create <pattern><target dir>[<target list>]

Clean deletes files from a temporary file-list and throws the list out of the memory. This command doesn’t work with lists loaded from a file or written into a file.

Usage: clean <file-list>

Decompress reads data from the source file and creates new files according to the pattern in the specified directory. The amount of the read data is in the <compression ratio> times smaller than the total size of the files in the pattern. The source file should be large enough for the operation to end successfully. This command can create a temporary list of the created files.

Usage: decompress <pattern> <source file> <target dir> <compression ratio> [<target list>]

Pause is used for stopping the script for the specified number of seconds.

Usage: pause <seconds>

Read reads files from the list.

Usage: read <file list>

Reboot reboots the computer. After the restart, the script is continued from the next line.

Usage: reboot.

Recycle clears the temporary file-list from the memory. It doesn’t work with lists loaded from a file or written into a file. Files, whose names are in the list, are not deleted.

Usage: recycle <file-list>

Save saves a list or pattern with the specified name. After that, the temporary list is no longer a temporary one. The old name of the temporary list is freed for use.

Usage: save <list | pattern><target file>

System executes a command or application with the defined arguments and waits till the execution is complete.

Usage: system <command> [<arguments>]

 
Pages: [ 1 | 2 | 3 | 4 | 5 | 6 ]

Discussion

Comments currently: 1
Discussion started: 08/16/07 08:25:38 AM
Latest comment: 08/16/07 08:25:38 AM

View comments

Add your Comment