Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

copy, move and delete at DOS


  • Please log in to reply
2 replies to this topic

#1 sakaman

sakaman

  • Members
  • 43 posts
  • OFFLINE
  •  
  • Local time:07:16 AM

Posted 24 September 2005 - 04:10 PM

HI,

Well I've read the tutorial about using window's command prompt.
While I can move, copy and delete one archive or those that end with the same way (I mean for ex. *.txt)How I can't copy, move or delete diffrent archives the same time?

How can I delete folders?
I tried help command but i couldn't understand much

Thanks a lot, Sakaman

Edited by sakaman, 25 September 2005 - 01:51 PM.


BC AdBot (Login to Remove)

 


#2 1timcarter

1timcarter

  • Members
  • 82 posts
  • OFFLINE
  •  
  • Local time:07:16 AM

Posted 07 October 2005 - 09:24 PM

How can I delete folders?
I tried help command but i couldn't understand much

Try rmdir [target] or rd for short

rmdir=remove directory

Can't remember for sure, but the directory may have to be empty before it will work. It may just give you a warning if not.

(Directory is the DOS word for folder)

SkyDawg
Posted Image

#3 Auritribe

Auritribe

  • Members
  • 16 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:08:16 AM

Posted 15 November 2005 - 10:55 AM

How can I delete folders?
I tried help command but i couldn't understand much

Try rmdir [target] or rd for short

rmdir=remove directory

Can't remember for sure, but the directory may have to be empty before it will work. It may just give you a warning if not.

(Directory is the DOS word for folder)

SkyDawg


First, DOS is actually a PC operating system, made popular by MS-DOS back in 1853. What you're running on is Terminal, running Bash, or Csh over Mac os X, but that really doesn't matter at all.

Anyway, rmdir works if the directory is empty, but if you want to remove a directory and its contents, you can use a somewhat volatile command that makes the job quicker.

Find the folder you're looking to destroy, and type:

rm -rf foldername/

Be VERY careful using the command, its notorious for ruining peoples lives.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users