Also see general devops pages, and cmd-batch cheatsheet.
takeown /f [FOLDER] /r /d y
- Try using Windows GUI and "change owner" under permission - make sure to set to apply to all children, for both replacing the owner, and applying permissions recursively
Try seeing if an application/user has a lock on the file/folder.
Try using LockHunter first
- AWESOME gui based tool that can unlock, kill blocking processes, and even automatically do the whole process - kill the lock and delete the folder - and integrated into the windows right click menu
- for a more manual approach, try PROCEXP from sysinternals
- Try booting into safe-mode and then deleting or changing permissions
- Nuclear option - boot into Linux and rm rf that sob
Be aware that, even within Windows 10, there are still filename and path/directory limitations - https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file
These are just some of my favorites (most used):
For am exhaustive listing, see this handy reference page from MS.
||Snap window to different side of screen|
||Quickly move window to different monitor|
||Opens the "Quick Access Menu"|
||Close all windows (show desktop)|
You can use
ffmpeg for this. First use this to find your camera name:
ffmpeg -list_devices true -f dshow -i dummy -hide_banner
Then, once you have the camera name, you can use:
ffmpeg -f dshow -show_video_device_dialog true -i video=%CAMERA_NAME%
Most integrations with the Win APIs (aka WinAPI, Win32) use low-level C, C++ or C#, but there are also some useful bindings / wrappers for other languages and abstractions:
I've only skimmed the surface of what this takes, but it looks like you can change video settings of a webcam (such as exposure and contrast) programmatically, with DirectShow / WDM Video Capture and the
Strmif.h subset of the Win32 API.
More specifically, the
IAMVideoProcAmp interface has getter and setter methods (e.g.
IAMVideoProcAmp::Set) to read and write properties. AFAIK, this is how some popular programs (such as webcamoid), get and set video device properties on Windows.
Some related projects that use the
IAMVideoProcAmp interface are: