Install the complete package with local command reference and every published mode.
install renrenRename a file or directory without changing its parent directory while keeping terminal working paths consistent.
Use
Use
ren [-f] <new> · <src> <new>ren <new>rename the current directory
ren <src> <new>rename a file or directory
ren <src> <new> -frename over an existing file, link or empty directory
Without -f, an existing destination is an error. Use -f only when the old destination is deliberately disposable, for example
<new> is a name, not a path. Slashes, . and .. are rejected. Use mov when the parent directory must change.
Run the prepared examples directly on the page. Their results are prebuilt and shown in the browser; no terminal command is executed on the server.
Install the current compatible version. Choose Base for the complete feature set or Minimum for the reduced package; use upgrade to update a module that is already installed.
Base and Minimum are two packages of the same current module release, not separate command versions.
Install the complete package with local command reference and every published mode.
install renInstall the reduced package. Local reference is omitted;
install ren -mInstall exactly this published version.
install ren -v 1.2.3Ask upgrade to check compatibility and replace the installed block only when needed.
upgrade renRemove the extension block while leaving the core and unrelated modules intact.
install ren -uExamples are copyable command lines, not actions executed by this website. Review paths, permissions and destructive flags before running them on a real project.
cd \sandbox\tmp | pwd | ren draft.txt final.txt | cd .README.txt
current.txt
draft.txt
new.txt
sandbox/tmp
README.txt
current.txt
final.txt
new.txtren new.txt current.txtDestination already existsren new.txt current.txt -fREADME.txt
current.txt
draft.txtcd \sandbox\workspace | ren archive | pwdoriginal.txt
replace.txt
updated.txt
sandbox/archiveren draft.txt nested/final.txtInvalid namesandbox/workspace/original.txtThe example uses a file or directory from the protected /sandbox/ documentation workspace.
alpha
beta
gamma
A successful rename now returns a compact flat listing instead of expanding a directory tree.