Category "windows"

Change Monitor Input Source

I want to change my monitor input source with AutoHotkey, and I have this partially working. However when I use the hotkey to change the Monitor Input Source to

Importing data from CSV file into MYSQL

I am trying to load data into a database table (MYSQL 8.0.28) in my Windows 11 pc through load data local infile command. I have gone through the syntax (https:

List all files with 2 timestamps, size, but without path or dir

Windows, Command Prompt, need to generate a .txt file output containing of all files from a big and complex dir tree with one (1) line for each files as: Creat

Is there a way to read incoming Windows notifications with python?

I would like to write a python script that listens to all incoming windows notifications and returns their content, so far i found nothing that works with pytho

Windows notification with button using python

I need to make a program that alerts me with a windows notification, and I found out that this can be simply done with the following code. I don't care what li

Non blocking read on os.pipe on Windows

This question - How to read from an os.pipe() without getting blocked? - shows a solution how to check if os.pipe has any data for Linux, and for this you need

Halt batch file until website stop is complete?

This question is very similar to Halt batch file until service stop is complete? but I would like to stop a website instead. I currently have appcmd stop sites

Running filebeat on docker

i'm trying to install elk and filebeat on docker, well i uploaded the image of elk and it worked i can go to the kibana dashboard and view elastic ,... Now I wa

Windows Desktop GUI Automation using Python - Sleep vs tight loop

I am using PyAutoGUI library of Python to automate GUI. The application which I am automating opens a new window after I am done with data entry on my current w

Cloud Functions deploy error during lint on Windows: "enoent ENOENT: no such file or directory"

Following the firebase function getting started guide and getting a seemingly simple error once trying to deploy with: firebase deploy --only functions i dep

How to change HOME directory and start directory on MSYS2?

I have installed MinGW-w64 and MSYS2. But how do I change the HOME directory in MSYS2? So that when I type cd $home or cd ~ it goes to another directory that I

httpd.conf on Windows: can't locate API model structure `php8_module`

I'm trying to install PHP, Apache and MySQL on Windows, following these guidelines. At some point, I am prompted to edit httpd.conf to point to my PHP installat

Redefinition error in propidlbase.idl when compiling ATL project in Visual Studio 2019

I am trying to migrate a previous an older project from Visual Studio 2010 to a current version of Visual Studio (2019). I Microsoft's change notes on upgrading

Disable security on elastic and kibana

Hello i'am new with elastic search. I followed this documentation in order to enable security, i set a password with only number and that is the main problem. h

Docker whale icon is not appearing in system tray

I want to switch my container from Linux to Windows. The documentation says go to docker whale icon in system tray and switch it. But it is not appearing in my

vbscript - SQL Windows Authentication - different user

I want to read data from an SQL Database in my VBS Script. My problem: I need to logon with Windows Authentication and not with an SQL Account. But I cannot use

Windows batch script - requesting UAC admin rights in a log-friendly way

I'm requesting admin with the following in a batch script: : BatchGotAdmin REM --> Check for permissions >nul 2>&1 "%SYSTEMROOT%\system32\cacls.e

How to install and use "make" in Windows?

I'm following the instructions of someone whose repository I cloned to my machine. I want to use the make command as part of setting up the code environment, bu

OSError: [WinError 193] %1 is not a valid Win32 application while reading custom DLL in python with CTypes

I am trying to write code that wraps a C library in python. I am planning on using CTypes to do it and I used visual studio to compile my DLL. I started with a

Integrating Crashpad with a Windows Qt application

We are trying to integrate Crashpad with our Qt application and have run into several errors. We built Crashpad and attempted to link it to our application usin