Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For my job, I switch between Windows XP and Ubuntu, using Netbeans as IDE.

Now, I don't know why, but Netbeans on Ubuntu some times creates a folder named <error>, and places it into the build subfolder on my project.

When I try to launch it from Windows XP, Netbeans tells me that it can't build the project because it can't delete this folder.

I can't delete it also from Windows XP or use these commands in the prompt: deltree and rm

How can I remove these folders without having to reboot into Ubuntu?

share|improve this question
Does the '<error>' folder have any strange permissions? – Eroen Dec 3 '11 at 19:17
The angle bracket characters are not legal to use in a folder name in Windows. They are both redirection operators. Getting rid of the folder should be possible, but you should also configure Netbeans to NOT use that folder name or you'll keep having this problem. – boot13 Dec 3 '11 at 20:29
You can check the answers to this thread to rename your invalid-named file and then deleted it. – user33758 Dec 4 '11 at 0:38
@ screenr : ok thank you! – Filippo1980 Dec 4 '11 at 8:26
@ boot13 : Can you tell me where is this option in netbeans? – Filippo1980 Dec 6 '11 at 16:18

try deleting the file using the command

del \\?\c:\path\to\dir\^<error^>

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .