Skip to main content

How to create a folder in cmd and move all files inside


  • How to create a folder in cmd and move all files inside
  • Now that you know how to start cmd.exe, lets assume you have a number of text files in your desktop and you like to move all of them to one folder. This is how you would do it 

      1.create the older first called text_files like  md .\desktop\text_files


2.Now move all the text files from your desktop to the folder you created, type move .\desktop\*.txt .\desktop\text_files\



Comments

Popular posts from this blog

Zavigne

Simple loop in cmd

Ever wondered how to make a loop in cmd  1.start cmd.exe 2.Simple type for /l  %i in (1,1,10) do echo %i

How to shutdown a computer using command

Lets say you want to sleep while watching a movie in your laptop and you want it to shut itself down in 30 minutes,an hour or any time you want,this is how you would do it.      1.Start cmd and type shutdown /f /s /t 300        -shutdown calls windows shutdown        -/f is to force the shutdown and terminate all the running applications        -/s is to specify a shutdown, you may also sleep,hibernate or restart your pc        - /t is for time in milliseconds,300 milliseconds is 5 minutes.   2.Lets say you want to abort your scheduled shutdown, just type shutdown /a   and the system will cancel automatically and notify you like this.