Rev 51730 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File src/library/utils/man/windows/shortPathName.Rd% Part of the R package, http://www.R-project.org% Copyright 1995-2008 R Core Development Team% Distributed under GPL 2 or later\name{shortPathName}\alias{shortPathName}\title{Express File Paths in Short Form}\description{Convert file paths to the short (DOS) form, with 8+3 path componentsand no spaces. This is an interface to the Windows API call\code{GetShortPathName}.}\usage{shortPathName(path)}\arguments{\item{path}{character vector of file paths.}}\value{A character vector. The path separator will be \code{\\}. If thefile does not exist, the supplied path will be returned with slashesreplaced by backslashes.}\seealso{\code{\link{normalizePath}}.}\examples{\donttest{cat(shortPathName(c(R.home(), tempdir())), sep = "\n")}\testonly{cat(shortPathName(R.home()), sep = "\n")}}\keyword{ utilities }