Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Or just check the env var in System Info.
Software> Environment Variables
Find PATHEXT -
alkuzad14805y@melezorus34
yeah `echo %PATHEXT%` and figure out last char basically
The problem is that by default it should end by last EXT like ;WSC
For some reason on my PC it ends with ";", which allows executables without any extension, but also bugs python's which. -
Might because you deleted some associaton manually.
You should be able to fix it via
Control Panel> System
At "Advanced" Tab press the button with env (at the bottom)
Bottom half of the window is SYSTEM vars and at there you can edit pathext variable. -
alkuzad14805y@melezorus34 man I know this stuff. I just want to verify if it's because some common tool/language messes up. I do not touch this var because I do not need too :D
Related Rants
This seems to be odd bug, not impacting windows itself but some things like python. Can you check this code on your Win:
if %PATHEXT:~-1% == ";" (echo Bugged) else (echo Seems fine)
What it prints ?
question
windows