I have a start menu directory with characters from a different charset. i.e. on my english machine i have a start menu with items that include turkish characters e.g. "Güvenlik Duvarı"
On an english machine RMdir /r wont remove this item. Any ideas what i can do to remove this item
Cheers
Gavin
RMDir /r not working
2 posts
RMDir /r uses the short file name, in case the file name contains Unicode characters. This should work if, for example, you delete $SMPROGRAMS\Stuff and under that folder, the user created some folder with Unicode characters. However, if you're trying to delete a known folder with Unicode characters, that won't work because it won't be able to find the folder. You'll have to either manually use the short file name, manually delete the folder using System::Call kernel32::RemoveDirectoryW or rename the folder to a Unicode-less name.