.TH MSDOSRENAME 1
.PD
.ad b
.SH NAME
msdosrename \- rename a file on MS-DOS media
.SH SYNOPSIS
\fBmsdosrename \fR[\fB-h\fR]\fB <msdosdevice>:<filename> <newname>
.SH HP-UX COMPATIBILITY
.TP 10
Origin:
User Contributed
.SH DESCRIPTION
.I Msdosrename
renames a file or directory on an MS-DOS medium.
.I Msdosrename
supports the hierarchical MS-DOS file structure, using "/"
as the path separation character.
.I Msdosrename
does not support wild-carding filenames.
.PP
The options are:
.RS
.TP .5i
.B -h
allows renaming of hidden files.  If this option is not specified,
\fImsdosrename\fR will not find a hidden file.
.RE
.PP
.I Msdosrename
does not work on DOS 1.x disks.
.SH EXAMPLES
.TP 5
msdosrename /dev/rfd.0:xyzzy.prn xyzzy.lst
rename file "XYZZY.PRN" in the root directory to "XYZZY.LST".
.TP
msdosls /dev/r9133.fd:mydir/filename newname
rename file "FILENAME" in subdirectory "MYDIR" to "NEWNAME".
.SH SEE ALSO
msdoscp(1), msdosinfo(1), msdosls(1), msdosmkdir(1), msdosrm(1).
.SH NOTE
MS-DOS is a registered trademark of Microsoft, Inc.
