Category "windows"

Colon in file names in Python

As we all know, filenames in Windows can't contain colons. However, I ran into a problem, that can be reproduced with the following sample code: import os os.c

"Graphics Device initialization failed for : d3d, sw" for JavaFX on IntelliJ IDEA Windows

While trying to run a simple JavaFX program on IntelliJ IDEA, I kept getting a long line of errors in the console that started with "Graphics Device initializat

QSerialPort do not open correctly virtual port COM

I'm developing a driver for a device with Qt. I have already done that many times and I have a code that I use every time. But, this time, when I open the Qseri

postgres C:: Permission denied using windows

I am using Windows 10 I have a PostgreSQL file when I run inside the PSQL CMD \i FILENAMEPATH postgres=# \i C:\Users\Asus\Desktop\Projects\Movies\solution.sql C

CMD tree command limit number of levels

How do I limit the number of levels that the tree command goes through in Windows? I need to output the results to a text file for work, but because by default

CMD tree command limit number of levels

How do I limit the number of levels that the tree command goes through in Windows? I need to output the results to a text file for work, but because by default

192.168.0.1 refused to connect

I'm trying to enable port forwarding on Windows 11. The tutorial i'm following says that i should do it via Google Chrome. I should type in my Default Gateway a

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x96 in position 35: invalid start byte

I am new to Python, I am trying to read csv file using below script. Past=pd.read_csv("C:/Users/Admin/Desktop/Python/Past.csv",encoding='utf-8') But, getting

Flutter stuck on 'flutter' command - no output to console and it doesn't ever finish

I started following this tutorial about Flutter, and I followed each step until the installation of Flutter on windows, even added flutter to PATH. Now, once I

Flutter stuck on 'flutter' command - no output to console and it doesn't ever finish

I started following this tutorial about Flutter, and I followed each step until the installation of Flutter on windows, even added flutter to PATH. Now, once I

Windows batch - concatenate multiple text files into one

I need to create a script, which concatenates multiple text files into one. I know it's simple to use type *.txt > merged.txt But the requirement is to "con

WebView2 JS injection returns empty json string

With WebView2 for targeting Windows, I am trying to setup my own context menu. Either by selected text or by underlying element pointed by mouse click. However,

CosmosDB emulator can't start since port is already in use

I'm giving CosmosDB a chance and so I decided to build an app that uses it, but I'm running into this issue when using the emulator: Port is already in use. I

The term 'node' is not recognized... In Powershell

I have been trying to resolve this issue for the whole day. When I run node -v or npm install in cmd prompt, it works absolutely fine. But when I run the same

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 ?