Category "windows"

For loop doesnt execute for all instances - OS Module Python

The code below reads the first 4 letters of a filename, and if a folder with those 4 letters exists then it shifts that file to that folder. Otherwise, it creat

Windows 10 Driver EvtIoRead callback not scheduled frequently enough

I have inherited a Windows device driver that receives data packets using DMA. It's been working reliably for years on a 32 bit platform but I've had to port it

Headless chrome fails in windows container, require DXAVDA dll's even when using --headless switch

I am trying to run chrome headless within a windows container, however chrome crashes stating it's missing a number of DXVAVDA libraries. However I am passing t

using powershell inside batch file to add floating numbers from text file

i have a text file logging timestamps from ffprobe on video durations of some video files, which that text file looks like this: 14.068700 5.043011 84.071967 5

Flutter Visual Studio - develop for Windows

There is a warning when I use flutter doctor : Visual Studio - develop for Windows X Visual Studio not installed; this is necessary for Windows development. Dow

Script to double quotes

I have a keyboard that does not have double quotes, when I need to use it, it's very difficult to remember the FN. How can I create a script so that when I pres

Get owner of a file using python on windows system

I want to extract the owner of a file within a python3 script on a Windows system. When I run: os.path.expanduser(fp) or os.stat(fp).st_uid I receive a 0 for al

Flutter Visual Studio - develop for Windows

There is a warning when I use flutter doctor : Visual Studio - develop for Windows X Visual Studio not installed; this is necessary for Windows development. Dow

Move another window and rebound if touch borders of desktop

I have a question. How can I create a program that moves a specific window, for example discord around the desktop and if it touches an edge it bounces?

Move another window and rebound if touch borders of desktop

I have a question. How can I create a program that moves a specific window, for example discord around the desktop and if it touches an edge it bounces?

What is the mysqld_safe command for Windows-based installations?

I need to run the mysqld_safe command in a MariaDB installation, but I cannot find it inside the \bin folder...

How to add the UIA ExpandCollapse pattern in Qml

I'm using http://accessibilityinsights.io/ to make sure my QML application passes Microsoft requirements for accessibility. There's only one error that I couldn

AttributeError: module 'gym.envs.box2d' has no attribute 'CarRacing' / box 2d doesn't install successfully

environment_name = 'CarRacing-v0' env = gym.make(environment_name) AttributeError: module 'gym.envs.box2d' has no attribute 'CarRacing' and i did pip install b

Prevent mypy errors in platform dependent python code

I have something akin to the following piece of python code: import platform if platform.system() == "Windows": import winreg import win32api def do_cr

Gradle Build Failed after updated to 7.4.1 in windows 10 for java 8 project

Getting error like this What went wrong: Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example,

Command Prompt / Anaconda Command Prompt not opening in Windows 11

I am doing a research project that involves me running terminals in the Anaconda Command Prompt. I was able to install and work the current version of Anaconda

windows kernel driver and undocumented API

I try to use an undocumented API while developing a windows kernel driver. Please don't tell me this is not the best thing to do ;) Anyway, the undocumented API

How to change the windows resolution Scale with python?

I am trying to change the windows display configuration from python with the pywin32 library, I have managed to change the resolution but when trying to change

Building jq on Win10 using mingw fails at link time due to redefinition of pthread_key_create / pthread_setspecific / pthread_getspecific

I apologize as I haven't dealt with C in a professional capacity in over 20 years, so maybe there's an obvious fix here. When building within mingw64 I can get

What is the maximum length of url in case of custom protocol handlers registered on Windows OS?

I have a use case where I am attaching the complete data uri of an image to the the url in base64 encoded form. The length is getting around 15000 characters. I