EasyManua.ls Logo

Commodore PC - How to Rename a Directory

Commodore PC
414 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
12
MS-DOS
User's
Reference
To
remove
all
the
files
in
a
directory
(except
for
the
"."
and
".."
entries),
type
del
followed
by
the
path
of
the
directory.
For
exam
ple,
to
delete
all
files
in
the
\user\emily
directory,
type
the
fol-
,
j
lowing
command:
^—'
del
\u5er\emily
U
ms-dos
prompts
you
with
the following
message:
Are
you
5ure
(Y/N)?
i)
If
you
really
want
to
delete
all
the
files
in
the
directory,
type
Y
(for
Yes).
If
not,
type
TV
(for
No)
to
stop
the
command.
i
j
Now
you
can
use
the
rmdir
command
to
delete
the
\user\emily
directory
by
typing
the
following
command:
rmdir
\user\emily
—
Shortcut
To
save
time
you
can
also
use
the
letters
rd
for
the
\)
rmdir
command.
How
to
Rename
a
Directory
w
Renaming
a
directory
There
is
no
command
to
rename
a
directory
in
ms-dos.
You
can,
however,
rename
a
directory
that
has
no
subdirectories.
Suppose,
M
for
example,
you
want
to
rename
the
\user\pete
directory
and
call
it
\user\emily.
To
do
this
you
would
follow
these
steps
(remember
to
press
the
return
key
after
each
step):
,
\
H
To
create
the
new
directory,
type:
mkdir
\user\emily
i)
[U
Then
to
copy
the
files
from
the
old
directory
to
the
new
direc
tory,
type:
[^J
copy
\user\pete\*.*
\user\emily
[H
Now
to
delete
the
contents
of
the
old
directory,
type:
^-^
del
\user\pete\*.*
U
(Type
Fin
response
to
the
prompt
"Are
you
sure?")
H
Finally,
to
remove
the
old
directory,
type:
rmdir
\user\pete
U

Related product manuals