Questions tagged [windows]
Writing software specific to the Microsoft Windows operating system: APIs, behaviours, etc. GENERAL WINDOWS SUPPORT IS OFF-TOPIC. Support questions may be asked on https://superuser.com
168,933
questions
0
votes
0
answers
8
views
Running external app from my c/c++ app, in hidden or minimized mode, not stealing my focus
I am writing an app for hobby astronomy. It gets pictures from camera and does some image processing. I am using c/c++ in Visual Studio, under Windows 7 and 10, for image processing mostly opencv.
Now ...
0
votes
1
answer
5
views
Malicious page automatically opening in browser at 12 p.m
On my father's computer, for several months, an internet page has opened on his default browser at 12 p.m. precisely.
This is a phishing page saying he won a phone.
Anti-virus software such as ...
0
votes
0
answers
15
views
How can I add timestamp to the output from AWS CLI in windows in command prompt?
I am unable to add timestamp to the output from AWS CLI in log file
I have tried through awk but its giving me error
aws s3 --output text sync localPath s3://bucketName --endpoint-url https://s3-...
0
votes
0
answers
5
views
While connecting to a remote machine with New-PSSession command -OpenTimeout option not working
I am trying to implement a script, which connects to a remote windows machine via winRM. For that, I am using New-PSSession command. But, there are some machines for which this command takes more than ...
-1
votes
4
answers
169
views
Is any other process to download packages without pip?
I am stuck to download pip install fiona package but still it is not downloaded on my windows 10 system.
1.Help to download fiona package
2.How to control cache packages on pip
5
votes
0
answers
24
views
How to attach Nuget package.config file for cmake project
I’m working on CPP WinUI3 desktop application with cmake. By default WinUI3 project uses MSBuild. We made the project use cmake with the help of this sample project. ref - https://github.com/...
0
votes
3
answers
177
views
Why curses.initscr() takes no effect in Windows 11 Command Prompt?
I´m trying to write some programs in Python with windows.curses but when I run the program nothing happens. The code is:
import curses
from curses import wrapper
def main(scr):
scr.initscr()
...
0
votes
0
answers
13
views
Error initializing ONNX-model from C# on Windows Server 2022: Unknown model file format version
We have an exported ONNX-model, built using Python and imported to a .NET Core 8 application.
Everything works as expected on our local machines, Windows 11 and Windows 10.
However, when deploying to ...
0
votes
1
answer
83
views
I cannot use npm anymore
To resolve an error during the development of an application, I changed my version of 'node' to an earlier version. When I switched back to my usual version (20.10.0), I could no longer use npm ...
257
votes
45
answers
477k
views
NPM stuck giving the same error EISDIR: Illegal operation on a directory, read at error (native)
I am stuck with this error no matter what directory I am in, and what I type after "npm" in cmd.exe. Here is the npm-debug.log:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\...
0
votes
0
answers
9
views
Can I change Directory Server from GC (global catalogue) to DC (Domain Controller) [closed]
How can I change server type from GC to Dc, Because at the time of creating new Active Directory User, it show the error: Windows cannot create the object because the Directory Service was unable to ...
0
votes
1
answer
8
views
How to reference a list of words within the Windows command line (character limit)
I'm running a single curl -X POST command using the Windows command line.
I get an error stating: The input line is too long. This is because the command is longer than 8092 characters.
Its syntax is ...
56
votes
15
answers
86k
views
How do you strip quotes out of an ECHO'ed string in a Windows batch file?
I have a Windows batch file I'm creating, but I have to ECHO a large complex string, so I'm having to put double quotes on either end. The problem is that the quotes are also being ECHOed to the file ...
-1
votes
1
answer
30
views
Docker: Accessing a host folder from a container folder
I want to access some files kept on the host from the docker container.
Edit-
My use case:
I have a Spring Boot app (rest-service) that reads a file stored on the local(host) system. It's jar will ...
-1
votes
0
answers
14
views
RS232 (FT232R) - Different TX voltages with the same adapter under Windows and Linux [closed]
I have a USB to RS232 adapter cable (FT232R) that I use with Windows and Linux. Under Windows, the lowest voltage during a data transfer is -6.3V and the highest voltage is 6.3V on the TX line. ...
0
votes
2
answers
390
views
GNSS-SDR on Windows?
I know the answer might be negative, but is there any way to run Gnss-Sdr on Windows Instead of Linux/Mac OS?
I Use it on Linux Already But I have just wondered if it can be done.
only related answers ...
0
votes
2
answers
3k
views
Can't drag and drop files on Discord while running it as administrator [closed]
I've recently bought a new PC and I am facing the same issue I had on my laptop.
I remember that I have actually found a solution for this before, but I cannot find it anymore.
So basically, I can't ...
-3
votes
0
answers
18
views
Full stack e-store development (MERN stack) [closed]
When running my server file called server.js using node, my ejs main page displays all my elements as a hyperlink, how do I fix this??
The main page is supposed to display products as well as its data ...
0
votes
0
answers
9
views
Open-Source solution for protecting/license manager for windows executable (that is maintained in 2024)
Ciao everyone,
As part of a small project, I have a simple executable (.exe) file that I want to deliver to my 'customers'.
I'm looking for an easy to use framework/tool that will manage the license ...
-1
votes
0
answers
16
views
I am trying to install tensorflow in windows, but after installing 250MB/ 370MB it is automatically stops download and shows network error everytime
windows TensorFlow not installing through pip, from where can i install it manually
I was using pip install tensorflow, i was expecting it to be installed, but it shows network error after installing ...
1
vote
2
answers
31
views
Error while running "docker compose pull" in Apache Superset
Following the steps provided in this guide while installing Apache Superset on Windows,
I've had errors while setting up a docker container using Docker Compose (after cloning the project in apache/...
-3
votes
0
answers
18
views
İis failed to connect to localhost port 9595: connection refused [closed]
From my website hosted by a hosting company, I encounter the following error when posting data to a script running on IIS on my local computer:
Error: failed to connect to localhost port 9595: ...
3
votes
1
answer
801
views
Building AGG in msys2 causes error Invalid configuration `x86_64-pc-msys': system `msys' not recognized
I want to install pypotrace. To this end I'm following this tutorial. However when I get to the line
./autogen.sh; make
I get the error:
(specifically the line):
I extracted both packages ...
3
votes
1
answer
233
views
UNABLE_TO_VERIFY_LEAF_SIGNATURE | unable to verify the first certificate
This error has suddenly started occurring on all my servers, and despite trying everything suggested here, I haven't been able to resolve it.
The issue persists regardless of the URL I attempt to ...
0
votes
0
answers
14
views
Unable to elevate permissions in Python module entry points
I'm trying to design a Python module with entry points that would request an elevation in permission when called on Windows.
setup.py
setup(
name='SomePackage',
...
package_dir={'': 'src'},...
0
votes
0
answers
20
views
How to include space character in "delims" of a FOR /F loop
I need to run a for loop and delim on the following characters " (&:=+" and the space character is the problem here
What I am trying to do is create a function where you give the number ...
0
votes
0
answers
30
views
Windows 64-bit NASM - Why does this code not print anything, when using a variable? [duplicate]
Hello I have the following code:
extern GetStdHandle, WriteConsoleA, ExitProcess
section .text
_main:
mov rcx, STD_OUTPUT_HANDLE
call GetStdHandle
mov rcx, rax ; hConsoleOutput
...
2
votes
1
answer
4k
views
How To Properly call 64 Bit Windows API In Assembly
Using NASM and Mingw-w64 I've been trying to run the following program which is supposed to print a message to the screen using the Windows API. It runs, but nothing shows on the console and it ...
1
vote
2
answers
35
views
How to use build number as part of INF driverVer
I am a beginner working on INF files.
My .vcxproj file is having a property that uses 1.0.14.0 to use it in driverVer . My INF driverVer as follows DriverVer=04/10/2024,10.0.14.0
I would like to use ...
20
votes
6
answers
30k
views
Creating a win32 modal window with CreateWindow
I create a window with CreateWindow() and show it with ShowWindow(). But the parent window on which this was created should be disabled until user returns from this window, i.e. it should simulate ...
0
votes
0
answers
20
views
How to add custom option in the right click menu (Windows 11)
I want to add an option in the menu when right clicking on any file (Windows 11).
I already changed the menu appearance so it looks like Windows 10's menu and I already added an option that opens ...
0
votes
1
answer
24
views
Import pandas not working, showing "RESTART: shell"
whenever im using import pandas as pd it isn't working other than that anything like import math module is working.
it shows "RESTART: shell".
i am unable to install any other IDE so i am ...
0
votes
0
answers
45
views
GCC compiler unexpectedly tries to convert LPCWSTR and LPCSTR
I have an application that I originally worked on on VS 2019 with no issue compiling whatsoever and that would now need to be compiled with GCC. I'm essentially trying to create a Ruby 3.2.0 virtual ...
0
votes
0
answers
21
views
Install 'Brotli' PHP extension on Windows
I'm looking to install Brotli php extension on my Windows Server 2022 server as it offer ~15% better compression performance than Gzip. But I really can't find a proper way to install it. Any ...
0
votes
0
answers
20
views
Get-IISAppPool returns zero instances with pwsh.exe but many with powershell.exe
I created a Windows scheduled task that executes a script with PowerShell like this:
powershell.exe -ExecutionPolicy Bypass -WindowStyle Hidden C:\script.ps1
The task is configured to run as SYSTEM ...
218
votes
6
answers
646k
views
How to do a simple file search in cmd
I want to quickly search for a file given its name or part of its name, from the windows command line (not power shell). This is similar to opening explorer and using the search box at the top.
Note:...
-3
votes
0
answers
12
views
Facing Blue Screen Error During Windows Installation: Need Assistance [closed]
I got the Blue Screen problem . so to overcome this I tried out various troubleshooting methods but all no benefits... At last I decided to install the windows via bootable usb drive but yet again I ...
-3
votes
1
answer
12
views
Windows 11 - How To Configure Laptop Display Sleep, Screen Saver, and Lock Screen Settings? [closed]
I need to configure the sleep, screen saver, and lock screen settings on my new HP 17" laptop so that the following will happen:
The laptop would not go to sleep for 1 hour when plugged in (10 ...
0
votes
0
answers
6
views
I can't disable VirtualizationBasedSecurity (VBS). WHY?
My specs:
Windows 10 Pro, AMD Ryzen 5000. Joined domain.
a bug?
I tried turn off Memory Integrity in the Window Security panel with admin privilege, it still become on after I restarted my PC.
I ...
0
votes
0
answers
12
views
How do i fix this Boost build error from vcpkg
boost fails to build after being downloaded
i tried redoing it reinstalling vcpkg and i expected it to build boost and for it to finish but it fails to build every boost library
Logs:
PS C:\Users\...
0
votes
0
answers
15
views
Incremental Backup/Archiving with no file deletion on Windows
I am running on Windows 10.
I would like to set up a scheduled back-up that would be the equivalent of copy-pasting the source folder onto the backup location, thus copying over any new files, any ...
9
votes
5
answers
20k
views
R Studio Fatal error: 'R_TempDir'contains space
I tried to download the latest version (4.2.0) of R on my windows computer and received this error message upon trying to open the program. "Fatal error: 'R_TempDir' contains space". Has ...
-1
votes
0
answers
37
views
Windows 11 error when running python code .exe file
I am getting a error by windows when trying to run my python code in the form of exe file.
i used pyinstaller, and successfully installed the exe file, but i am getting a error message showing that ...
0
votes
0
answers
28
views
Writing over already existing characters in the Windows console using cpp
I am trying to render a video in ascii art, using c++ in the windows console. However, clearing the screen and drawing the entire frame again is far too slow for the windows console, and also creates ...
-1
votes
0
answers
11
views
How to fix "Windows is still setting up class configuration (code56)?" [closed]
I am not able to use usb tethering on my laptop. I am currently running windows 11 and I see that RNDIS driver is showing a ⚠️ symbol. I even tried to update the drivers but the updation process is ...
-1
votes
0
answers
6
views
Netsh command not working, it is showing command not found
showing "The following command was not found: wlan profile='profile_name' key=clear", running in admin mode, no type o error still not working, runnig on latest windows(windows 11).
...
0
votes
0
answers
13
views
Can't launch terminal in Jupyter Notebook on Windows
So, I can't open a terminal in Jupyter Notebook. I tried to reinstall Anaconda several times, but it did't work. Now I've installed Miniconda, but it's still the same. I have Windows 10, x64.
Here is ...
0
votes
1
answer
81
views
Calling Fortran subroutine from Visual Studio C++
Sroll down to UPD0 please
I want to compile a fortran subroutine to windows
DLL and call it from Visual Studio C++.
It is a large subroutine from octave source code.
There is a good article
https://...
-3
votes
0
answers
29
views
How would I build a simple tool returning playing-cards depending on cards that I choose? [closed]
I am a total beginner who recently started learning about programming
I think it would be nice to have a project while learning and figured this might be suitable:
While playing poker (Texas Hold Em), ...
0
votes
1
answer
28
views
text doesnt show on toolbar button
tbb[0].iBitmap = 0;
tbb[0].idCommand = TB_TEST1;
tbb[0].fsState = TBSTATE_ENABLED;
tbb[0].fsStyle = TBSTYLE_BUTTON| TBSTYLE_AUTOSIZE| TBSTYLE_LIST|TBSTYLE_FLAT;
tbb[0].dwData = 0;
tbb[0].iString = (...