Home
Paragon Scripting Language -
Contents
1. Paragon Scripting Language 32 User Manual ENABLERESTART Turns on off the system restart operation ENABLEVIRTUALDB Turns on off virtual Backup Restore operations AUTOCONVERTTOFAT32 Turns on off auto convert of FAT16 to FAT32 SIDPARAMSLENGTH Defines the default length of the SID changer command line SIDPARAMS Defines the default SID changer command string SID Changes the partition SID according to the specified parameters In case there are no parameters specified the default value is used SID DISK Changes the disk SID according to the specified parameters In case there are no parameters specified the default value is used PARTTYPE Returns the partition type from MBR STARTSECTOR Returns the partition start sector ENDSECTOR Returns the partition end sector BOOTSIZE Returns the number of boot sectors ROOTSIZE Returns the root size CLUSTERSIZE Returns the cluster size FATNUMBER Returns the number of FAT copies ROOTFILES Returns the number of the root directory files INTEGRITY Checks the archive integrity Copyright 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 33 User Manual UFSD Accesses the file by using UFSD Universal File System Driver CDB Backups restores file to from CD DVD a device The device is specified by its sequence number SELECT Backups restores file to from the previously selected partition
2. UNPROTECT PARTITION LAST Removes the last partition write protection UNPROTECT PARTITION Removes the selected partition write protection MOVE Moves the selected partition to the selected copy partition MOVE LEFT Move the selected partition to the left MOVE RIGHT Move the selected partition to the right MOVE SPACE BEFORE Same as move right MOVE SPACE AFTER Same as move left COPY Copies one partition to another SELECT COPY DRIVE SELECT COPY DISK Selects the disk for a copy operation SELECT COPY PARTITION Selects the partition by number letter or a volume label for a copy operation SELECT COPY PARTITION FIRST Selects the first partition as a target for a copy operation Copyright 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 24 User Manual SELECT COPY PARTITION LAST Selects the last partition as a target for a copy operation SELECT COPY PARTITION EXTENDED Selects the extended partition as a target for a copy operation SELECT COPY PARTITION LARGEST Selects the largest partition as a target for a copy operation SELECT COPY PARTITION SMALLEST Selects the smallest partition as a target for a copy operation SELECT COPY PARTITION NEXT Selects the next partition as a target for a copy operation SELECT COPY PARTITION PREVIOUS Selects the previous partition as a target for a copy operation SELECT COPY PARTITION OFFSET Selects the pa
3. lt size operand gt lt delete partition gt DELETE lt delete options gt delete options lt string gt NO NAME LINUXSWAP UNKNOWN wipe WIPE wipe options WIPE DISK wipe options wipe options wipe old options METHOD CUSTOM wipe old options METHOD US DOD US NAVY RLL US NAVY MFM BRITISH HMG INFOSEC GERMAN VSLTR AUSTRALIAN ASCI 33 RUSSIAN GOST GUTTMANS SCHNEIDERS PARAGONS gt wipe new options wipe new options VERIFY size operand gt wipe old options MASK size operand gt PASS size operand gt PERCENTS size operand gt hex mask Ox hex digit gt lt hex digit gt lt hex digit digit A B C D E F Copyright 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 10 User Manual clear free space CLEAR lt wipe options protect partition protect disk protect partition protect protect partition unprotect partition disk protect SET DRIVE READ ONLY MODE lt protect disk switch protect partition PROTECT PARTITION FIRST PROTECT PARTITION LAST PROTECT PARTITION unprotect partition UNPROTECT PARTITION FIRST UNPROTECT PARTITION LAST UNPROTECT PARTITION protect disk switch ON OFF move partition move left move right move space before move
4. SELECT FREESPACE SMALLEST SELECT FREESPACE size operand gt SELECT FREESPACE OFFSET size operand gt SELECT FREESPACE PRIMARY lt size operand gt SELECT FREESPACE LOGICAL size operand gt SELECT FREESPACE ADDRESS size operand gt lt select image lt select all images SELECT IMAGE ssize operand gt image restore options RESIZE IMAGE NO RESIZE IMAGE PROPORTIONAL RESIZE IMAGE size operand gt RESIZE IMAGE MAX RESIZE IMAGE MOST SPACE operations with floppy store floppy restore floppy store floppy lt select floppy OPTIONS store options store options store restore floppy lt select floppy OPTIONS restore options restore options restore lt select floppy SELECT FLOPPY size operand gt SELECT FLOPPY letter operations with MBR gt store MBR restore MBR gt store MBR gt lt select mbr gt OPTIONS store options store options store CopyrightO 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 8 User Manual restore MBR gt lt select mbr gt OPTIONS restore options lt restore options gt lt restore gt lt select MBR gt SELECT MBR lt disk specification gt lt operations with first track gt lt store first track gt lt restore first track gt lt store first track lt select first track OPTIONS lt store
5. Selects the previous partition on the disk SELECT PARTITION OFFSET Selects partition by the start sector Copyright 1994 2008 Paragon Software Group All rights reserved User Manual Paragon Scripting Language 19 SELECT PARTITION ADDRESS Selects partition of the specified sector SELECT FREESPACE FIRST Selects the first free space on the disk SELECT FREESPACE LAST Selects the last free space on the disk SELECT FREESPACE LARGEST Selects the largest free space on the disk SELECT FREESPACE SMALLEST Selects the smallest free space on the disk SELECT FREESPACE Selects free space by number SELECT FREESPACE OFFSET Selects free space by the start sector SELECT FREESPACE ADDRESS Selects free space of the specified sector SELECT IMAGE Selects image in the image file RESIZE IMAGE NO The last selected image will not be resized during restore RESIZE IMAGE PROPORTIONAL Proportionally resizes the last selected image during restore RESIZE IMAGE Resizes the last selected image according to the specified size in Kb during restore RESIZE IMAGE MAX Resizes the last selected image to the maximum size possible during restore RESIZE IMAGE MOST SPACE Changes the partition size up to the maximum available size during restore SELECT FLOPPY Selects floppy drive by name or number SELECT MBR Selects the disk for MBR backup restore operations SELECT FIRST TRACK Copyright 1994
6. size operand gt ask ASK lt debug gt SCO protect disk switch shell execute EXEC FILE lt filename gt PARAMETERS lt string gt lt string gt ENDPARAMETERS RUN FILE lt filename gt PARAMETERS lt string gt lt string gt ENDPARAMETERS lt default answers gt CONFIRM lt protect disk switch gt cycle disk cycle partition cycle do while cycle do while cycle DO lt command gt WHILE clause disk cycle FOR ALL DISKS command ENDFOR partition cycle FOR ALL PARTITIONS command ENDFOR condition IF clause THEN command ENDIF ELSE lt command gt ENDELSE clause if clause clause AND clause clause OR clause NOT clause clause CopyrightO 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 12 User Manual Sf clause af boot if hidden gt if primary if extended gt if logical gt if fat af size if filesystem if time ask if errorcode gt if exist af mount name gt if volume label if unknown if unformatted gt if errornoeuse gt if free if file exist af file is dir if os af compare strings if subsource extended if subsource extended SUBSOURCEEXTENDED lt filename gt lt string gt size operand gt if comp
7. gt lt host gt lt gt lt path gt lt host gt lt ip address gt lt string gt sip address gt sip number gt lt ip number gt lt ip number gt lt ip number gt sip number lt digit gt lt digit gt lt digit gt path any symbol gt common drive lt gt HARD lt number gt lt gt lt partition id gt lt gt SELECT lt gt partition id PARTITION lt number gt PARTSTART lt number gt PRIMARY lt number gt LOGICAL lt number gt lt psr command gt lt set psr options gt lt install psr gt lt uninstall psr gt set psr options gt PSR OPTIONS lt select scenario type lt select os type lt select source dir lt select source iso gt lt select install dir gt lt select timeout gt lt select key gt lt select message gt ENDOPTIONS install psr gt PSR INSTALL uninstall psr gt PSR UNINSTALL lt select scenario type PSR SCENARIO TYPE lt scenario type lt scenario type gt PSR SCENARIO BOOT PSR SCENARIO REBOOT lt select os type PSR OS TYPE os type gt os type PSR OS DOS PSR OS LINUX PSR OS ALL PSR OS WINPE lt select source dir PSR SOURCE DIR lt string gt lt select source iso gt PSR SOURCE ISO lt string gt CopyrightO 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 16 User Manual lt select install dir PSR INSTALL DIR
8. lt string gt lt select timeout TIMEOUT lt string gt lt select key KEY key lt key gt KEY A KEY Z KEY 0 KEY 9 KEY F1 KEY F12 KEY ESC KEY MINUS KEY EOUALS KEY BACKSPACE KEY TAB KEY OPENBRACE KEY CLOSEBRACE KEY ENTER KEY COLON KEY QUOTE KEY BACKSLASH KEY COMMA KEY DOT KEY DELETE KEY UP KEY DOWN KEY LEFT KEY RIGHT KEY ASTERISK PAD KEY MINUS PAD KEY PLUS PAD KEY LSHIFT KEY RSHIFT KEY LCONTROL KEY RCONTROL KEY LALT KEY RALT KEY SCRLOCK KEY NUMLOCK KEY CAPSLOCK lt select message MESSAGE lt string gt lt bm command gt lt set bm options gt lt install bm gt lt uninstall bm gt set bm options BM OPTIONS lt select bm path lt select timeout gt lt select key gt lt select message gt lt use old mbr gt ENDOPTIONS install bm gt BM INSTALL BM INSTALL ON DISK lt size operand gt uninstall bm BM UNINSTALL lt select bm path BM lt string gt use old mbr gt OLDMBR Semantics Each operation predefines the operation algorithm the user has to follow For example such operations as store partition disk restore partition disk first require setting up an appropriate disk partition and a backup file For such operations as create format resize modify delete wipe
9. size operand gt cluster size 512 1 2 4 8 16 32 64 resize larger RESIZE LARGER lt resize parameter CLUSTERSIZE size operand gt CopyrightO 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 9 User Manual lt resize left boundary gt RESIZE LEFT BOUNDARY lt resize parameter lt resize left boundary larger RESIZE LEFT BOUNDARY LARGER lt resize parameter resize left boundary smaller RESIZE LEFT BOUNDARY SMALLER lt resize parameter lt resize smaller RESIZE SMALLER lt resize parameter CLUSTERSIZE lt cluster size gt resize space after RESIZE SPACE AFTER lt resize parameter CLUSTERSIZE cluster size gt lt resize space before gt RESIZE SPACE BEFORE lt resize parameter gt modify partition lt convert gt resize root resize boot gt resize cluster change volume label gt change serial change partition id convert CONVERT TO FAT CONVERT TO FAT32 CONVERT TO HPFS CONVERT TO NTFS CONVERT TO PRIMARY CONVERT TO LOGICAL resize root RESIZE ROOT lt resize parameter resize boot RESIZE BOOT lt resize parameter resize cluster RESIZE CLUSTER lt resize parameter gt lt change volume label gt LABEL SETLABEL lt string gt change serial SERIAL SETSERIAL size operand gt lt change partition id gt PARTITIONID SETID
10. Ctrl on keyboard KEY LALT Specifies Left Alt on keyboard KEY RALT Specifies Right Alt on keyboard KEY SCRLOCK Specifies ScrollLock on keyboard KEY NUMLOCK Specifies NumLock on keyboard KEY CAPSLOCK Specifies CapsLock on keyboard MESSAGE Specifies a PSR message INSTALL Install something UNINSTALL Uninstall something OLDMBR Enables to use an old mbr in the BM mechanism Time Zone Codes Below are listed all the Time Zones codes 0 GMT 12 00 Eniwetok Kwajalein 1 GMT 11 00 Midway Island Samoa 2 GMT 10 00 Hawaii 3 GMT 09 00 Alaska 4 GMT 08 00 Pacific Time US amp Canada Tijuana 5 GMT 07 00 Arizona 6 GMT 07 00 Mountain Time US amp Canada 7 GMT 06 00 Central Time US amp Canada 8 GMT 06 00 Mexico City Tegucigalpa 9 GMT 06 00 Saskatchewan 10 GMT 05 00 Bogota Lima 11 GMT 05 00 Eastern Time US amp Canada 12 GMT 05 00 Indiana East CopyrightO 1994 2008 Paragon Software Group All rights reserved User Manual Paragon Scripting Language 44 User Manual 13 GMT 04 00 Atlantic Time Canada 14 GMT 04 00 Caracas La Paz 15 GMT 03 30 Newfoundland 16 GMT 03 00 Brasilia 17 GMT 03 00 Buenos Aires Georgetown 18 GMT 02 00 Mid Atlantic 19 GMT 01 00 Azores Cape Verde Is 20 GMT Greenwich Mean Time Dublin Edinbur
11. User Manual 0x1001C partition parameters exceed the available limits 0x1001D incorrect restart data unable to run the restart operation due to the restart data incompatibility 0x1001E boot area is too small i e 0 in the ResSect field for FAT16 or less than 32 for FAT32 0x1001F root directory size is too small unable to save all records of the root directory or RootEnts lt 16 0x10020 bad boot area disk is inaccessible 0x10021 invalid directory structure directory tree has errors Run CHKDSK to fix it 0x 10022 internal error 0x10023 failed to create open file 0x 10024 not enough space to create an archive file 0x10025 invalid archive file 0x 10026 not for the DEMO version 0x 10027 invalid environment type 0x10028 bad or missing dbnet ini or wattcp cfg file Network is inaccessible 0x10029 network initialization error Network is inaccessible 0x1002A either Boot Manager or EZ Drive system is present Unable to install Boot Manager Lite 0x1002B estimated CD image file size exceeds 640Mb 0x1002C invalid volume label in partition deletion or backup operation 0x1002D incompatible disks for multicast 0x1002E invalid script parameters 0x1002F forbidden operation 0x10030 invalid SID changer arguments 0x10031 invalid size of the partition image 0x10032 direct HDC access to the target partition is denied for Win only 0x10033 disk is too fragm
12. clear free space protect move check surface the user must select disk partition It should be mentioned here that the disks partitions numeration always starts from zero Let s take a look at some operations and their controls UNSELECT ALL Unselects all previously selected objects disks and partitions OPTIONS Specifies the beginning of the options group ENDOPTIONS Specifies the ending of the options box CopyrightO 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 17 User Manual SELECT DRIVE SELECT DISK Selects HDD SELECT PARTITIONS ALL Selects all the partitions on the disk IMG Specifies a path and a filename for the image file BASE Specifies a path and a filename of the base archive for the incremental backup BLUESCRN INSTALL Activates bluescreen on next Windows reboot Win32 only BLUESCRN path to the Bluescrn exe custom folder If set scripts will automatically search for Bluescrn exe in Bluescrn Bluescrn SCRIPT path to a script to execute in the bluescreen mode REBOOT immediately reboots from the current script optional BLUESCRN UNINSTALL Deletes bluescreen from the Windows register LABEL Specifies a volume label or an image file label for the partition CAS Specifies the sector by sector copy mode All data including deleted files will be saved PWD Specifies a password INCREMENT Specifies the increme
13. founded file or directory on each XFIND iteration RECURSIVE CopyrightO 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 39 User Manual Turns on off the recursive search in XFIND command DIRECTORIES FIRST Processes directories before files in the recursive search in XFIND command DIRECTORIES LAST Processes directories after files in the recursive search in XFIND command FILES FIRST Same as DIRECTORIES LAST FILES LAST Same as DIRECTORIES FIRST RECURSIVE LEVEL Specifies the level for the recursive search Use 0 for unlimited recursive level DIRECTORIES Turns on off to report directories as a search result FILES Turns on off to report files as a search result MASK Specifies mask of file or directory for the search criteria START Specifies the search start point SILENT Disables screen output except PRINT command output file is kept intact SEARCH Specifies the search parameters DEEP Searches files and directories by using the deep algorithm WIDE Searches files and directories by using the wide algorithm PSR Specifies beginning of a PSR command BM Specifies beginning of a BM command PSR_SCENARIO_TYPE Specifies type of a PSR scenario Copyright 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 40 User Manual PSR SCENARIO BOOT Specifies a PSR BOOT scenario PSR SCENARIO REBOOT Specif
14. gt lt psr_command gt bm command gt global command lt select disk lt select destination lt select store file gt lt select base archive lt select copy disk select copy destination unselect all gt apply undo check option settings block pause lt bluescrn gt unselect all UNSELECT ALL lt bluesern gt BLUESCRN INSTALL BLUESCRN lt string gt SCRIPT lt string gt REBOOT BLUESCRN UNINSTALL Sabel lt name gt lt name gt letter or underline letter or underline digit letter or underline a b c d e f g h i1 j k 1 m n o p q r s tju v w x y z A B C DIE FI GI HII J KIL M NJO PI Q R SI TJUIJVIW XIYI Z digit 51 2 3 4 5 6 7 8 9 0 Paragon partition manager command create partition format partition sets flag for partition resize partition modify partition delete partition wipe clear free space protect move partition copy partition copy disk change SID mount or umount gt lt list gt clear disk merge partitions lt defragment gt update mbr gt Paragon drive backup command operations with hard disk operation with partition operations with floppy operations with MBR operations with first track INTEGRITY lt pwd or none lt pwd or none lt string gt CopyrightO 1994 2008 Pa
15. lt string gt START lt filename gt SEARCH DEEP SEARCH WIDE lt silent gt SILENT protect disk switch stack operations PUSHSTR lt string gt PUSHNUM lt size operand gt file operations FILEDELETE lt filename gt FILEMAKEDIR lt filename gt FILEDELETEDIR lt filename gt FILERENAME lt filename gt lt filename gt FILECOPY lt filename gt lt filename gt FILEMERGE lt filename gt lt filename gt set variable SET VARIABLE lt string gt lt set value SET VALUE lt name gt size operand gt set string SET STRING lt name gt lt string gt lt operations with hard disk gt lt store hard disk gt lt restore hard disk gt store hard disk lt select all partitions OPTIONS lt store options lt store options store lt select disk SELECT DRIVE lt disk specification SELECT DISK disk specification disk specification Paragon magic number size operand gt network disk name gt linux name gt lt network disk name gt lt gt lt gt lt host gt lt gt lt path gt lt gt lt linux name gt hda hdb hdc hdd sda sdb sdc sdd lt Paragon magic number gt PARAGON lt number gt Copyright 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 6 User Manual lt select all partit
16. 2008 Paragon Software Group All rights reserved User Manual Paragon Scripting Language 20 User Manual Selects the disk for the first track backup restore operations CREATE Creates a new partition and format it optionally FS Specifies the partition file system type SIZE Specifies the size in Kb POSITION Specifies the partition position begin of the block end of the block or start sector ID Specifies partition ID for a newly created partition without format BEGINNING Specifies that the partition created must be placed at the beginning of the free space END Specifies that the partition created must be placed at the end of the free space FORMAT Formats the selected partition NTBUILDINFORMAT During the format operation restricts the available values according to the used OS CLUSTER Specifies the number of sectors per clusters BOOT Specifies the number of boot sectors ROOT Specifies the number of root directory entries HIDE Hides the selected partition UNHIDE Unhides the selected partition SET ACTIVE Makes the selected partition bootable SET INACTIVE Makes the selected partition non bootable Copyright 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 21 User Manual RESIZE Change the size of the selected partition CLUSTERSIZE Sets the specified cluster size MAX Resizes to the maximum size possible MIN
17. Default value SORT LARGEST LAST Places the largest files while defragmenting last Same as SORT SMALLEST FIRST SORT SMALLEST FIRST Places the smallest files while defragmenting first Same as SORT LARGEST LAST SORT SMALLEST ASIS Does not sort files by size while defragmenting Same as SORT LARGEST ASIS Default value Copyright 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 37 SORT SMALLEST LAST Places the smallest files while defragmenting last Same as SORT LARGEST FIRST HOTBACKUP Changes the HotBackup options OPTIONAL Optionally uses HotBackup ALWAYS Always uses HotBackup LOCKIMPOSSIBLE Uses HotBackup when lock is impossible NEVER Never uses HotBackup TEMPDRIVE Partition for the temporary HotBackup data OS Returns the current operating system DOS WIN95 OSR2 WIN98 WINME WINNT WIN2K WINXP LINUX OS2 BEOS BLUESCREEN Constants for identifying operating systems DO WHILE Executes cycles body while clause is true PARAMETERS Beginning of parameters for the file execution ENDPARAMETERS End of parameters for the file execution USERSTRING Asks string from the user and returns it STRINGSEQUAL Returns true if two strings are equal case sensitive STRINGSNOTEQUAL Returns true if two strings are not equal case sensitive STRINGSCASEEQUAL Returns true if two strings are equal case insensitive Copyri
18. E disk indicator partition indicator CLUSTERSIZE disk indicator partition indicator FATNUMBER disk indicator partition indicator ROOTFILES disk indicator partition indicator STRINGLENGTH lt string gt FILESIZE lt filename gt NOWTIME DAYOFMONTH ssize operand gt HOUR lt size operand gt DAYOFYEAR lt size operand gt MONTH size operand gt MINUTE size operand gt SECOND size operand gt DAYOFWEEK size operand gt YEAR size operand gt SUBQUANTITY lt filename gt lt string gt SOURCESIZE lt filename gt lt string gt SUBSOURCESIZE lt filename gt lt string gt size operand gt SUBSOURCEDISK lt filename gt lt string gt lt size operand gt SUBSOURCESTART lt filename gt lt string gt lt size operand gt CHARTOCODE lt string gt POPNUM DIRCONTENTS lt filename gt FILECREATETIME lt filename gt FILEMODIFYTIME lt filename gt FILEACCESSTIME lt filename gt value VALUE lt name gt parameter PARAMETER lt name gt arithmetic df filesystem FILESYSTEM disk indicator partition indicator lt equal gt fs type equal lt gt lt reboot gt REBOOT lt network command gt lt close component gt lt check presence gt lt close component gt CLOSE lt close file
19. EY COLON Specifies or on keyboard KEY QUOTE Specifies or 669999 on keyboard KEY_BACKSLASH Specifies or on keyboard KEY_COMMA Specifies or on keyboard KEY_DOT Specifies or 5 on keyboard KEY_SLASH Specifies or on keyboard KEY_SPACE Copyright 1994 2008 Paragon Software Group All rights reserved User Manual Paragon Scripting Language 42 Specifies SpaceBar on keyboard KEY_HOME Specifies Home on keyboard KEY_END Specifies End on keyboard KEY PGUP Specifies PgUp on keyboard KEY PGDN Specifies PgDn on keyboard KEY INSERT Specifies Ins on keyboard KEY DELETE Specifies Del on keyboard KEY UP Specifies UpArrow on keyboard KEY DOWN Specifies DownArrow on keyboard KEY LEFT Specifies LeftArrow on keyboard KEY RIGHT Specifies RightArrow on keyboard KEY ASTERISK PAD Specifies Grey on keyboard KEY MINUS PAD Specifies Grey on keyboard KEY PLUS PAD Specifies Grey on keyboard KEY LSHIFT Specifies Left Shift on keyboard KEY RSHIFT Specifies Right Shift on keyboard KEY LCONTROL Specifies Left Ctrl on keyboard CopyrightO 1994 2008 Paragon Software Group All rights reserved User Manual Paragon Scripting Language 43 KEY RCONTROL Specifies Right
20. LEST FIRST SORT SMALLEST ASIS SORT SMALLEST LAST lt select copy disk SELECT COPY DRIVE disk specification SELECT COPY DISK disk specification gt lt select copy destination gt lt select copy partition gt lt select copy freespace gt lt select copy partition gt SELECT COPY PARTITION lt size operand gt SELECT COPY PARTITION lt letter gt SELECT COPY PARTITION lt string gt SELECT COPY PARTITION FIRST SELECT COPY PARTITION LAST SELECT COPY PARTITION EXTENDED SELECT COPY PARTITION LARGEST SELECT COPY PARTITION SMALLEST SELECT COPY PARTITION NEXT SELECT COPY PARTITION PREVIOUS SELECT COPY PARTITION OFFSET lt size operand gt SELECT COPY PARTITION VARIABLE lt string gt SELECT COPY PARTITION PRIMARY lt size operand gt SELECT COPY PARTITION LOGICAL lt size operand gt SELECT COPY PARTITION ADDRESS lt size operand gt lt select copy freespace gt SELECT COPY FREESPACE FIRST SELECT COPY FREESPACE LAST SELECT COPY FREESPACE LARGEST SELECT COPY FREESPACE SMALLEST SELECT COPY FREESPACE lt size operand gt SELECT COPY FREESPACE OFFSET lt size operand gt SELECT COPY FREESPACE PRIMARY lt size operand gt SELECT COPY FREESPACE LOGICAL lt size operand gt SELECT COPY FREESPACE ADDRESS lt size operand gt goto GOTO lt label gt CALL label print PRINT lt string gt PRINTDEC size operand gt PRINTHEX
21. PARTSTART Specifies partition by its start sector PARTITION Specifies partition by its sequence number STRING Gets string from the string variable STRINGPARAMETER Gets string from the string parameter STRINGDEC Creates decimal string representation STRINGHEX Creates hexadecimal string representation SET STRING Assigns the specified string value to the specified variable STRINGLENGTH Returns the length of the specified string SUBQUANTITY If the archive is multivolume SUBQUANTITY returns volume numbers using the archive filename and its password SOURCESIZE Returns the size of a partition disk contained in the archive using archive filename and its password SUBSOURCESIZE If the archive is multivolume SUBSOURCESIZE returns the size of a partition contained in the archive Arguments for this command archive filename password and number 0 based SUBSOURCEDISK If the archive is multivolume SUBSOURCEDISK returns the partition source disk 0 based contained in the archive Arguments for this command archive filename password and number 0 based Copyright 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 34 User Manual SUBSOURCESTART If the archive is multivolume SUBSOURCESTART returns the partition start sector contained in the archive Arguments for this command archive filename password and number 0 based SUBSOURCEEXTENDED If the archive is m
22. Paragon Scripting Language M User Manual Paragon Scripting Language 2 User Manual CONTENTS Tntrodutti n GAGANA KANAN NG GNG AGANG 3 Explanation of Grammar AGANG IBA akh Banana han NN anna 3 PL ri in akan an au GAGA an NN NP NN Bana 4 SETMANGGES e AA AN RA Rn San an 16 Time Zone Sniper 43 Locale CODES m M nagane 44 Aa ya KA COGES D 46 Command Line Opini ANN ANN RENA 49 Simple Example es AAP BAN 50 CopyrightO 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 3 User Manual Introduction Paragon products support two modes of execution interactive and batch processing The interactive mode has a graphical interface and requires the user to carry out operations While working in the batch mode it is possible to control the operation by using a file of script commands A script file is a textual file written in the Paragon Scripting Language It contains a set of operations to execute with appropriate settings applied to these operations Paragon Scripting Language enables to automate the disk partition backup routines or cloning procedures of almost any complexity Besides support of all operations available in the interactive mode PSL provides some additional features such as conditional execution subroutines repeatable iterations disk partition properties analysis errors management etc Explanation of Grammar Let s use as an example
23. Resizes to the minimum size possible defined by the amount of data stored RESIZE LARGER Increases the partition size by the value specified RESIZE LEFT BOUNDARY Changes the extended partition size by moving its left boundary RESIZE LEFT BOUNDARY LARGER Increases the extended partition size by the change of its left boundary RESIZE LEFT BOUNDARY SMALLER Decreases the extended partition size by the change of its left boundary RESIZE SMALLER Decreases the partition size by specifying the incremental change in size RESIZE SPACE AFTER Changes the partition size by specifying the amount of the free space left after the partition when the operation is competed RESIZE SPACE BEFORE Changes the partition size by specifying the amount of the free space left before the partition when the operation is completed CONVERT TO FAT Converts a FAT32 or NTFS partition into FAT CONVERT TO FAT3 Converts a FAT or NTFS partition into FAT32 CONVERT TO HPES Converts a FAT partition into HPFS CONVERT TO NTES Converts a FAT partition into NTFS CONVERT TO PRIMARY Converts a logical partition into primary CopyrightO 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 22 User Manual CONVERT TO LOGICAL Convert a primary partition into logical RESIZE ROOT Changes the number of the elements in the FAT partition root directory RESIZE BOOT Changes the number of boot sectors RESI
24. S version 0x 10096 Tape i o error 0x10097 drive not ready error 0x10098 Win client is rebooting into DOS Server has to wait 0x10099 unable to block the target partition for Win DB operation is allowed in DOS mode only using the PIF 0x1009A unable to block the target partition for Win DB operation is allowed in DOS mode only using the FBW 0x1009B for Win DB source disk access sharing violation try to restart in Win mode or use PIF DOS mode 0x1009C for Win DB source disk access sharing violation try to restart in Win mode or use FBW DOS mode 0x1009D switch script mode DOS DB only 0x1009E direct HDC access to the source partition is denied for WIN only 0x1009F for Win DB blocking target partition the operation is applicable in DOS mode only using PIF 0x100A0 for Win DB blocking target partition the operation is applicable in DOS mode only using FBW 0x100A1 for Win DB source disk access sharing violation Operation is impossible 0x100A2 internal incompatible disks for copying 0x11000 stub manager already exists 0x11001 stub library has not been initialized 0x11002 previous virtual stub manager exists 0x11003 previous virtual stub manager does not exist 0x 11004 next Stub virtual manager exists 0x11005 next Stub virtual manager does not exist 0x11006 bad type of object 0x11007 operation is not associated with the StubMan specified 0
25. ZE CLUSTER Changes the number of sectors per cluster SETLABEL Changes the volume label of the selected partition SERIAL With no parameters specified this option displays the serial number of the selected partition SETSERIAL Specifies the serial number PARTITIONID With no parameters specified this option displays the partition ID of the selected partition SETID Specifies the partition ID DELETE Removes the selected partition WIPE Wipes the partition by using the mask and checks the result WIPE DISK Wipes the disk by using the mask and checks the result MASK Specifies the wipe mask PASS Specifies the number of wipe passes PERCENTS Specifies the object size for verification in percents 0 100 CLEAR Fills free space by using the mask and checks result Copyright 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 23 User Manual SET DRIVE READ ONLY MODE Sets or removes the disk write protection Write protection does not work for free blocks PROTECT PARTITION FIRST Sets the first partition write protection Write protection does not work for free blocks PROTECT PARTITION LAST Sets the last partition write protection Write protection does not work for free blocks PROTECT PARTITION Sets the selected partition write protection Write protection does not work for free blocks UNPROTECT PARTITION FIRST Removes the first partition write protection
26. agon Software Group All rights reserved Paragon Scripting Language Farsi Arabic Greek Classic Lithuanian Lithuanian Latvian Estonian Malay Faeroese Afrikaans Basque Indonesian Swedish Portuguese Norwegian Nynorsk Norwegian Bokmxl Dutch Italian Icelandic French Finnish Spanish Modern Sort Spanish Spanish Traditional Sort English German Danish Catalan Slovene Albanian Slovak Serbian Latin Croatian Romanian Polish Hungarian Czech Serbian Cyrillic Turkish CopyrightO 1994 2008 Paragon Software Group All rights reserved oO coco IN UB WIN RH OW NY Re 10 11 12 13 14 15 16 DD DW ND MBI WN HO 720 720 737 775 775 715 775 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 852 852 852 852 852 852 852 852 852 855 857 45 User Manual Paragon Scripting Language 46 User Manual Hebrew 0 862 Macedonian 0 866 Belarusian 1 866 Ukrainian 2 866 Russian 3 866 Bulgarian 4 866 Thai 0 874 Japanese 0 932 Chinese 0 936 Singapore Chinese Hong 1 936 Kong Chinese PRC 2 936 Korean 0 949 Chinese Macau 0 950 Chinese Taiwan 1 950 Error Codes Below is the list of the possible error codes 0x00 operation completed successfully 0x10001 partition parameters exceed the disk limits 0x10002 crosslinked partitions 0x 10003 not enough space available unable to create a part
27. are strings STRINGSEQUAL lt string gt lt string gt STRINGSNOTEQUAL lt string gt lt string gt STRINGSCASEEQUAL lt string gt lt string gt STRINGSCASENOTEQUAL lt string gt lt string gt if os gt OS equal os name gt os name DOS WIN95 OSR2 WIN98 WINME WINNT WIN2K WINXP LINUX OS2 BEOS BLUESCREEN af file is dir FILEISDIR lt filename gt lt if file exist FILEEXIST lt filename gt if free FREE disk indicator partition indicator if unknown UNKNOWN disk indicator partition indicator if unformatted gt UNFORMATTED disk indicator partition indicator if errornoeuse ERRORNOEUSE disk indicator partition indicator if errorcode gt error operand comparison error operand next gt error operand gt ERRORCODE lt size operand gt error operand next gt error operand gt size operand gt lt if exist if exist disk if exist partition lt if exist disk EXIST disk indicator lt if exist partition EXIST disk indicator partition indicator if mount name gt MOUNT disk indicator partition indicator equal lt string gt if volume label VOLUMELABEL disk indicator partition indicator equal lt string gt if boot BOOT disk indicator partition indica
28. directory specified as a parameter of the merge operator VOLUMELABEL Returns the partition volume label APPLY Executes the specified number of virtual operations APPLY ALL Executes all virtual operations UNDO Cancels the specified number of virtual operations UNDO ALL Cancels all virtual operations PAUSE Specifies timeout in seconds If the input value is 0 it waits for pressing any key AUTORESIZE Corrects the size of the target partition automatically to make it take all the available space UNKNOWN Copyright 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 29 User Manual Returns true if the file system is unknown otherwise false UNFORMATTED Returns true if the partition is unformatted otherwise false ERRORNOEUSE Returns true if there are any problem in the MBR gt EPR structure otherwise false SET VARIABLE Assigns a variable name to the current partition It does not work for free blocks SET VALUE Assigns the specified value to the specified variable SHUTDOWN Shuts down computer from the script VALUE Returns the value of variable PARAMETER Returns the value of the command line parameter SELECT PARTITION VARIABLE Selects a partition using a variable assigned to it SELECT COPY PARTITION VARIABLE Selects a target partition using a variable assigned to it PARAGON Selects a partition usin
29. e in the decimal format S lt parameter gt lt value gt Wno errnum lt number gt 0 lt output file gt To turn off writing output file use o none input lt script gt lt input file gt Simple Example settings oemcodepage 850 langnumber 17 endsettings confirm off print Save partition print select disk 1 select partition 1 img ufsd select HDDO0 part 1 pbf select partition 0 select partition 2 options cmp 9 pwd HDD0 part2 label Test Archive Define some options for store store call something do print Applying print apply all call something do goto out something do if errorcode 1 0 then print Some error occured strerror errorcode 1 print print Exiting print CopyrightO 1994 2008 Paragon Software Group All rights reserved 50 User Manual expert mode use with caution don t use CHS geometry Default disable use EBIOS Default disable specifies parameter for script specifies string parameter for script disables all warnings Default enable specifies number of errors to display specifies output file Default psi out specifies script from the command line specifies the input file Default psi in Setting codepage Setting language number Turn off questions Print message to screen Print new line Select stored filename Select stored partition Virtual store Call procedure Prin
30. ented to apply the size change operation 0x 10034 attempt to run an operation on an unknown or dead host 0x10035 DOS client is not found 0x10036 invalid password for decryption 0x 10037 installation error 0x10038 trial period expired 0x10039 partition is too small for FAT32 0x1003A partition is too big for FAT 16 0x1003B unable to restore disk image as a partition 0x1003C unable to restore partition image as a disk 0x1003D UNC filename can be created on NT systems only 0x1003E unable to create disk partition backup on the same disk partition 0x1003F file directory size is 4 GB 0x10040 NTFS decompression error 0x10041 invalid codepage file 0x 10042 incompatible version components 0x10043 wipe mask differences found 0x10044 unsupported NTFS version 0x10045 there are at least one encrypted file on this partition Decrypt it first and run again 0x10048 impossible to defragment due to bad blocks 0x10049 64 bit clusters are not supported 0x10050 disk is too big 0x10060 failed to read the dynamic disk info 0x10061 failed to mount partition 0x10062 failed to umount partition 0x10090 disk I O error CopyrightO 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 48 User Manual 0x10091 operation is cancelled by the user 0x10093 invalid operation code 0x10094 DPMI error 0x10095 no scripts in the DO
31. erand gt LANGNUMBER ssize operand gt SLAVECFG lt protect disk switch NOTFORSLAVE lt protect disk switch ENABLERESTART lt protect disk switch ENABLEVIRTUALDB protect disk switch AUTOCONVERTTOFAT32 protect disk switch SIDPARAMSLENGTH size operand gt SIDPARAMS lt string gt HOTBACKUP lt hotbackup parameters TEMPDRIVE lt letter gt lt hotbackup parameters OPTIONAL ALWAYS LOCKIMPOSSIBLE NEVER filename is a lt string gt but it has its own grammar filename ordinary file gt lt UFSD file CD DVD file gt ordinary file gt lt drive gt lt path gt ordinary file without slashes gt drive without slashes gt lt path gt Copyright 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 15 User Manual lt UFSD file gt UFSD lt gt lt gt lt ordinary file without slashes gt lt CD DVD file gt CDB lt gt lt gt lt number gt lt gt lt path gt lt drive gt lt dos drive gt lt linux drive gt lt common drive gt lt network file gt drive without slashes gt dos drive linux name gt lt number gt lt gt HARD lt number gt lt gt lt partition id gt lt gt SELECT lt gt lt dos drive gt lt letter gt lt gt lt linux drive gt lt gt lt linux name gt lt number gt lt gt lt gt lt network file gt lt gt lt
32. f the partition has the FAT file system otherwise false CURDISK Currently selected disk CURPARTITION Currently selected partition FIRST The first partition on the disk LAST The last partition on the disk EXTENDED The extended partition on the disk LARGEST The largest partition on the disk SMALLEST The smallest partition on the disk Copyright 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 27 User Manual SIZEDISK Returns the disk size in Kb SIZEPARTITION Returns the partition size in Kb SIZEFREE Returns the amount of the partition free space in Kb SIZEUSED Returns the amount of the partition used space in Kb FILESYSTEM Returns the partition file system type REBOOT Restarts the computer CLOSE Exits from the running component PRESENCE Checks the presence of all clients in the multicast group or of standalone clients Waits for this condition to be true TIME If the specified time is up but the current script is not running it returns true otherwise false CHECK Checks the current partition file system integrity SURFACETEST Checks the surface of the current partition ERRORCODE Returns the error code for the specified operation number If the number is equal to 1 the operation returns the error code for the last operation if 2 the previous operation code etc EXIST Returns t
33. for description of Paragon Scripting language the Backus Normal Form BNF BNF uses the following designations lt language gt lt command gt means that a condition language is a set of nonnegative numbers of commands since the sign defines the order of nonnegative numbers of arguments lt command gt lt simple_command gt lt advanced_command gt means that a condition command may be simple_command or advanced_command simple command lt prefix gt lt infix gt lt postfix gt means that a condition simple command consists of three constituents prefix infix and postfix A condition prefix may either be present or not in a simple_command As an example let s write description of identifier in the C language by using BNF lt identifier gt lt letter_or_underline gt lt letter_or_underline gt lt digit gt lt letter_or_underline gt alble dle figihjiljIklilminlolplafrisitlulviwixiyizIABICIDIEIFIGIHI JIKILIMINJOPPIOIR SITIUIVIWIXIYIZI digit 1 2 3 4 5 6 7 8 9 0 It means that the first symbol in identifier is a letter or underline and the others may be letter or underline or digit Reserved words are underlined Reserved words are case insensitive Between two conditions the user can place any number of spaces tabs new lines and even comments by using for an open comment and for a close comment The user can also comment on any string from symbol till the end of li
34. g the Paragon magic number SELECT PARTITION PRIMARY Selects a primary partition by number SELECT PARTITION LOGICAL Selects a logical partition by number SELECT FREESPACE PRIMARY Selects primary free space by number SELECT FREESPACE LOGICAL Selects logical free space by number SELECT COPY PARTITION PRIMARY Selects a primary partition for a copy operation by number SELECT COPY PARTITION LOGICAL Selects a logical partition for a copy operation by number CopyrightO 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 30 User Manual SELECT COPY FREESPACE PRIMARY Selects primary free space for a copy operation by number SELECT COPY FREESPACE LOGICAL Selects logical free space for a copy operation by number STRERROR Prints the error description EXIT Exits the program and returns the specified script exit code CALL Calls the procedure routine ENDCALL Returns the control after the point of this procedure call CBS Checks for bad sectors while running the operation RAV Specifies the number of passes for the write verification COPYDISK Copies one disk to another NO_FREESPACES Copies one disk to another skipping free blocks PROPORTIONAL Copies one disk to another with the proportional size change up to the maximum minimum defined values if available SETTINGS Defines the beginning of the block of settings ENDSETTINGS Defines the end of t
35. gh London Lisbon 2 GMT Monrovia Casablanca 22 GMT 01 00 Berlin Stockholm Rome Bern Brussels Vienna 23 GMT 01 00 Paris Madrid Amsterdam 24 GMT 01 00 Prague Warsaw Budapest 25 GMT 02 00 Athens Helsinki Istanbul 26 GMT 02 00 Cairo 27 GMT 02 00 Eastern Europe 28 GMT 02 00 Harare Pretoria 29 GMT 02 00 Israel 30 GMT 03 00 Baghdad Kuwait Nairobi Riyadh 31 GMT 03 00 Moscow St Petersburg Kazan Volgograd 32 GMT 03 30 Tehran 33 GMT 04 00 Abu Dhabi Muscat Tbilisi 34 GMT 04 30 Kabul 35 GMT 05 00 Islamabad Karachi Ekaterinburg Tashkent 36 GMT 05 30 Bombay Calcutta Madras New Delhi Colombo 37 GMT 06 00 Almaty Dhaka 38 GMT 07 00 Bangkok Jakarta Hanoi 39 GMT 08 00 Beijing Chongqing Urumqi 40 GMT 08 00 Hong Kong Perth Singapore Taipei 41 GMT4 09 00 Tokyo Osaka Sapporo Seoul Yakutsk 42 GMT409 30 Adelaide 43 GMT 09 30 Darwin 44 GMT 10 00 Brisbane Melbourne Sydney 45 GMT 10 00 Guam Port Moresby Vladivostok 46 GMT 10 00 Hobart 47 GMT 11 00 Magadan Solomon Is New Caledonia 48 GMT 12 00 Fiji Kamchatka Marshall Is 49 GMT 12 00 Wellington Auckland Locale Codes Name Language number OEM Codepage Vietnamese 0 1258 Korean Johab 0 1361 Swahili 0 437 Hindi 1 437 Urdu 2 437 English 3 437 CopyrightO 1994 2008 Par
36. ght 1994 2008 Paragon Software Group All rights reserved User Manual Paragon Scripting Language 38 User Manual STRINGSCASENOTEQUAL Returns true if two strings are not equal case insensitive PUSHNUM Pushes number to stack PUSHSTR Pushes string to stack POPNUM Pops number from stack If there is no number in the stack returns 0 POPSTR Pops string from stack If there is no string in the stack returns DIRCONTENTS Returns quantity of items subdirectories and files in the directory excluding and Parameter directory name FILECREATETIME Returns quantity of seconds from 1 January 1970 00 00 00 till the file creation time FILEMODIFYTIME Returns quantity of seconds from 1 January 1970 00 00 00 till the file last modify time FILEACCESSTIME Returns quantity of seconds from 1 January 1970 00 00 00 till the file last access time DIRELEMENT Returns name of directory s item Parameters directory name and number of item XFIND Recursively finds files using searching criteria If file or directory were found block of commands between BEGIN and ENDXFIND would process BEGIN Beginning of commands block which would be executed for every founded file or directory using XFIND command ENDXFIND Ending of commands block which would be executed for every founded file or directory using XFIND command RESULT Specifies name of the string parameter containing name of the
37. gt lt close file gt lt close file gt lt filename gt Copyright 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 14 User Manual lt check presence PRESENCE lt close file gt lt close file gt lt if time TIME lt hour gt minute day month year hour digit digit minute digit digit day digit digit month lt digit gt digit lt year gt digit digit apply APPLY size operand gt APPLY ALL undo UNDO size operand gt UNDO ALL pause PAUSE lt size operand gt lt strerror gt STRERROR error operand next gt lt exit_prog gt EXIT lt error operand next gt lt endcall gt ENDCALL lt settings block SETTINGS settings commands ENDSETTINGS settings commands SURFACETEST lt protect disk switch VERIFY protect disk switch COPYONETOONE lt protect disk switch ALLOW64KCLUSTER lt protect disk switch DONOTHIDETARGET lt protect disk switch COPYINSTEADOFMOVE lt protect disk switch BIGDRIVES protect disk switch COMPRESSIONLEVEL size operand gt SIDAFTERDISK protect disk switch SIDAFTERPARTITION protect disk switch DEFAULTSIDCHANGER lt protect disk switch NODELLABEL lt protect disk switch TIMESHIFT size operand gt OEMCODEPAGE lt size operand gt TIMEZONE lt size op
38. he block of settings SURFACETEST Turns on off the surface test VERIFY Turns on off the data verification while moving START Indicates the start sector for restoring Copyright 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 31 User Manual COPYONETOONE Turns on off the copy all sectors 1 1 ALLOW64KCLUSTER Turns on off the 64Kb cluster size for FAT file system DONOTHIDETARGET Turns on off hiding target primary partitions COPYINSTEADOFMOVE Turns on off copying instead of moving for adjacent blocks BIGDRIVES Turns on off the support for drives of big capacity COMPRESSIONLEVEL Defines the default compression level for backup operations 0 9 SIDAFTERDISK Turns on off the SID changer usage after the disk operations SIDAFTERPARTITION Turns on off the SID changer usage after the partition operations DEFAULTSIDCHANGER Turns on off use the default SID changer parameters NODELLABEL Turns on off the user prompt of the volume label in case of partition deletion TIMESHIFT Defines the time offset in minutes OEMCODEPAGE Defines the default code page number TIMEZONE Defines the time zone code LANGNUMBER Defines the default language number for current code page SLAVECFG Turns on off the slave disk configuration update NOTFORSLAVE Turns on off the slave disk layout refresh Copyright 1994 2008 Paragon Software Group All rights reserved
39. ies a PSR REBOOT scenario PSR OS TYPE Specifies an operatiing system used in the PSR mechanism PSR OS DOS Specifies a PTS DOS operating system PSR OS LINUX Specifies a Linux operating system PSR OS ALL Specifies both PTS DOS and Linux operating systems PSR OS WINPE Specifies a Windows PE operating system PSR SOURCE DIR Specifies a directory where PSR installation files are kept PSR SOURCE ISO Specifies an ISO image with PSR installation files PSR INSTALL DIR Specifies a directory to install PSR TIMEOUT Specifies a time period in milliseconds to see the PSR message KEY Specifies a key to start the PSR boot KEY A Specifies A on keyboard KEY Z Specifies Z on keyboard KEY 0 Specifies O on keyboard KEY 9 Specifies 9 on keyboard CopyrightO 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 41 KEY F1 Specifies F1 on keyboard KEY F12 Specifies F12 on keyboard KEY ESC Specifies Esc on keyboard KEY MINUS 6G 99 ce 99 Specifies or on keyboard KEY EQUALS 66__99 Specifies or on keyboard KEY_BACKSPACE Specifies Backspace on keyboard KEY_TAB Specifies Tab on keyboard KEY OPENBRACE Specifies or 4 on keyboard KEY CLOSEBRACE Specifies or on keyboard KEY ENTER Specifies Enter on keyboard K
40. ions gt SELECT PARTITIONS ALL lt select store file gt IMG lt filename gt lt select base archive gt BASE lt filename gt lt letter gt a b c d e f g h i 3 k 1 m n o p q r s t u v w x y z A B C D E F G H T J K L M N O P Q R S TJU V W X Y Z number lt digit gt lt digit gt I IKhex mask lt nonzero digit 5 1 2 3 4 5 6 7 8 9 lt store options store structure only compression split password sector by sector archive label lt autonames gt incremental estimation HOTBACKUP lt hotbackup parameters TEMPDRIVE letter NOTEMPFILES NOSIGNATURE estimation ESTIMATION lt size operand gt lt namestring gt incremental INCREMENT lt string gt lt autonames gt AUTONAMES check option CHECK SURFACETEST archive label LABEL lt string gt lt sector by sector CAS lt password gt PWD lt string gt lt split gt MFS size operand gt lt compression gt CMP lt size operand gt lt compression level gt lt digit gt lt store structure only SSO lt bad sector checking gt CBS verify written RAV size operand gt sstart position START size operand gt store STORE lt restore hard disk gt lt clear disk gt lt select all images gt OPTIONS lt restore options gt lt restore options gt lt restore gt Co
41. ition of the requested size 0x 10004 no free block is available to create a primary partition 0x10005 invalid partition ID 0x10006 in the root table only attempt to perform a primary partition operation on a logical disk 0x 10007 the extended partition is not found 0x10008 failed to create a partition 0x10009 an attempt to resize the extended partition out of the available limits 0x1000A the extended partition already exists 0x10010 FDISK structure is corrupted 0x10011 invalid drive specification 0x10012 no logical disk defined for this partition 0x10013 unknown partition type unsupported file system 0x10014 incorrect partition attributes incompatible data of partition control blocks 0x10015 incorrect cluster size i e 0 gt 64 or not a degree of 2 0x 10016 not enough space for a new partition unable to expand the partition up to the requested size 0x10017 new cluster is too small FAT16 disk contains more than 65525 clusters 0x10018 file system error file localization error i e because of the crosslinked files Run CHKDSK to fix it 0x10019 not enough space in the new partition to place user data if you try to decrease the partition containing data too much 0x1001A not enough memory 0x1001B file I O error It can occur when the restart data is saved restored CopyrightO 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 47
42. mo version 0x11205 the operation Disk clear is not available in the trial demo version 0x11206 the operation Create partition is not available in the trial demo version 0x11207 the operation Delete partition is not available in the trial demo version 0x11208 the operation Set flags is not available in the trial demo version 0x11209 the operation Format partition is not available in the trial demo version 0x1120a the operation Modify partition is not available in the trial demo version 0x1120b the operation Resize partition is not available in the trial demo version 0x1120c the operation Copy partition is not available in the trial demo version 0x1120d the operation Mount partition is not available in the trial demo version 0x1120e the operation Undelete partition is not available in the trial demo version 0x1120f the operation Convert File System is not available in the trial demo version 0x11210 the operation Change cluster size is not available in the trial demo version 0x11211 the operation Change root size is not available in the trial demo version 0x11212 the operation Change boot size is not available in the trial demo version 0x11213 the operation Make partition primary is not available in the trial demo version 0x11214 the operation Make partition logical is not available in the trial demo version 0x11215 the operation Set label is not available in the trial demo ve
43. ne Condition any symbol allows the user to write down any symbol CopyrightO 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 4 User Manual PSL Grammar As was already mentioned PSL program is a textual file which consists of the sequence of PSL commands and comments A comment may be positioned in the same line with the command or it can be inserted as a comment block which takes one or several strings following each other Each PSL command begins from a new line and can be preceded by a label Structurally PSL program consists of the main program and its procedures The beginning of the program coincides with the beginning of the file and its end with the end of the file accordingly There are no special operators defining the beginning and the end of the main program Procedures are placed inside of the main program and therefore each procedure must be preceded by a special operator which jumps to another position of the main program i e steps over the procedure The beginning of each procedure is identified by a label and the end is identified by the endcall keyword This is a command which returns the program execution to the point from which this procedure was called language command lt command gt command lt label gt Paragon partition manager command Paragon drive backup command special command network command global command
44. ntal backup Parameter is used for setting a password for the base archive in case there is no password for the base archive leave the parameter empty AUTONAMES Specifies automatic generation for subsequent writing MES Specifies the maximum image file size in Kb When the limit is reached the image will be split CMP Specifies the image compression level SSO Stores system structure only Copyright 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 18 NOTEMPFILES Cancels processing of the temporary files for example pagefile sys NOSIGNATURE Archives will not be signed STORE Starts the backup operation DELETE ALL Removes all on disk data UPDATE MBR Updates MBR on the disk by a default value SELECT IMAGE ALL Selects images of all partitions in the image file RESTORE Starts the restore operation All data will be restored to the selected free space SELECT PARTITION Selects partition by number letter volume name SELECT PARTITION FIRST Selects the first partition on the disk SELECT PARTITION LAST Selects the last partition on the disk SELECT PARTITION EXTENDED Selects the extended partition on the disk SELECT PARTITION LARGEST Selects the largest partition on the disk SELECT PARTITION SMALLEST Selects the smallest partition on the disk SELECT PARTITION NEXT Selects the next partition on the disk SELECT PARTITION PREVIOUS
45. of the specified parameter Parameter quantity of seconds from 1 January 1970 00 00 00 STRINGTIME Returns string representation of the specified parameter according to the following form Sun Jan 4 15 39 14 2004 Parameter quantity of seconds from 1 January 1970 00 00 00 SUBSTRING Extracts substring from the specified string Parameters 1 string from which to extract 2 start symbol from which to extract 0 based 2 maximum length of the extracted substring CODETOCHAR Converts ASCII code to character and returns the string containing this character DAYOFMONTH Returns day of month of the specified parameter 1 31 Parameter quantity of seconds from 1 January 1970 00 00 00 HOUR Return hour of the specified parameter 0 23 Parameter quantity of seconds from 1 January 1970 00 00 00 DAYOFYEAR Returns day of year of the specified parameter 0 365 Parameter quantity of seconds from 1 January 1970 00 00 00 MONTH Returns month of the specified parameter 0 11 Parameter quantity of seconds from 1 January 1970 00 00 00 MINUTE Returns minute of the specified parameter 0 59 Parameter quantity of seconds from 1 January 1970 00 00 00 SECOND Returns second of the specified parameter 0 59 Parameter quantity of seconds from 1 January 1970 00 00 00 DAYOFWEEK Returns day of week of the specified parameter 0 for Sunday 6 for Saturday Parameter quan
46. options store options lt store gt lt restore first track gt lt select first track gt OPTIONS lt restore options gt lt restore options gt lt restore gt lt select first track gt SELECT FIRST TRACK lt disk specification create partition CREATE FS partition type create options partition type FAT FAT32 HPFS LINUXEXT2 LINUXSWAP NTFS EXTENDED UNFORMATTED LINUXEXT3 LINUXREISER LINUXSWAP2 create options LABEL lt string gt SIZE size operand gt POSITION align ID size operand gt lt align gt BEGINNING END lt size operand gt format partition FORMAT format specification NTBUILDINFORMAT FS fs type format options format specification lt string gt NO NAME UNKNOWN LINUXREISER format options LABEL lt string gt CLUSTER size operand gt ROOT size operand gt BOOT size operand gt sets flag for partition flag options flag options HIDE UNHIDE SET ACTIVE SET INACTIVE resize partition resize resize larger resize left boundary resize left boundary larger resize left boundary smaller resize smaller resize space after resize space before resize RESIZE resize parameter CLUSTERSIZE size operand gt resize parameter MAX MIN
47. pyright 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 7 User Manual clear disk gt DELETE ALL update mbr gt UPDATE MBR lt select all images SELECT IMAGE ALL restore options bad sector checking password verify written start position AUTORESIZE restore RESTORE operation with partition store partition restore partition store partition lt select partition OPTIONS sstore options store options store lt select partition SELECT PARTITION size operand gt SELECT PARTITION letter SELECT PARTITION lt string gt SELECT PARTITION FIRST SELECT PARTITION LAST SELECT PARTITION EXTENDED SELECT PARTITION LARGEST SELECT PARTITION SMALLEST SELECT PARTITION NEXT SELECT PARTITION PREVIOUS SELECT PARTITION OFFSET size operand gt SELECT PARTITION VARIABLE lt string gt SELECT PARTITION PRIMARY ssize operand gt SELECT PARTITION LOGICAL lt size operand gt SELECT PARTITION ADDRESS size operand gt restore partition lt select image lt image restore options gt lt select image lt image restore options gt OPTIONS restore options restore options restore lt select destination lt select partition select freespace gt lt select freespace gt SELECT FREESPACE FIRST SELECT FREESPACE LAST SELECT FREESPACE LARGEST
48. ragon Software Group All rights reserved Paragon Scripting Language 5 User Manual lt string gt lt any symbol gt lt string gt lt string gt lt string gt STRINGDEC lt size operand gt STRINGHEX lt size operand gt STRING lt name gt STRINGPARAMETER lt name gt STRINGDAYOFWEEK lt size operand gt STRINGMONTH lt size operand gt STRINGTIME lt size operand gt SUBSTRING lt string gt lt size operand gt lt size operand gt CODETOCHAR lt size operand gt USERSTRING POPSTR DIRELEMENT lt filename gt lt size operand gt lt special command gt lt goto gt lt cycle gt lt condition gt lt print gt lt ask gt lt debug gt lt shell execute gt lt default answers gt lt reboot gt lt set variable gt lt strerror gt lt endcall gt lt exit_prog gt lt set value gt lt set string gt lt file operations gt lt stack operations gt lt xfind gt lt shutdown gt lt silent gt lt xfind gt XFIND OPTIONS lt xfind options xfind options gt ENDOPTIONS BEGIN lt command gt ENDXFIND xfind options RESULT lt name gt RECURSIVE OFF RECURSIVE DIRECTORIES FIRST RECURSIVE DIRECTORIES LAST RECURSIVE FILES FIRST RECURSIVE FILES LAST RECURSIVE LEVEL lt size operand gt DIRECTORIES lt protect disk switch gt FILES lt protect disk switch gt MASK
49. rsion 0x11216 the operation Wipe is not available in the trial demo version 0x11217 the operation Set partition serial number is not available in the trial demo version 0x11218 the operation Check File System is not available in the trial demo version 0x11219 the operation Surface test is not available in the trial demo version 0x1121a the operation Set partition ID is not available in the trial demo version 0x1121b the operation Change SID is not available in the trial demo version 0x1121c the operation Set primary slots is not available in the trial demo version 0x1121d the operation Restore is not available in the trial demo version Ox1121e the operation Move partition is not available in the trial demo version 0x11400 different cluster size 0x11401 unable to merge due to different NTFS parameters 0x11402 different versions 0x12000 failed to modify the protected partition 0x12001 no restart log found 0x12002 operation is invalid for this object Command Line Options h help shows usage screen and exits v version shows version number and exits verbose verbose output Default disable s silent silent output Default disable CopyrightO 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language x expert Default disable n nochs e ebios p lt parameter gt lt value gt The value must b
50. rtition by offset as a target for a copy operation SELECT COPY PARTITION ADDRESS Selects partition of the specified sector as a target for a copy operation SELECT COPY FREESPACE FIRST Selects the first free block as a target partition for a copy operation SELECT COPY FREESPACE LAST Selects the last free block as a target partition for a copy operation SELECT COPY FREESPACE LARGEST Selects the largest free block as a target partition for a copy operation SELECT COPY FREESPACE SMALLEST Selects the smallest free block as a target partition for a copy operation SELECT COPY FREESPACE OFFSET Selects the free block by offset as a target partition for a copy operation SELECT COPY FREESPACE ADDRESS Selects free space of the specified sector as a target partition for a copy operation SELECT COPY FREESPACE Selects the free block by number as a target partition for a copy operation GOTO Jumps to the label PRINT Copyright 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 25 User Manual Prints the message on the screen PRINTDEC Prints the number on the screen in decimal format PRINTHEX Prints the number on the screen in hexadecimal format ASK Waits for the user to answer If the user inputs y Y or Enter this parameter is true otherwise false SCO Checks the script syntax only EXEC FILE Runs the binary file This command will pos
51. rue if the specified drive or partition exists FREE Returns true if the specified partition is a free block MOUNT Returns the path for the mounted partition i e CA under DOS Windows or mnt dos under LINUX UNMOUNT Unmounts the specified partition CopyrightO 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 28 User Manual MOUNT ALL In DOS Windows mounts all mountable partitions of the specified disk assigning available letters Does not work under LINUX UNMOUNT ALL Unmounts all mountable partitions of the specified disk LIST Prints information on partitions First parameter is the disk number second partition Use 1 as the first parameter for choosing all disks You may also use 1 as the second parameter for choosing all partitions MOUNTLIST Prints mount information on partitions First parameter is the disk number second partition Use 1 as the first parameter for choosing all disks You may also use 1 as the second parameter for choosing all partitions FULLLIST Prints in depth information on partitions in a parsing friendly form First parameter is the disk number second partition Use 1 as the first parameter for choosing all disks You may also use 1 as the second parameter for choosing all partitions MERGE Merges a partition selected by the select copy partition command with a partition selected by the select partition command to the
52. space after MOVE copy partition options move left MOVE LEFT resize parameter move right MOVE RIGHT lt resize parameter move space before MOVE SPACE BEFORE move parameter move parameter MAX size operand gt move space after MOVE SPACE AFTER move parameter copy partition COPY copy partition options copy partition options SIZE size operand gt POSITION size operand gt AUTORESIZE copy disk COPYDISK copy disk options copy disk options NO FREESPACES PROPORTIONAL lt resize parameter change SID SID lt string gt SID DISK lt string gt mount or umount gt UMOUNT MOUNT lt letter gt MOUNT lt string gt MOUNT ALL UMOUNT ALL lt list gt LIST lt size operand gt size operand gt MOUNTLIST lt size operand gt size operand gt FULLLIST lt size operand gt lt size operand gt lt merge partitions gt MERGE lt string gt lt defragment gt DEFRAGMENT MFT DEFRAGMENT PARTITION lt defragment options Copyright 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 11 User Manual defragment options SKIP SWAP SORT TIME ASCENDING SORT TIME ASIS SORT TIME DESCENDING SORT DIRECTORIES FIRST SORT DIRECTORIES ASIS SORT DIRECTORIES LAST ASIS SORT LARGEST LAST SORT SMAL
53. t message Apply all operations Call procedure Go to out label Procedure Compare last error with success If there was an error Print message Print error description Print message Paragon Scripting Language 51 User Manual exit errorcode 1 Exit from the script endif End of the procedure endcall Label out out print tra ak ak ak ak kak ake ake ae 2 akk akk akk ak ak kak ak ae 2 akk fe ak ak ak ae kakak O kek ake ake akk akk ak ak ak ak a ae 2 ake akk ak ak ak ak gt k ae 11 exit 0 Exit from the script print n CopyrightO 1994 2008 Paragon Software Group All rights reserved
54. tity of seconds from 1 January 1970 00 00 00 YEAR Returns year of the specified parameter Parameter quantity of seconds from 1 January 1970 00 00 00 DEFRAGMENT MFT Defragments MFT of NTFS partition CopyrightO 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 36 User Manual DEFRAGMENT PARTITION Defragments partition SKIP SWAP Skips defragmenting swap files SORT TIME ASCENDING Sorts files by time while defragmenting in ascending order SORT TIME ASIS Does not sort files by time Default value SORT TIME DESCENDING Sorts files by time while defragmenting in descending order SORT DIRECTORIES FIRST Places directories while defragmenting first Same as SORT FILES LAST SORT DIRECTORIES ASIS Does not sort directories and files while defragmenting Same as SORT FILES ASIS Default value SORT DIRECTORIES LAST Places directories while defragmenting last Same as SORT FILES FIRST SORT FILES FIRST Places files while defragmenting first Same as SORT DIRECTORIES LAST SORT FILES ASIS Does not sort files and directories while defragmenting Same as SORT DIRECTORIES ASIS Default value SORT FILES LAST Places files while defragmenting last Same as SORT DIRECTORIES FIRST SORT LARGEST FIRST Places the largest files while defragmenting first Same as SORT SMALLEST LAST SORT LARGEST ASIS Does not sort files by size while defragmenting Same as SORT SMALLEST ASIS
55. tor if hidden gt HIDDEN disk indicator partition indicator sif primary PRIMARY disk indicator partition indicator CopyrightO 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 13 User Manual lt if extended EXTENDED disk indicator partition indicator lt if logical gt LOGICAL lt disk indicator gt lt partition indicator gt af fat FAT disk indicator partition indicator lt disk indicator gt CURDISK lt disk specification gt partition indicator CURPARTITION size operand gt letter lt string gt FIRST LAST EXTENDED LARGEST SMALLEST lt if size gt lt size operand gt lt comparison gt lt size operand gt comparison lt lt gt gt lt lt size operand gt lt size operand gt lt size operand gt lt size operand gt lt arithmetic gt lt size operand gt SIZEDISK disk indicator SIZEPARTITION disk indicator partition indicator SIZEFREE disk indicator partition indicator SIZEUSED disk indicator partition indicator number value parameter PARTTYPE disk indicator partition indicator STARTSECTOR disk indicator partition indicator ENDSECTOR disk indicator partition indicator BOOTSIZE disk indicator partition indicator ROOTSIZ
56. tpone the script execution until the program is terminated After that the current status of the program will be available via the ERRORCODE command RUN FILE Runs the binary file together with the script CONFIRM If the confirmation is turned off default answers will be used Otherwise the user will be prompted to input the required answer FOR ALL DISKS A loop each iteration of which selects the next drive ENDFOR The end of the loop FOR ALL PARTITIONS A loop each iteration of which selects the next partition IF A condition branching THEN This branch is executed when the conditional expression takes the true value ENDIF The end of the true branch ELSE This branch is executed when the conditional expression takes the false value ENDELSE The end of the true branch CopyrightO 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 26 User Manual AND Conjunction OR Disjunction NOT Denial BOOT Returns true if the partition is bootable otherwise false HIDDEN Returns true if the partition is hidden otherwise false PRIMARY Returns true if the partition is primary otherwise false EXTENDED Returns true if the partition is extended otherwise false LOGICAL Returns true if the partition is logical otherwise false FAT Returns true i
57. ultivolume SUBSOURCEEXTENDED returns true if the archive under consideration contains the extended partition Arguments for this command archive filename password and number 0 based CHARTOCODE Returns ASCII code of the string first character FILESIZE Returns size of the specified filename FILEEXIST Returns true if the specified file exists FILEISDIR Returns true if the specified file is directory FILEDELETE Deletes the specified file FILEMAKEDIR Creates the specified directory FILEDELETEDIR Deletes the specified directory FILERENAME Renames the first specified file to the second specified file FILECOPY Copies the first specified file to the second specified file FILEMERGE Attaches the second file to the end of the first ESTIMATION Calculates the archive estimation size First parameter 1 bad estimation 2 fast estimation 3 good estimation 4 best estimation Second parameter value name containing the result of operation NOWTIME Returns the quantity of seconds from 1 January 1970 00 00 00 STRINGDAYOFWEEK Returns day of week string representation Sunday Saturday of the specified parameter Parameter quantity of seconds from 1 January 1970 00 00 00 Copyright 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 35 User Manual STRINGMONTH Returns month string representation January December
58. x11008 disk is missing 0x11009 disk is not valid 0x1100A invalid function parameter 0x1100B system reboot is required to complete the operation 0x1100C search is completed 0x1100D unable to restore the primary partition inside the extended one 0x1100E archive cannot be saved 0x1100F bad computer specified 0x11010 device I O error 0x11011 service exception 0x11012 invalid buffer 0x11013 busy 0x11014 no media 0x11015 illegal server state 0x11016 partial file or operation 0x11017 file too long 0x11018 undefined error 0x11019 the archive of Windows is not found You should backup the system before burning 0x1101a parameter memory is too small 0x1101b can t burn locked partition under Windows 9x Copyright 1994 2008 Paragon Software Group All rights reserved Paragon Scripting Language 49 User Manual 0x1101c the following CD ROM does not exist Ox1101d unable to eject CD ROM 0x11100 unable to open UIM component 0x11101 unknown image format or failed to open the specified file 0x11102 UIM failed to complete the specified operation 0x11201 the operation Backup is not available in the trial demo version 0x11202 the operation Check File System is not available in the trial demo version 0x11203 the operation Merge archives is not available in the trial demo version 0x11204 the operation Disk copy is not available in the trial de
Download Pdf Manuals
Related Search
Related Contents
取扱説明書 - のファームエイジ株式会社 Samsung DVD-P191 คู่มือการใช้งาน Canon 4509B061 All in One Printer User Manual Memorex MLT4221P Flat Panel Television User Manual Model 3040P-O - DNF Controls Equil NOTE for Mac User`s Manual AlphaServer GS80 Tecumseh AEA2413YXA Drawing Data Copyright © All rights reserved.
Failed to retrieve file