Link to home
Start Free TrialLog in
Avatar of SIGMAEXPLOIT
SIGMAEXPLOIT

asked on

Takeown.exe language problem ?

Hello,

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 !
ASKER CERTIFIED SOLUTION
Avatar of S Z
S Z
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SIGMAEXPLOIT
SIGMAEXPLOIT

ASKER

Thank you I'll give you the point but I have I think a last problem.

I still get an error seen on log :

INFO: The system cannot find the path specified. ( "D:\DataUsers\PartagesReseau\DirectionCommandePublique\DOSSIERS\INTELLEC\MAITRISE D'OEUVRE\Aménagement esp extérieurs\Potager\projet initial\Dématérialisation\MOE aire de jeu résidence Potager - CSL_2008_bkWTiOE_Sd\0300 - Registre, Rapport, PV et décision\registre-depot.csv" )

I do not understand, this time...
sorry for the delay i somehow missed your answer in my emails..

the path has 273 characters - windows supports up to 255 characters of path+filename length - you should shorten filename and path in general this seems to be a little folder-chaos...

regards