top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

How to delete a folder name containing *

+1 vote

say directory name is di* then how to delete it?

posted Aug 20, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
Try to rename the folder and delete
try putting the name in quotes

2 Answers

+1 vote

Add the directory name in double quotes [ " "].

For example, if dir* is the directory name, rmdir "dir*" deletes dir* directory.

answer Aug 20, 2014 by Ranjith
0 votes

Move it to some tmp directory and delete parent directory.

answer Aug 20, 2014 by Abhay
Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.