Difference between revisions of "Unit ShellFilesystem"
From Ultibo.org
(9 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
---- | ---- | ||
− | '' | + | '''Ultibo FileSystem Shell extension unit''' |
=== Constants === | === Constants === | ||
Line 12: | Line 12: | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
− | <div style="font-size: 14px; padding-left: 12px;">'''Shell | + | <div style="font-size: 14px; padding-left: 12px;">'''Shell FileSystem command''' <code> SHELL_FILESYS_COMMAND_* </code></div> |
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
Line 96: | Line 96: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
− | <div style="font-size: 14px; padding-left: 12px;">'''Shell | + | <div style="font-size: 14px; padding-left: 12px;">'''Shell FileSystem alias''' <code> SHELL_FILESYS_ALIAS_* </code></div> |
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
Line 134: | Line 134: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
− | <div style="font-size: 14px; padding-left: 12px;">'''Shell | + | <div style="font-size: 14px; padding-left: 12px;">'''Shell FileSystem action''' <code> SHELL_FILESYS_ACTION_* </code></div> |
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
Line 229: | Line 229: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
− | <div style="font-size: 14px; padding-left: 12px;">'''Shell | + | <div style="font-size: 14px; padding-left: 12px;">'''Shell FileSystem parameter''' <code> SHELL_FILESYS_PARAMETER_* </code></div> |
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
Line 280: | Line 280: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
− | <div style="font-size: 14px; padding-left: 12px;">'''Shell | + | <div style="font-size: 14px; padding-left: 12px;">'''Shell FileSystem mask''' <code> SHELL_FILESYS_*_MASK </code></div> |
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
Line 294: | Line 294: | ||
---- | ---- | ||
− | '' | + | ''None defined'' |
+ | |||
+ | === Class definitions === | ||
+ | ---- | ||
+ | |||
+ | |||
+ | '''Shell FileSystem specific classes''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysFileSystem|<code>TShellFileSysFileSystem = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysController|<code>TShellFileSysController = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysDisk|<code>TShellFileSysDisk = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysPartition|<code>TShellFileSysPartition = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysVolume|<code>TShellFileSysVolume = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysDrive|<code>TShellFileSysDrive = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysCache|<code>TShellFileSysCache = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysDir|<code>TShellFileSysDir = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysChdir|<code>TShellFileSysChdir = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysMkdir|<code>TShellFileSysMkdir = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysRmdir|<code>TShellFileSysRmdir = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysType|<code>TShellFileSysType = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysCopy|<code>TShellFileSysCopy = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysMove|<code>TShellFileSysMove = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysDel|<code>TShellFileSysDel = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysRen|<code>TShellFileSysRen = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysAttrib|<code>TShellFileSysAttrib = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysTouch|<code>TShellFileSysTouch = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysVol|<code>TShellFileSysVol = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysLabel|<code>TShellFileSysLabel = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysDeltree|<code>TShellFileSysDeltree = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellFileSysXcopy|<code>TShellFileSysXcopy = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | <br /> | ||
=== Public variables === | === Public variables === | ||
---- | ---- | ||
− | '' | + | ''None defined'' |
=== Function declarations === | === Function declarations === | ||
Line 313: | Line 431: | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
|- | |- | ||
− | ! | + | ! Note |
| None documented | | None documented | ||
|- | |- |
Latest revision as of 06:05, 31 August 2021
Return to Unit Reference
Contents
Description
Ultibo FileSystem Shell extension unit
Constants
Shell FileSystem command
SHELL_FILESYS_COMMAND_*
SHELL_FILESYS_COMMAND_FILESYSTEM = 'FILESYSTEM';
|
|
SHELL_FILESYS_COMMAND_CONTROLLER = 'CONTROLLER';
|
|
SHELL_FILESYS_COMMAND_DISK = 'DISK';
|
|
SHELL_FILESYS_COMMAND_PARTITION = 'PARTITION';
|
|
SHELL_FILESYS_COMMAND_VOLUME = 'VOLUME';
|
|
SHELL_FILESYS_COMMAND_DRIVE = 'DRIVE';
|
|
SHELL_FILESYS_COMMAND_CACHE = 'CACHE';
|
|
SHELL_FILESYS_COMMAND_DIR = 'DIR';
|
|
SHELL_FILESYS_COMMAND_CHDIR = 'CD';
|
|
SHELL_FILESYS_COMMAND_MKDIR = 'MD';
|
|
SHELL_FILESYS_COMMAND_RMDIR = 'RD';
|
|
SHELL_FILESYS_COMMAND_TYPE = 'TYPE';
|
|
SHELL_FILESYS_COMMAND_COPY = 'COPY';
|
|
SHELL_FILESYS_COMMAND_MOVE = 'MOVE';
|
|
SHELL_FILESYS_COMMAND_DEL = 'DEL';
|
|
SHELL_FILESYS_COMMAND_REN = 'REN';
|
|
SHELL_FILESYS_COMMAND_ATTRIB = 'ATTRIB';
|
|
SHELL_FILESYS_COMMAND_TOUCH = 'TOUCH';
|
|
SHELL_FILESYS_COMMAND_VOL = 'VOL';
|
|
SHELL_FILESYS_COMMAND_LABEL = 'LABEL';
|
|
SHELL_FILESYS_COMMAND_DELTREE = 'DELTREE';
|
|
SHELL_FILESYS_COMMAND_XCOPY = 'XCOPY';
|
Shell FileSystem alias
SHELL_FILESYS_ALIAS_*
SHELL_FILESYS_ALIAS_LS = 'LS';
|
|
SHELL_FILESYS_ALIAS_CD = 'CHDIR';
|
|
SHELL_FILESYS_ALIAS_CDSLASH = 'CD\';
|
|
SHELL_FILESYS_ALIAS_CDDOTDOT = 'CD..';
|
|
SHELL_FILESYS_ALIAS_MD = 'MKDIR';
|
|
SHELL_FILESYS_ALIAS_RD = 'RMDIR';
|
|
SHELL_FILESYS_ALIAS_RM = 'RM';
|
|
SHELL_FILESYS_ALIAS_DELETE = 'DELETE';
|
|
SHELL_FILESYS_ALIAS_ERASE = 'ERASE';
|
|
SHELL_FILESYS_ALIAS_RENAME = 'RENAME';
|
Shell FileSystem action
SHELL_FILESYS_ACTION_*
SHELL_FILESYS_ACTION_LIST = 'LIST';
|
|
SHELL_FILESYS_ACTION_SHOW = 'SHOW';
|
|
SHELL_FILESYS_ACTION_LABEL = 'LABEL';
|
|
SHELL_FILESYS_ACTION_FILL = 'FILL';
|
|
SHELL_FILESYS_ACTION_SIGNATURE = 'SIGNATURE';
|
|
SHELL_FILESYS_ACTION_INITIALIZE = 'INITIALIZE';
|
|
SHELL_FILESYS_ACTION_EJECT = 'EJECT';
|
|
SHELL_FILESYS_ACTION_LOCK = 'LOCK';
|
|
SHELL_FILESYS_ACTION_UNLOCK = 'UNLOCK';
|
|
SHELL_FILESYS_ACTION_ADD = 'ADD';
|
|
SHELL_FILESYS_ACTION_DELETE = 'DELETE';
|
|
SHELL_FILESYS_ACTION_ACTIVATE = 'ACTIVATE';
|
|
SHELL_FILESYS_ACTION_DEACTIVATE = 'DEACTIVATE';
|
|
SHELL_FILESYS_ACTION_FORMAT = 'FORMAT';
|
|
SHELL_FILESYS_ACTION_DEFRAG = 'DEFRAG';
|
|
SHELL_FILESYS_ACTION_CHECK = 'CHECK';
|
|
SHELL_FILESYS_ACTION_CLEAN = 'CLEAN';
|
|
SHELL_FILESYS_ACTION_DIRTY = 'DIRTY';
|
|
SHELL_FILESYS_ACTION_MOUNT = 'MOUNT';
|
|
SHELL_FILESYS_ACTION_DISMOUNT = 'DISMOUNT';
|
|
SHELL_FILESYS_ACTION_STATS = 'STATS';
|
|
SHELL_FILESYS_ACTION_FLUSH = 'FLUSH';
|
|
SHELL_FILESYS_ACTION_DISCARD = 'DISCARD';
|
|
SHELL_FILESYS_ACTION_START = 'START';
|
|
SHELL_FILESYS_ACTION_STOP = 'STOP';
|
Shell FileSystem parameter
SHELL_FILESYS_PARAMETER_*
SHELL_FILESYS_PARAMETER_HELP = '?';
|
|
SHELL_FILESYS_PARAMETER_PAGE = 'P';
|
|
SHELL_FILESYS_PARAMETER_SHORT = 'X';
|
|
SHELL_FILESYS_PARAMETER_SUBDIR = 'S';
|
|
SHELL_FILESYS_PARAMETER_OVERWRITE = 'O';
|
|
SHELL_FILESYS_PARAMETER_READONLY = '+R';
|
|
SHELL_FILESYS_PARAMETER_ARCHIVE = '+A';
|
|
SHELL_FILESYS_PARAMETER_SYSTEM = '+S';
|
|
SHELL_FILESYS_PARAMETER_HIDDEN = '+H';
|
|
SHELL_FILESYS_PARAMETER_NOTREADONLY = '-R';
|
|
SHELL_FILESYS_PARAMETER_NOTARCHIVE = '-A';
|
|
SHELL_FILESYS_PARAMETER_NOTSYSTEM = '-S';
|
|
SHELL_FILESYS_PARAMETER_NOTHIDDEN = '-H';
|
Shell FileSystem mask
SHELL_FILESYS_*_MASK
SHELL_FILESYS_ALLFILES_MASK = '*.*';
|
Type definitions
None defined
Class definitions
Shell FileSystem specific classes
TShellFileSysFileSystem = class(TShellCommand)
|
TShellFileSysController = class(TShellCommand)
|
TShellFileSysDisk = class(TShellCommand)
|
TShellFileSysPartition = class(TShellCommand)
|
TShellFileSysVolume = class(TShellCommand)
|
TShellFileSysDrive = class(TShellCommand)
|
TShellFileSysCache = class(TShellCommand)
|
TShellFileSysDir = class(TShellCommand)
|
TShellFileSysChdir = class(TShellCommand)
|
TShellFileSysMkdir = class(TShellCommand)
|
TShellFileSysRmdir = class(TShellCommand)
|
TShellFileSysType = class(TShellCommand)
|
TShellFileSysCopy = class(TShellCommand)
|
TShellFileSysMove = class(TShellCommand)
|
TShellFileSysDel = class(TShellCommand)
|
TShellFileSysRen = class(TShellCommand)
|
TShellFileSysAttrib = class(TShellCommand)
|
TShellFileSysTouch = class(TShellCommand)
|
TShellFileSysVol = class(TShellCommand)
|
TShellFileSysLabel = class(TShellCommand)
|
TShellFileSysDeltree = class(TShellCommand)
|
TShellFileSysXcopy = class(TShellCommand)
|
Public variables
None defined
Function declarations
Initialization functions
procedure ShellFileSysInit;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference