Easier Way to Change Folder
Even though, this moment is graphical era, there are still many peoples are using MS-DOS or BASH command beside Windows or other GUI operating system. This time I want to discuss about a MS-DOS command that I still using it everyday until this day. I’ll write about a command to change to other directory or folder.
I think you already know that command. Yup, you’re right. The command is cd or chdir. To try this tutorial you can start with open MS-DOS console.
- Click Start -> Run menu, enter
cmdin box and then press Enter.

- To display your current directory, just type
cdon prompt then press Enter. (Beside it you can also look it on your prompt, usually the prompt is display the current directory too) - To display the
cdcommand help, typecd/?Then press Enter. - You can change the current directory on other drive. I consider your current drive is C: and you want change directory to directory data on drive D, type
cd d:\data. You need to know that, although you’ve changed the current directory on drive D, you don’t jump to D:\Data automatically until you change your drive by type command D: on prompt. If you want to change directory to other directory on other drive and jump to there automatically, just add previous command with parameter/D. So, you need to typecd /d d:\data. - If you have many directories with long name you can try this trick. For example you want to change directory to C:\Data\Otak Atik. You don’t need type the directory name completely, just type
cd \da*\ot*then press Enter. You’ll jump to C:\data\Otak Atik automatically. You can also use this trick to complete your command written. - And if you want change to up directory just type
cd ..on prompt. Or if you want to change to other directory data on upper directory directly, you can also try this way. For example, if you in directory C:\Data\Otak Atik and want to move to directory C:\Data\Data2, type this command:cd ..\Data2then Enter. Then you’ll move to upper directory and move to C:\Data\Data2 automatically.
. - If you want move to root directory, just type
cd\on prompt.

![Otak Atik [dot] Com](http://www.otakatik.com/wp-content/themes/typebased/styles/default/logo.jpg)


Recent Comments