Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Command Prompt Basics 2 - File Manipulation

Loading...

Sign in or sign up now!
43,944
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 3, 2008

Have a problem? Ask in the forum:

http://www.mob3.co.uk/forum

or the live chat:

http://www.mob3.co.uk/chat
Here I show part 2 of 3 of my Command Prompt Basics Video. I show how to create, view, rename, copy, delete & make files hidden. I also talk very quickly about making and removing directories

Copy Con = Make new file + enter contents
Type = View file contents
Ren = Rename
Start = Start windows program
Attrib = Add or Remove file attributes
Xcopy = copy multiple files
MD = Make Directory
Copy = Copy file
Del = Delete file
RD = Remove Directory



You can run more than one command in a batch file, just rename the end to BAT (filename.bat).

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 10 dislikes

Link to this comment:

Share to:
see all

All Comments (87)

Sign In or Sign Up now to post a comment!
  • u def didnt tell me wat i wanted to kno thank u fer nothing :)

  • @Sitof100 you can use the %username% command

    so to go to your desktop for example you can do

    cd C:\Users\%username%\Desktop

    And if you want to find out what your computer name is just type "echo %username%"

  • @mobilephone2003 can you hide a folder or a file with cmd?

  • what if a file name is composed by several separated words like this for exemple :" b c d.txt " ?

    because I have souch a file and whenever I try to manipulate with it, the system can not find it!

    help me please!

  • Excellent video. Anyone view the help page and read what commands do, but seeing what they do and how to use them in these videos infinitely helped me understand the dynamics of the Command Prompt and its use. Thanks for making the video posts.

  • Is there any "open with" command? What I want to do is open a file with an unrecognized extension (ex: filename.x4k) but I want to set the written batch file to open it with cmd. I know you can do this with notepad by typing "notepad.exe filename.x4k" but that is useless to me. I assumed it might be "cmd.exe filename.x4k" but all that does is displays copyright information. Any help?

  • this help me a lot!

  • how the hell do you find out your computers name because if i dont find that i can go on to the desktop or any other folder right

  • @TheXasapakos I wouldn't advise it, but you can forcefully delete files with del /f but if you forcefully delete something important, you'll be hurting for it later.

  • If you type "Cat b.txt" wouldn't that work as well?

View all Comments »
Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more