Takeown.exe language problem ?
Posted on 2013-01-31
I use the "takeown" command in an elevated CMD or Powershell like this :
takeown /F .\MyFolderName /A /R /D Y
to take ownership of a full directory, but the command stops with this error :
INFO: The system cannot find the path specified. ( "D:\DataUsers\NetShare\Commandes\DOSSIERS\fourniture\photocopieurs\Location de Photocopieurs\2008 copieurs couleur\DÃ©matÃ©rialisation\Location maintenance photocopieurs - CSL_2008_CYhBZfNClM\0300 - Registre, Rapport, PV et dÃ©cision\registre-retrait.pdf" )
Ok see the bold characters ? This is french characters "é" but in CMD it will be transformed into "," and in Powershell "Ã©". Therefore, I cannot fully use takeown.exe and I'm stuck.
The operating system is a Windows 2008 R2 SP1 US with French language pack installed; Locals are set on French (all locals in Control Panel). Except the interface display.
Do you have any idea ? Thx !