Category "windows"

What folders make up a user's profile

Short version Is there an IShellItem that corresponds to a user's entire profile? Or given all known KNOWNFOLDER constants: is there a way to know if the KNOWNF

Error (Error: EPERM: operation not permitted, rename 'path')

I receive the following error when trying to rename a folder in VS Code on Windows. When I try to rename a folder, I get the following error that pops up in the

Troubleshooting pycocotools installation

I'm trying to use object detection models from Tensorflow and need to get pycocotools installed. I'm doing this from a python (3) virtual environment on a Windo

How do I close a socket (ipv4 and ipv6) connection on Windows from any process?

How do I close tcp v4 and tcp v6 connections on Windows? I don't want to kill the entire process that has the open connection as this obviously will kick everyo

Batch - Move file that start with pattern to a certain folder

I have a list of files organized like this: test%MM%YYYY%DD.txt, for example: test01201401.txt test01201402.txt test01201403.txt ... test02201401.txt test02201

How to stop the Django development server on windows

I found here answers how to stop the Django Server on Linux but not on windows. Do I really need to restart my machine ?

How do I get a WinUI Control's parent Window?

I need to get a reference to the parent Microsoft.UI.Xaml.Window for a Control. Is there a way to do that in Project Reunion 0.5? Window.Current does not work i

I can't download the mongoose.exe

The Story So, I wanted to see what a small web server was like, and I discovered mongoose, a nice, small, simple web server for static sites. Then the horrors

Schedule a task to run every friday, but avoid to run it twice if it's done and computer rebooted on friday + do it next day if computer off on friday

I've tried to schedule a specific task with Python with various methods: rolling my own scheduling (with time.sleep(3600) and check every hour), see below tryi

Is there a way in C# to find the current location of a shortcut target programatically?

Windows shortcuts use the Distributed Link Tracking service to get the current location of shortcut target which has moved or renamed when the link is clicked o

Editing Default Commands on Windows Command Prompt

I am creating a Windows virtual machine and would like to edit the default commands for the command prompt like tree so that when that command is typed it will

Packaging an .exe file to MSIX and signing it

I have developed an application and want to publish to the microsoft store. I have tried using advanced installer but unless I pay $500 I cannot publish it i th

Why does my file sometimes disappear in the process of reading from it or writing to it?

I have an app that reads from text files to determine which reports should be generated. It works as it should most of the time, but once in awhile, the program

auto-py-to-exe stuck at Loading module hook 'hook-gevent.py'

I am trying to convert the code to exe with auto-py-to-exe. It stuck at "Loading module hook 'hook-gevent.py'...". import time, pyautogui, keyboard, threading f

PFXExportCertStoreEx to export private and public keys

I have used PFXExportCertStoreEx API to successfully export public and private key of a RSA certificate from Windows key store. Can the same PFXExportCertStoreE

Copy Files from Windows to Windows Subsystem for Linux (WSL) [closed]

I have enabled developer mode and installed Bash on Ubuntu on Windows. My home directory can be found under %localappdata%\Lxss\home\<ubun

Is there anyway to debug a windows kernel with secure boot on?

Is there anyway that i can debug a windows kernel that has secure boot on? when i try to turn on debug mode when secure boot on windows says that i need to turn

Time maximums in Windows shell and Why?

I made a simple countdown in Windows Batch Scripting: @ECHO OFF MODE con: cols=13 lines=2 COLOR 4f TITLE Countdown Timer SET /p m=? Minutes: SET /a s = 60 * m

Determine file owner from a Windows kernel-mode driver

Using C in a Windows in a Kernel Mode Driver using KMDF, how do I determine the owner a of file? I searched high and low but could not find any hint. Only C++

Cannot install spacy in pycharm

I've tried installing spaCy numerous times. At first I was getting an error noting that C++ needed to be upgraded to version 14. Now I'm getting a number of err