Crypty-X Man pagesCrypty-X Man Pages
Back to Projects
List of Commands
abcdegijklmnpqrstuvxz=?{.fo
Man Pages
Green commands are implemented.
Red commands are planned.
.name$
Run Alias: Executes alias name$
a[{-r|-t}]name$[>command$]
Alias: Sets name$ as an alias for command$. To include a command separator (¬), use &AA. Other special characters can also be included by &xx where xx is the hexadecimal ASCII code. command$ is required except when using the switch -r.
Switches:
-r: Deletes an existing alias name$.
-t: The alias created is Temporary. Temporary aliases last only for the current session.
b[-n]
Blank screen: Clears the screen and displays version information.
Switches:
-n No version information displayed.
cdir$ [-a]
Change directory: Changes the current directory to dir$, which can be any of .. (parent), or /asubdir$, or drive$:/ (requires -a), or >{DIR}, or even \ (root). If dir$ contains wildcards, the first match will be used.
Switches:
-a Takes an absolute dir instead of a relative one.
dfrom$|to$[-a{1|2|3}][-d]
Duplicate: Copies a file to a new name and/or location. Copies from$ to to$.
Switches:
-a1 Takes an absolute from$ instead of a relative one.
-a2 Takes an absolute to$ instead of a relative one.
-a3 Takes absolute from$ and to$ instead of relative ones.
-d Deletes original thus functioning as a rename (actually just renames).
e[-a]file$[>param$]
Execute: Executes file$. If >param$ is included, passes param$ to the program's command line. If file$ has no extension, appends '.exe'.
ftext$|file$[-{b|l}][-c{+|-}][-d][-r][-w{+|-}]
Find: Searches file$ for the first occurence of byte string text$.
Switches:
-b Returns byte position instead of line number.
-c Match case on(+) or off(-). Default off.
-d Takes an absolute dir+file instead of a relative one.
-l Returns line number (default behaviour).
-r Repeats find for all occurrences in file.
-w Whole-word on(+) or off(-). Default off.
glabel$
Goto: Script files only. Goes to label label$ (made with '=' statement).
i[-pprompt$>][-kkey$keylabel$][...][-aanylabel$]
Input-conditional flow: Script files only. Displays a prompt, then goes to a label depending on which key is pressed.
Switches:
-a Any key (if no -k matches) goto anylabel$.
-k If user presses key$, goto keylabel$.
-p Changes the prompt to prompt$.
j[-a]file$[-q][-r{+|-}][-h{+|-}][-s{+|-}][-a{+|-}]
File Attributes: Sets or reads the attributes of the file file$.
Switches:
-a before file, no sign: Takes an absolute dir+file instead of a relative one.
-a after file, with + or - sign: Sets Archive attribute on(+) or off(-).
-h Sets Hidden attribute on(+) or off(-).
-r Sets Read-Only attribute on(+) or off(-).
-s Sets System attribute on(+) or off(-).
-q Reads attributes Read-Only, Hidden, System, Volume label, Directory, Archive [RHSVDA]
k[-fformat$][[-a]-llocation$][-q][-x]
Keep logs: Starts logging Crypty-x activity.
Switches:
-a (for -l) Takes an absolute dir+file instead of a relative one.
-f Logs are formatted by format$, detailed in lgfmtc~1.txt in the MAN dir.
-l Location is changed to location$. Default is [Crypty-x dir]\LOG00000.DAT, with the number incrementing each time k is run.
-q Queries whether logs are currently being kept.
-x Stops a currently running log.
l{[-{d|f}][-mmatch$]|-r}[-s]
List: Lists the contents of the current directory. (Can also take |m modifier; see ShMan [F1] for more info)
Switches:
-d Lists only directories.
-f Lists only files.
-m Lists only results matching match$, which can include * and ? wildcards.
-r Recursive Listing - completely changes behaviour. Calculates number of files and dirs within current dir. Overrides all switches except -s and -t.
-s Displays the sizes of files listed (SLOW!)
-t Displays a graphical tree of the directory. Requires -r.
-x Search. Searches dir and subdirs; usually used with -m.
mcommand$
Man: Displays the man page for command$.
Note:
- Typing m* will list all of the man pages.
- Red command letters refer to man pages for planned commands.
- Green command letters are implemented commands.
n[-a][-d]file$
New: Creates a new file, called file$.
Switches:
-a Takes an absolute dir+file instead of a relative one.
-d Creates a directory instead.
o
Ony-X: Alias for e[Crypty-x dir]\..\ONY-X\ONY-X.bat
p{text$|&{+|-|?}}
Print: Prints text$ to the screen. &hh returns the character with ASCII hex value hh; literal & is &26. p&+ turns on Pback, p&- turns it off, p&? queries the current Pback status.
q{+|-|q|?}
QuickEntry: Sets or queries QuickEntry status. q+ turns QuickEntry on, q- turns it off. q? or qq queries current status. When QuickEntry is on, all commands are assumed to begin with a dot (.); if no aliases [whether permanent or temporary] match, the dot is removed and the command re-parsed.
rfile$[-a][-d][-f][-r[-q]]
Remove: Deletes file$ from your system (Not recoverable!). file$ can contain * or ? wildcards. To protect users, in the alpha build, r is locked as it may still contain dangerous bugs. To unlock, append /lockoff to the cmd line or batch file line used to run Crypty-X.
Switches:
-a Takes an absolute dir+file instead of a relative one.
-d Deletes empty directories as well as files (to delete non-empty dirs, also use switch -r).
-f Force deletion of read-only files.
-q (for -r) Quiet mode. Does not ask for confirmation of each individual file.
-r Repeats for all files matching file$.
sfile$[-a]
Script: Runs script file file$. If file$ has no extension, appends '.crs'.
Switches:
-a Takes an absolute dir+file instead of a relative one.
tfile$[-a]
Text Editor. Opens file$ in SITED -- the Shell Inline Text EDitor.
Switches:
-a Takes an absolute dir+file instead of a relative one.
ufile$[-a]
Unformatted display: Displays the contents of file$ directly into the Crypty-x screen. Forces |m.
Switches:
-a Takes an absolute dir+file instead of a relative one.
v
Ver: Displays version information.
x[-s]
Exit: Exits Crypty-x.
Switches:
-s Doesn't exit Crypty-x. Instead, ends a Script file (.crs) and returns control to the user.
z{+|-|rdepth|?}
Directory Stack Operations. z+ PUSHes the current dir to the stack, z- POPs off the stack into the current dir, and zrdepth reads from depth rows down the stack into the current dir (doesn't change the Stack Pointer). z? displays the stack, listing the zr% codes for each row.
=label$
Line Label: Script files only. Target line for corresponding g command.
?
ShMan: Displays the ShellManual. (alternatively, press F1)
{sysvar$}
System variables: Displays the contents of system variable sysvar$. { is non-case-sensitive.
Supported sysvar$ codes:
-{All} or {*} Displays all the System variables.
-{Dir} Displays the directory from which Crypty-X was run (working folder).
-{Mem} or {Memory} Displays Total, Used and Free memory available to Crypty-X.
-{Now} Displays the current date and time.
-{Set} Displays settings: PBack, Logging (if on then also gives format and filename), RLock.