Quantcast
Channel: File Services and Storage forum
Viewing all articles
Browse latest Browse all 13565

TAKEOWN & Long path

$
0
0

Hi,

I am experiencing errors when trying to take ownership of files which have a path longer than 260 characters.

Takeown /F "C:\my\very\long...\...\path\file.txt" /A

ERROR: File or Directory not found.

The file is present and I can take manually ownership.

If I do a DIR on the file I have the error: The filename or extension is too long.

Is there a "way" to make TAKEOWN works on long path? (Without using mapped drive)

I can take ownership of the files using SUBINACL, but I want a confirmation that there is no way to use TAKEOWN on long path.

Thanks

Rgds

 


Emmanuel

Viewing all articles
Browse latest Browse all 13565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>