************************************************************************
(5).DOS command. ... Description of [Table 5]
************************************************************************
[Table 5] DOS command.
+--------+--------+------------------------------------------------+
|command | abridge|description |
+--------+--------+------------------------------------------------+
|CHDir | CD |set current directory |
|PWD | |set current directory |
|MKDir | MD |make directory. |
|RMDir | RD |remove directory. |
|ATTrib | |change file attribute. |
|CHMd | |set file permission. same as ATTrib command. |
|REName | |change name of file/directory. |
|DElete | DL |delete files or directory. |
|XDD | DT |delete directory/file.(dirdelete,deltree) |
|XCOpy | CP |copy file or directory. |
|COPy | |same as above(for screen except BROWSE/EDIT) |
|XMOve | MV |move file or directory. |
|MOVe | |same as above(for screen except BROWSE/EDIT) |
|XAPPend | |concatenate a file at the end of another file. |
|APPend | |same as above(for screen except BROWSE/EDIT) |
|XPRint | PR |print file using XPRINT.EXE |
|SET | EXPort |set environment variable |
|GREp | |execute OS grep cmd and show result |
|TSO | |support TSO file access |
+--------+--------+------------------------------------------------+
#ifdef UNX
#else
+--------+--------+------------------------------------------------+
|d: | |set default drive, d is drive letter(a,B,c etc.)|
| | | #ifdef W32 |
| | | "\:" means pshude drive for shared file |
| | | #endif |
+--------+--------+------------------------------------------------+
#ifdef WXEXXE
+--------+--------+------------------------------------------------+
|WXP | |print file using print function of WXE/XXE |
+--------+--------+------------------------------------------------+
#endif
#endif
- These command in the [Table 5] is processed internaly not
passing control to shell processor,which have slightly difference
with native shell command process.
Do not use "DOS" or its abrebiation ">" to process internaly,
To use native command of same verb,specify "DOS" or ">".
ex. "DEL abc" is processed by XE,">DEL abc" is processed by shell.
- Use "DOS" or ">" to execute other commands not listed on the table.
It may be omitted when Command Result Edit screen,but COPy/MOVe is
treated as EDIT cmd.To copy/move file,use "DOS"(">") or use
XCOpy/XMOve command.
- If command string is not specified,sub shell screen is displayed,
enter EXIT command to end the sub shell.
#ifdef UNX
#else
Command prompt may be changed by Sub_Shell_Init parameter on INI-file.
#endif
- If command string is too long for command input line,open Command
Result Edit screen and type it on the last line.
- COPy/MOVe is duplicated with command on (3).Edit Command.
On BROWSE/EDIT/Command Result Edit screen it works as copy/move
a file into the screen,on other screen it works as copy/move
files/directories. If it is confusing you,use XCOpy/XMOve or CP/MV
to copy/move files/directories.
- Commands in the lower part and other commands not in the table is
processed in the child process which was temporary created,
and stdout and stderr is written to ::so(in the work directory).
If any line is written to ::so,process termination code with last
line of ::so is displayed on first header line. If no data written,
termination code is displayed with command text.
Some command return non zero value even if process is normary
terminated. If so,you should clear command input line.
Check ::so using "E ::so" or "B ::so".If you are openning multiple
#ifdef UNX
session it may be ::so_,::so__,...etc.
#else
session it may be ::so!,::so!!,...etc.
#endif
- Under Command Result Edit screen,contents of ::so is copied after
the end of currently editting file. The line previously displayed
are scroll-upped then latest command result are displayed on the
top of the screen.
Files used by this screen is from ::so0 up to ::so9,and used
circularly each time command edit screen opened.
- Some command may return other than 0 even if it is normaly
processed. Input command string may remain on the command input line
if return code is not 0.You must clear it manualy.
- You can specify redirection to commands.
- *\, **\ and ^*\ are useful as pathname of filename.
*\ : id of directory containing source file/directory.
**\ : id of parent directory of *\,also avail **\**\ etc.
^*\ : id of dir or filename path of file on the other side of screen
Wild card is avail for filename.
Wild card of target filename is effective on filename only,
not on pathname.
(note)DOS6.3 make difference to OS/2 and Windows about wild card.
For example,x* is same as x*.* under OS/2 and Windows,but under
DOS 6.3 x1.c is not one of x*.
- If target file/directory name of Rename/Copy/Move cmd contains space,
enclose whole target name by quotation.