Category "windows"

Python os.system() call runs in incorrect directory

My coworker is having trouble with a Python install. When running the code below, from 'C:\my\folder\', 'C:\' is returned instead of the current working direct

Can a thread call SuspendThread passing its own thread ID?

Can a Windows thread suspend itself with SuspendThread()? I can awake it from another one but, can it call SuspendThread(GetCurrentThreadId())?

How to execute MSI file on Github Actions (windows-latest runner)

Context I created a Github Actions workflow that generates a .msi file that I wan't to execute afterwards to test if the application is working as expected. The

Why does Vim on windows use \n for searching?

So I was changing code from foo() { to foo() { and I noticed that the searching pattern required me to search for \n, but when I tried to replace it with

TOX can't find the browser binary

I met a strange issue - I'm running Selenium tests with Tox on local machine (Windows 10) and it can't find the browser binary unless I pass all env variables t

Powershell - windows hard-disk health status is giving inconsistent results

I am using the below PowerShell script to fetch hard-disk health status of windows machine: Get-PhysicalDisk | Select HealthStatus Issue: For few of the machine

Set up Python simpleHTTPserver on Windows [duplicate]

I want to set up Python SimpleHTTPServer on Windows XP. I have Python installed on my computer. I am executing the following command: python

Unable to create '/git/index.lock': File exists - but it doesn't

I'm getting this message when trying to rebase interactively using source tree. If no other git process is currently running, this probably means a git process

Is it possible to use output redirections from a cmd file using start?

I want to have a cmd file with something like: :one start /wait (blabla1.exe -q -m 1>blabla1.log 2>&1) :two start /wait (blabla2.exe -q -m 1>bl

SQLite3.exe shell not successfully creating database?

I am trying to create a sqlite3 database on my windows 7 64 bit machine. I have downloaded sqlite-shell-win32-x86-3071700.zip from http://www.sqlite.org/downloa

libtorch throws c10::error after build on Windows 10 (VS2019)

I've tried to build libtorch on Windows 10 using VS 2019 without CUDA and Python. Independent if I compile it with or without MKL, a simple test program crashes

I am making a calculator and I get TypeError: can only concatenate str (not "int") to str [closed]

I was making a graphic calculator and I just received an error. Here is the code: from tkinter import * from PIL import * window = Tk() window

PowerShell Cannot dot-source this command because it was defined in a different language mode

I've created a Windows application package using Visual Studio and when I run Add-AppDevPackage.ps1 script I get this error on some computers. Cannot dot-sourc

What does "Beta: Use Unicode UTF-8 for worldwide language support" actually do?

In some Windows 10 builds (insiders starting April 2018 and also "normal" 1903) there is a new option called "Beta: Use Unicode UTF-8 for worldwide language sup

What does "Beta: Use Unicode UTF-8 for worldwide language support" actually do?

In some Windows 10 builds (insiders starting April 2018 and also "normal" 1903) there is a new option called "Beta: Use Unicode UTF-8 for worldwide language sup

Using TensorFlow in IDE on Windows

I have used the Docker installation as suggested at https://bishnusarker.wordpress.com/2015/11/11/how-to-install-google-tensorflow-in-your-windows-machine-using

Using TensorFlow in IDE on Windows

I have used the Docker installation as suggested at https://bishnusarker.wordpress.com/2015/11/11/how-to-install-google-tensorflow-in-your-windows-machine-using

Using TensorFlow in IDE on Windows

I have used the Docker installation as suggested at https://bishnusarker.wordpress.com/2015/11/11/how-to-install-google-tensorflow-in-your-windows-machine-using

Using TensorFlow in IDE on Windows

I have used the Docker installation as suggested at https://bishnusarker.wordpress.com/2015/11/11/how-to-install-google-tensorflow-in-your-windows-machine-using