You can display the disk directory,
time and date without using DOS:

Dir	Display directory

Date	Display date
Time	Display time

Try each of these commands.


Note: the directory is hard to read in
the narrow window because it is
displayed four across. The following
command displays it two across:

Dir("",COUNT,2)  Display directory,
		 2 across

--- Press <Ctrl-A> to continue ---





The "Sys" command will run a single DOS
command or program and immediately
return to VEDIT. "Sys" is similar to the
menu function {MISC, Run DOS Program}.

Sys("dos-command")

For example, to let DOS display the
directory and run the program CHKDSK,
give the following commands:

Sys("dir")

Sys("chkdsk")

Technical Note:
Although too complex for this tutorial,
it is possible to give the "Sys" command
with a "variable" DOS command, i.e. the
DOS command is stored in a "text
register".

--- Press <Ctrl-A> to continue ---


To temporarily enter DOS, give the
"Sys" command without arguments. This
is identical to the menu function
{MISC, DOS Shell}.

The DOS prompt will be displayed as
"pathname>>". The double ">>" is a
reminder that you are still in VEDIT.
You can run as many DOS commands or
other programs as you like. Give the
DOS command "EXIT" to return to VEDIT.

REMEMBER: You must give the DOS command
	  "EXIT" to return to VEDIT and
	  this tutorial.

Type:   Sys		(and <Enter>)

Technical note:
VEDIT may be using too much memory to
run some v. In practice, VEDIT
can be invoked to use less memory.
--- Press <Ctrl-A> to continue ---


The little known Windows 95/NT "start"
command launches the program associated
with the specified file, similar to
double-clicking on the file in Explorer.

The VEDIT "Sys" command can use this to
launch associated programs. For example,
assuming you have a Web browser
associated with Web addresses, e.g.
Internet Explorer, you can visit our
Website with the command:

sys("start http://www.vedit.com")

(It is OK if the command you enter wraps
to multiple lines.)

--- Press <Ctrl-A> to exit this
--- tutorial topic and return
--- to normal editing
