![]() ![]() So if you want to copy everything, including the folders within, use the slightly more advanced xcopy *.* DESTINATION /e instead.ĩ) MOVING FILES D:\http\test>move README.txt d:\http\tempĭon’t think this one needs explanation, move is the cousin of copy and the usage is the same – move SOURCE DESTINATION.ġ0) REPLACING FILES AND FOLDERS D:\http\test>replace READLATER.txt d:\http\tempīy default, copy and move will prompt if you want to replace existing files. Now, the problem with copy is that it only copies files, but not the folders within. To copy all the files in the current directory, use copy *.* DESTINATION.Ĩ) X-COPY D:\http\test>xcopy *.* d:\http\temp /e To copy a file, simply specify the source file and destination – copy SOURCE DESTINATION. Hit exit when done, and this will close the current session.įILE ACTIONS 7) COPYING FILES D:\http>copy README.txt d:\http\temp When the screen gets too messy, use cls to clear the screen.įrom the command prompt, we can also launch various apps.Ĭaptain Obvious to the rescue again. to go up one level, or cd/ to go all the way back to the root of the current drive. D:\http>cd d:\Documents\eBooksĪnother way to use the cd command is to enter a full file path. For the above example, we can just type out cd h and press tab to cycle through the list of folders starting with “h”. There is one trick here – We don’t actually need to type out the full folder name. Next, we have the cd command… Should be Captain Obvious, changes the current directory. ![]() To list the contents of the current folder, use the dir command.ģ) CHANGE THE CURRENT DIRECTORY D:\>cd http If you want to change the current directory to another drive, simply enter the drive letter – For example d: or e.Ģ) LIST CONTENTS OF THE CURRENT DIRECTORY D:\>dir That is, the current location is at the C:\ drive, inside the default Users\NAME folder. This should pretty self-explanatory, it is your “current directory”. ![]() When the command prompt is launched, all that is staring back is a C:\Users\NAME. Now that you have launched the command line, here are some of the basic commands to know.īASIC NAVIGATION 1) CHANGING THE CURRENT DRIVE Microsoft Windows ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |