Deleting a folder named <error> in Windows XP

3

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?

Filippo1980

Posted 2011-12-03T18:39:50.177

Reputation: 133

Does the '<error>' folder have any strange permissions? – Eroen – 2011-12-03T19:17:51.487

1The 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 – 2011-12-03T20:29:01.133

You can check the answers to this thread to rename your invalid-named file and then deleted it.

– None – 2011-12-04T00:38:38.723

@ boot13 : Can you tell me where is this option in netbeans? – Filippo1980 – 2011-12-06T16:18:07.507

Answers

0

try deleting the file using the command

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

imaximchuk

Posted 2011-12-03T18:39:50.177

Reputation: 233