homesqert.blogg.se

Simple writer windows
Simple writer windows






To remove a folder, we have to use the rmdir command instead. Please take note that the previous del command will only delete files, but not remove the folder itself. This can get irritating when moving a large number of files, so use replace SOURCE TARGET if you just want to replace everything.ġ1) RENAMING FILES AND FOLDERS D:\http>ren README.txt READLATER.txtġ2) CREATING A NEW FOLDER D:\http>mkdir myNewFolderġ3) DELETING FILES D:\http>del READLATER.txtġ4) REMOVING FOLDERS D:\http>rmdir myNewFolder /S 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. For the above example, we can just type out cd h and press tab to cycle through the list of folders starting with “h”.Īnother way to use the cd command is to enter a full file path. 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”.

simple writer windows

When the command prompt is launched, all that is staring back is a C:\Users\NAME.

simple writer windows

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








Simple writer windows