Category "windows"

Where do Windows "Product ID" and "Device ID" values come from? Are they useful for Licensing/Identification? How can they be accessed in code?

As you can see, it has 2 "Hardware-Identity" values that could be very useful in applications like C# for license validating. Is it possible to find these val

browsersync doesn't work with XAMPP

I created the project at the address D:\xampp\htdocs\dashboard\optimizedphp (gulpfile.js). What kind of proxy should I use? I tried many, but after changing the

How was a standard windows 7 user able to delete files under C:\Program Files?

In c++, the DeleteFile() function shouldn't allow standard users to delete files under C:\Program Files, but someone running the program was able to do this! H

How to downgrade or install a specific version of Composer?

I'm getting the following error in a project I'm setting up: You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you u

I cut/pasted a folder into a local repository mid-clone - the clone failed and the folder disappeared. Is the folder I pasted gone forever?

I wanted to put my local code into a GitHub repository. I created a repo on GitHub and tried cloning with HTTPS. The clone was taking a moment but the folder wa

How to add layer on top of file system? Like cache in OneDrive or Google Drive

I'm looking for a way (using C# .Net or C++ and WinApi or anything) to add a layer between filesystem and client application to add custom behaviour. Like OneD

What does percent sign with tilde syntax(%~a) mean in command line [closed]

for %a in (*.txt) do ren "%~a" "%~na version 1%~xa" This command line script can rename files in a directory by adding text ( version 1) to th

How to fix 'rimraf is not a recognized command' in Windows 10

After creating the .NET Core / React & Redux project template and attempting to start the application, the react compile crashes with rimraf not recognized.

RELIABLE way of starting and stoping xampp (Mysql, Apache, Tomcat) from a batch file without crashing mysql databases

THE ENVIRONMENT: I am using Xampp (Mysql, Apache, Tomcat) for writing Java applications in Windows 11. THE PROBLEM: Everytime i forget to close xampp, and resta

Git Bash on Windows with Ruby: Waiting for gets() input before printing prompt?

I'm new to programming/Ruby and can't figure out this quirky issue... Running this Ruby code through Git Bash on Windows: $ ruby test.rb puts "Give me input:

Windows Power Shell doesn't recognize anything

I am starting the process to try and get my machine to run WSL 2, and I began by following the first step of a tutorial by Microsoft that asks you to run: dism.

Truffle installation windows

I try to install truffle on windows with npm install -g truffle as administrator. I updated node.js npm and don't know what to do next. PS C:\Windows\system32&g

".yml" file "prefix" question (How to Implement Yolo V3 Object Detection on Windows with GPU)

(This is my 1st attempt with Anaconda / Python / YOLO / Object Detection) I follow this YouTube tutorial. (as said from time-tag 2:00) I downloaded Anaconda Pyt

How do I replace "\r" line endings when running Docker script on Windows?

I'm using Docker 19 on Windows 10 (using Cygwin to run Docker). I have this web/Dockerfile ... FROM python:3.7-slim RUN apt-get update && apt-get inst

How to filter read calls using minifilter driver?

I'm completely new to minifilter drivers. In fact new to windows development as such. I want to create a minifilter driver, attach it to one of my local disk( s

Not yielding files inside nested folders using python zipfile

(Python 3.8, zipfile module, Windows 10 Anaconda) I was using the zipfile module of python to create Zip Files of my folders. My Folder was D:/Personals. An os.

Not yielding files inside nested folders using python zipfile

(Python 3.8, zipfile module, Windows 10 Anaconda) I was using the zipfile module of python to create Zip Files of my folders. My Folder was D:/Personals. An os.

How to assign an icon to a file?

I am making a program that stores information in a file with a custom extension. I was wondering If it is possible to assign it an icon within the program so th

Git bash giving error of warning: unable to rmdir

I am using git bash on windows 10 which was recently updated to creators update. whenever i am trying to switch between branches i get following thing $ git f

Browser from Windows Sandbox cannot access localhost

I'm running a webserver on my Windows machine on port 4200. If I open a browser, I can communicate with that webserver by going to localhost:4200 I'd like to c