Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detecting attrib's /L option and support clearing symlinks' attributes #1

Open
Explorer09 opened this issue Jun 16, 2017 · 0 comments

Comments

@Explorer09
Copy link
Owner

This is part of usb_vaccine.cmd to-do list.

Currently usb_vaccine.cmd ignores symlinks during the [attrib] step because there's not yet a way to detect if user's attrib utility supports "/L" option ("/L" is supported since Windows Vista). This brings a further technical limitation that we cannot move symlinks with Hidden or System attribute but have to delete them instead. usb_vaccine.cmd has been trying to avoid deleting any file from user's system, and ideally we can avoid deleting symlinks too, at least in Windows Vista or later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant