Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Dunno if this is a zookeeper problem, or a windows problem. MS of late seems to be of the opinion that the operating system is theirs and you're just a guest on it.
-
mr-user13524y@SortOfTested
I found a way to delete it.
I use "WinRar" with admin privilege and add the folder to the archive.
I told the "WinRar" to delete the file after archiving. Now I have ".rar" file which I can delete correctly.
What make the "WinRar" different from Windows file manager? -
@mr-user
It's likely using better APIs ( https://docs.microsoft.com/en-us/... )
Give del /f a try next time while running as administrator. Most file managers are just a convenience feature. -
mr-user13524y@SortOfTested
I had try "del /f" , its just said.
"Could Not Find G:\Program\tmp\apache-zookeeper-3.5.7-bin\apache-zookeeper-3.5.7-bin\docs\apidocs\zookeeper-jute\org\apache\zookeeper\txn\class-use\CreateTxn." -
@mr-user
Did you check if the files were symlinks? Delegate sessions don't have permissions to muck with symlinks under windows. -
mr-user13524y@SortOfTested
By symlinks do you mean "shortcut" ? I think the file are not short cut.
The strange thing is that file don't have any extension. It just end with period (.) , maybe that is why it is messing up the Windows file system.
To be honest with you I don't understand your second sentence. I am using Admin account. -
@mr-user
No, a symlink is a symbolic link. A shortcut is a file. Mklink can produce either. -
Seeing what you've posted, this feels like a file name length issue. Robocopy to NUL. That's the standard way as it uses the appropriate APIs.
-
The dot at the end could be the culprit. Usage of old, quirky APIs is ubiquitous in Windows.
Related Rants
I decided to delete Apache Zookeeper on my Windows system but I cannot delete
1)CreateTxn.
2)DeleteTxn.
3)SetACLTxn.
4)TxnHeader.
in "docs\apidocs\zookeeper-jute\org\apache\zookeeper\txn\class-use"
It should be easy to delete but Windows said it cannot delete the file. I try to delete using command prompt but it said access denied.
question
deleting
it should be easy
windows