Cd Command Syntax Stata. If you now wanted to change to CUsersbilldatacityny you could type cd ny. If used with only a drive letter for example cd C cd displays the names of the current directory in the specified drive.
To change the working directory we first specify the cd command before importing any dataset. The latter ls causes Stata to list the contents of your current directory. Pwd Stata for Mac and Stata Unix cd cd.
If used with only a drive letter for example cd C cd displays the names of the current directory in the specified drive.
So all we require to run this command is the command itself followed by at least one variable. The path should contain the drive letter followed by a drive qualifier DRIVE_LETTER. Pwd If your directory name contains embedded spaces remember to enclose it in double quotes. The Review window keeps track of all commands Stata has run successful and unsuccessful.
