📄 wdbgrfx.gml
字号:
erase @le:trial.*
.exam end
.pc
Erase all files named "TRIAL" of any type in the current directory of
the "E" disk of the local machine.
Both locale and disk are specified.
.*
.section Exit from RFX - EXIT
.*
.mbigbox
exit
.embigbox
.np
This command may be used to exit from RFX and return to the invoking
process.
.*
.section Make Directory - MKDIR, MD
.*
.mbigbox
mkdir dir_spec
md dir_spec
.embigbox
.np
This command may be used to create a directory on any disk on the
local or remote machine.
.sy MD
is a short form for
.sy MKDIR.
The "@L" or "@R" prefix may be used to specify the locale (local or
remote).
.exam begin
md \tmp
.exam end
.pc
Create a "TMP" directory in the root of the current drive.
.exam begin
md d:\etc
.exam end
.pc
Create an "ETC" directory in the root of the "D" disk of the current
locale (local or remote).
.exam begin
md @rc:\demo
.exam end
.pc
Create a "DEMO" directory in the root of the "C" disk of the remote
machine.
Both locale and disk are specified.
.exam begin
md @le:test
.exam end
.pc
Create a "TEST" subdirectory in the current directory of the "E" disk
of the local machine.
Both locale and disk are specified.
.*
.section Rename - RENAME, REN
.*
.mbigbox
rename file_spec new_name
ren file_spec new_name
.embigbox
.np
This command may be used to rename a file in any directory on any disk
on the local or remote machine.
.sy REN
is a short form for
.sy RENAME.
The "@L" or "@R" prefix may be used to specify the locale (local or
remote).
Unlike the DOS "RENAME" command, a file can be moved to a different
directory if the directory is specified in
.sy new_name.
.exam begin
ren test.tmp test1.tmp
.exam end
.pc
Rename the file "TEST.TMP" in the current directory of the current
drive to "TEST1.TMP".
.exam begin
ren d:\etc\test.tmp test1.tmp
.exam end
.pc
Rename the file "TEST.TMP" in the "ETC" directory of the "D" disk of
the current locale (local or remote) to "TEST1.TMP".
.exam begin
ren @rc:\demo\test.tmp test1.tmp
.exam end
.pc
Rename the file "TEST.TMP" in the "DEMO" directory of the "C" disk of
the remote machine to "TEST1.TMP".
Both locale and disk are specified.
.exam begin
ren @le:trial.dat trial1.dat
.exam end
.pc
Rename the file "TRIAL.DAT" in the current directory of the "E" disk of
the local machine to "TRIAL1.DAT".
Both locale and disk are specified.
.exam begin
ren @le:trial.dat ..\trial1.dat
.exam end
.pc
Rename the file "TRIAL.DAT" in the current directory of the "E" disk of
the local machine to "TRIAL1.DAT" and move it to the parent directory.
Both locale and disk are specified.
.*
.section Remove Directory - RMDIR, RD
.*
.mbigbox
rmdir [/s] dir_spec [/s]
rd [/s] dir_spec [/s]
.embigbox
.np
This command may be used to remove one or more directories on any disk
on the local or remote machine.
.sy RD
is a short form for
.sy RMDIR.
The "@L" or "@R" prefix may be used to specify the locale (local or
remote).
If
.sy /s
is specified then subdirectories are also removed.
Before a directory can be removed, it must not contain any files.
.exam begin
rd \tmp
.exam end
.pc
Remove the "TMP" directory from the root of the current drive.
.exam begin
rd d:\etc
.exam end
.pc
Remove the "ETC" directory from the root of the "D" disk of the current
locale (local or remote).
.exam begin
rd @rc:\demo
.exam end
.pc
Remove the "DEMO" directory from the root of the "C" disk of the
remote machine.
Both locale and disk are specified.
.exam begin
rd @le:test
.exam end
.pc
Remove the "TEST" subdirectory from the current directory of the "E"
disk of the local machine.
Both locale and disk are specified.
.*
.section Display File Contents - TYPE
.*
.mbigbox
type dir_spec
.embigbox
.np
This command may be used to list the contents of a file on any disk on
the local or remote machine.
The "@L" or "@R" prefix may be used to specify the locale (local or
remote).
Unlike the DOS "TYPE" command, DOS or OS/2 "wild card" characters ("?"
or "*") may be used.
.exam begin
type \tmp\test.dat
.exam end
.pc
List the contents of the file "TEST.DAT" in the "TMP" directory of the
current drive.
.exam begin
type d:\etc\*.lst
.exam end
.pc
List the contents of all files of type "LST" in the "ETC" directory of
the "D" disk of the current locale (local or remote).
.exam begin
type @rc:\demo\test.c
.exam end
.pc
List the contents of the file "TEST.C" in the "DEMO" directory of the
"C" disk of the remote machine.
Both locale and disk are specified.
.exam begin
type @le:trial.*
.exam end
.pc
List the contents of all files named "TRIAL" of any type in the
current directory of the "E" disk of the local machine.
Both locale and disk are specified.
.*
.section RFX Sample Session
.*
.np
Run serial port server on remote PC specifying a port 1 and a maximum
baud rate of 38,400 baud.
.millust begin
Tue 11-07-1989 15:29:24.19 C:\
C>serserv 1.38
.millust end
.np
Run RFX on local PC.
.millust begin
Tue 11-07-1989 15:30:53.18 E:\DOC\UG
E>rfx ser
Link at 38400 baud
.millust end
.np
List directory of remote machine's "F" drive.
.millust begin
[RFX] Tue 11-07-1989 15:30:59.33 @LE:\DOC\UG
[RFX] E>dir @rf:
CLIB <DIR> 02-01-89 06:43p
MATH <DIR> 02-01-89 06:51p
PCLINT <DIR> 03-09-89 04:05p
3 File(s) 16748544 bytes free
.millust end
.np
Switch to remote machine's "F" drive and list files.
.millust begin
[RFX] Tue 11-07-1989 15:31:11.80 @LE:\DOC\UG
[RFX] E>@rf:
[RFX] Tue 11-07-1989 15:31:22.51 @RF:\
[RFX] F>dir
CLIB <DIR> 02-01-89 06:43p
MATH <DIR> 02-01-89 06:51p
PCLINT <DIR> 03-09-89 04:05p
3 File(s) 16748544 bytes free
.millust end
.np
Change to subdirectory and list files.
.millust begin
[RFX] Tue 11-07-1989 15:31:27.73 @RF:\
[RFX] F>cd clib
[RFX] Tue 11-07-1989 15:31:47.83 @RF:\CLIB
[RFX] F>dir
. <DIR> 02-01-89 06:43p
.. <DIR> 02-01-89 06:43p
MKCLIB BAT 95 12-20-88 04:24p
MKMODEL BAT 128 02-01-89 04:32p
MDEF INC 1831 12-08-88 12:23p
STRUCT INC 2487 12-20-88 05:45p
CLIB MIF 559 02-01-89 04:42p
H <DIR> 02-01-89 06:44p
SCSD <DIR> 02-01-89 06:44p
BCSD <DIR> 02-01-89 06:44p
SCBD <DIR> 02-01-89 06:44p
BCBD <DIR> 02-01-89 06:44p
BCHD <DIR> 02-01-89 06:44p
ANSI <DIR> 02-01-89 06:44p
DOS <DIR> 02-01-89 06:47p
A <DIR> 02-01-89 06:50p
C <DIR> 02-01-89 06:50p
CGSUPP <DIR> 02-01-89 06:50p
18 File(s) 16748544 bytes free
.millust end
.np
List directory of local machine.
.millust begin
[RFX] Tue 11-07-1989 15:31:51.57 @RF:\CLIB
[RFX] F>dir @l..\tools\*.c
CALENDAR C 4378 04-17-89 08:17p
CLRSCRN C 233 04-17-89 08:17p
ERR C 198 04-17-89 08:30p
MAIN C 142 04-17-89 09:14p
SAMPLE1 C 83 04-14-89 03:56p
SAMPLE2 C 83 04-14-89 03:57p
SAMPLE3 C 86 04-14-89 03:58p
SAMPLE4 C 132 04-14-89 04:05p
SAMPLE5 C 131 04-14-89 04:05p
SUB1 C 108 11-03-89 05:11p
SUB2 C 108 11-03-89 05:11p
TEST C 236 05-08-89 07:02p
12 File(s) 8292352 bytes free
.millust end
.np
Copy file from local machine to current directory of remote machine.
.millust begin
[RFX] Tue 11-07-1989 15:32:21.99 @RF:\CLIB
[RFX] F>copy @l..\tools\test.c
E:..\TOOLS\TEST.C
1 Files copied 0 Directories created
.millust end
.np
Confirm presence of file.
.millust begin
[RFX] Tue 11-07-1989 15:32:41.22 @RF:\CLIB
[RFX] F>dir *.c
TEST C 236 05-08-89 07:02p
1 File(s) 16746496 bytes free
.millust end
.np
Leave RFX.
.millust begin
[RFX] Tue 11-07-1989 15:32:46.99 @RF:\CLIB
[RFX] F>exit
Tue 1989-11-07 15:32:57.20 E:\DOC\UG
E>
.millust end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -