Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rmdir problem

Status
Not open for further replies.

ersatz

Programmer
Joined
Oct 29, 2002
Messages
114
Location
US
Hi
I created par error a directory named –ltr
How can I remove this directory?
I used rmdir –ltr but don’ t work
Any idea, please?
 
rmdir /path/to/-ltr

Hope This Help
PH.
 
use PHV post, that's working..
mine should be rm ./-ltr
 
You can also use the syntax :

rmdir -- -ltr

Jean Pierre.
 
Thanks to all.
You are very prompt.
I tested rm ./-ltr and it work.
Many thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top