Title

cddrop -- Drop or restore
a command used for changing the working directory

General syntax

cddrop command-name [ , delete restore ]

command-name is a cd command such as cdproject. If
the name does not begin with cd, cd is added to the
command-name. The abbreviation _all
indicates that all cd commands in PERSONAL should be processed.

Overview

By default, cddrop renames the ado file associated with a
cdproject command. For example, cddrop cdmyproject
renames cdmyproject.ado to cdmyproject.dropped.
With the delete option the ado file is deleted.

A file that has been
renamed with the dropped suffix can be restored with the
restore option. For example, cddrop cdmyproject, restore
renames cdmyproject.dropped to cdmyproject.ado.

Options

delete deletes the ado file. With the delete
option, cdcommand-name.ado
is renamed to cdcommand-name.dropped.

restore renames
cdcommand-name.dropped
to cdcommand-name.ado.

Citing cddrop.ado

When using these commands, please cite:

J. Scott Long. 2017.
A workflow for managing working directories and projects in Stata.

http://www.indiana.edu/~jslsoc/