Category "windows"

powershell script to select directory

I would like to create a powershell function or cmdlet that would allow me to quickly navigate to files and function like the example below. Could someone enlig

Why there is a delay in running a console application just created?

I have noticed this for a while. After building a cpp console application, when i run it through command prompt, the first time it takes some time to run. The s

Atom IDE Tab Groups

I was a macbook user in my previous job. I used Atom IDE as a text editor there because I liked how it handled projects in the LHS tree view, and because I lik

Driver signing works for some machines only

I developed a kernel-mode driver and signed it with a "standard" code signed certificate because at this time I do not know about Win 10 driver signing. I test

how to create a windows shortcut to a folder in python

My problem is that i can't find a solution to create a shortcut to an folder with python. Only to a file, code example: shell = Dispatch('WScript.Shell') shortc

Is there a pathlib equivalent to os.path.basename under Windows?

When running Python 3.9.5 on Windows 10: Path("c:/temp/one/two/").name == "two" PurePath("c:/temp/one/two/").name == "two" PureWindowsPath("c:/temp/one/two/").n

How to remove "Restore Previous Versions" Context Menu in Windows 10 [closed]

Windows 10 is showing a "Restore previous version" context menu entry. How to remove this context menu entry?

Checking the last accessed files on Windows 10 in C++

I'm writing a small tool to help my workflow as an artist, and it'd be neat if it could check a list of recently accessed files on my computer for a *.psd (phot

GCPW Azure Cloud Windows

I have installed Google Credential Provider on an Azure Windows 10. However, when I reboot the machine there is no option to sign in with Google. Do I have to d

Using Task Scheduler to run Python when I get a Windows Notification

I'm trying to run a script every time I get a Windows Action Center notification. I think Task Scheduler would allow me to do this relatively easily, but I'm un

windows AD server has been corrupted

I have used windows 2008 AD since 2013.and I have secondary domain as well. unfortunate due to hardware failure the primary domain was corrupted. I configured a

Object reference not set to an instance of an object on mySQL Installer while configuring mySQL Server 8.0.25

I recently deleted mySQL and now when i am trying to reinstall it is giving me an error while configuring the mySQL Server i have tried deleting everything from

Flutter windows build: Nuget is not installed

I uninstalled Visual Studio 2019 and installed it as 2022. I reinstalled Flutter. When building Flutter desktop, the following problem is repeated. If I run it

Manage Taskbar Align Windows 11 - Powershell

I want align the taskbar of windows 11 to the left side using PowerShell. I did this: New-ItemProperty "HKLM:\Software\Microsoft\Windows\CurrentVersion\Explorer

git mergetool with intellij Idea's community edition on windows

I'm using GitExtensions windows software to work with git and i had many trouble configuring it to work with Idea's community edition, to use it as a merge tool

Error 259 on python playsound() unable to sound

I Saw this question here. But my file is already in wav. My code is a timer which plays sound after timer ends using threading. It wasn't working there, then I

Trying to output a custom powershell object where I can align each line of two different variables containing Category:Description

I'm trying to do an network access control audit by grabbing a user's AD groups, their descriptions and then output them in a way shown by this example: [User]

MLFlow tracking ui not showing experiments on local machine (laptop)

I am a beginner in mlflow and was trying to set it up locally using Anaconda 3. I have created a new environment in anaconda and install mlflow and sklearn in i

Case shell command not working in terminal

Trying to figure out operating system to run a command in my package. Found this : case "$OSTYPE" in solaris*) echo "SOLARIS" ;; darwin*) echo "OSX" ;;

save stderr with _popen to a variable in C on Windows 10

When I use something like char result[1000] = ""; char psBuffer[1000]; FILE* pPipe = _popen(command, "rt"); while(fgets(psBuffer, 1000, pPipe) != NULL) { st