Windows, how to convert batch program output of bytes to KB, MB or GB?
In windows batch, How to convert Bytes to KB or MB or GB?In batch, How to output results to screen? Below is a Windows batch that outputs a folder size in bytes.example:2,041,737,167 bytes in...
View Article7-zip not in Explorer++ context menu
I use both 7-zip and Explorer++ quite a bit, but I can't seem to get Explorer++ to show the context menu items for 7-zip, like the Windows Explorer does? Am I missing something?In Windows Explorer if I...
View ArticleMicrosoft Paint Selection Delete, gives Checkered Background
In Microsoft Paint, if I do, "selection rectangle", and then "delete", I get a checkered background.This did not happen before.I do Not have "Transparent selection" in settings.How can I fix this?...
View ArticleAdd confirmation after executing ROBOCOPY command
I have started to use ROBOCOPY command a lot. I use ROBOCOPY source destination /MIR. Is there any way to add confirmation, "y/n" after the command is executed, but not actually ran. So I will type...
View ArticleHow can I echo the actual logged in user if running batch as administrator?
I would like to know which user is logged in to Windows from the bat script I launch with right click and "Run as Administrator". If I try echo %username% the script obviously output "Administrator"Is...
View ArticleNslookup on new Windows Server (localhost)
What do I do if I only get "localhost" "127.0.0.1" when I type in nslookup in cmd. I want another server to show up when typing this command.I already included a Reverse-Lookup-Zone.
View ArticleWindows OpenSSH Server can SSH into powershell but can't ssh into bash (WSL2...
I'm trying to ssh from my LAN devices (phone, laptop and even the same computer) into bash.exe following Microsoft's guide on changing the default shell for OpenSSH to bash.exe. Bash in this context...
View ArticleBatch variable echo
I'm trying to save user input variables from a batch file into a text file. So that some javascript can read the file to use the variables.This is what I have so far: :varechoecho %GAMEPIN% >...
View ArticleA specified logon session does not exist. It may already have been terminated...
Some more progress:This is working for any account on which the services is started with. That is if we give credentials of a particular account in Log On tab of a service. Then it works for that...
View ArticleTrying to find .exe over multi drive wide search in a bat file. Tried with...
As stated in the title I have a bat file set up to locate and run 2 separate exe's. One is located in the same folder as the bat file which for this %~dp0 works just fine. The second exe is one to a...
View ArticleHow do you re-source the environment variables in a command prompt in Windows?
In a bash shell, you can edit your environment variables, run source ./.bashrc and refresh the values of environment variables in an already open shell. Does Windows have a similar command that you can...
View ArticleHow can an inactive reserved IP address be used by another device on Windows...
I freshly set up DHCP server on Windows Server 2022 and create in advance IP reservation for devices.At this stage, all devices concerned by this reservation are not yet connected, so IP reservation is...
View ArticleHow to resolve blank explorer preview pane for files on a network drive?
I have noticed that in the last few months, the file explorer preview pane is not working for files on a network drive. No error comes up, the preview pane is simply blank, like so:No errors, no text...
View ArticlePowershell $idValue doesn't write the extracted ID, but writes "TRUE" instead...
I am writing a Windows PowerShell script to split a text file based on a delimiter, and create output filenames with an incrementing number and a captured identifier string.I've checked for syntax...
View ArticleExplantion for CSRSS.EXE using the GPU
This is a follow up question to conhost.exe and csrss.exe questionsI am currently on a Windows 7 x64 machine, using a relatively high end GPU (GTX 970 4 GB). Windows Aero is enabled. I am using Process...
View ArticleWindows MediaCreation corrupted my USB drive and now it has no media
Yesterday, on my windows 10, I tried using the Windows MediaCreation Tool (win10) for my usb drive because one of my other computers needed to update to win 10 from win 8.1. However the tool didn't...
View ArticleWindows 11 sudden issue with Windows Sandbox and Windows Subsystem for Android
For some days now, my Windows Sandbox & Windows Subsystem for Android, stopped working and i can't find a way to solve the issue after trying many suggestions i found on the internet.Windows...
View ArticleIn Windows 10 (22H2), network drives are not reconnecting after re-connecting...
A user is connecting to a work network using a FortiClient VPN client. When the VPN connection drops, the user re-connects to the VPN, but they are unable to re-connect to the network drives. If they...
View ArticleHow to display ALT+TAB on both monitors?
I added a monitor to my laptop but whenever I do Alt+Tab on my computer it only shows the running applications on the laptop but not on my extra monitor.Is there a workaround for this?
View ArticleCannot kill the process
when playing the game "the finals" sometimes it crashes with UE5 error, and cannot re open have to reset pc because Discovery.exe is running. Getting access denied on task manager/process explorer...
View Article