Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
1  
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. –  screener 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

1 Answer 1

try deleting the file using the command

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.