how does .exe magic work? (PATHEXT) (intermediate) anthony explains

  Рет қаралды 4,620

anthonywritescode

anthonywritescode

Күн бұрын

Пікірлер: 13
@Alberto_Cavalcante
@Alberto_Cavalcante Жыл бұрын
Thanks for sharing.
@fararian
@fararian Жыл бұрын
Great video. Thanks.
@Ash-qp2yw
@Ash-qp2yw Жыл бұрын
I think this is the first time I've ever seen a tui run in windows -- I've not personally used windows since before I started learning to be a developer. This was an interesting look into the other world. It seems weird that there's nothing you have to do to execute a file in your CWD - if you had a `t.py` and a `t.js` file in the same workspace directory and just typed `t`, how would it know what to run? I'd assume it would depend on which extension is first in the PATHEXT?
@lokeshchandak3660
@lokeshchandak3660 Жыл бұрын
Whichever is first in sequence. Atleast PATH respects the sequence, I'll have to look up if pathext does the same
@anthonywritescode
@anthonywritescode Жыл бұрын
yep the first one wins
@p99chan99
@p99chan99 2 ай бұрын
Just curious, would you not have the same exact functionality as cmd if you install powershell and just run it in a regular unix terminal emulator? Or it doesn't completely emulate all the ways of cmd.
@anthonywritescode
@anthonywritescode 2 ай бұрын
I would not expect PowerShell to have this behavior on posixlikes -- though pretty easy to try it and find out!
@jtw-r
@jtw-r Жыл бұрын
would JScript (not javascript, JScript) be considered one of these extensions? Doesn’t it automatically launch cscript? it’s been a while since i’ve used windows, forgive me for my ignorance
@anthonywritescode
@anthonywritescode Жыл бұрын
yeah it might be what handles .js
@fabtjar
@fabtjar Жыл бұрын
Is there a reason to use command prompt over powershell? I though powershell was the replacement.
@anthonywritescode
@anthonywritescode Жыл бұрын
not really -- just personal preference. I actually don't really like powershell and tend to use git bash myself
@fabtjar
@fabtjar Жыл бұрын
@@anthonywritescode I thought it could only be used for git 😱 maybe looking at windows terminals would be an interesting video if you haven't already done one. I'm sure others are lost like me and use powershell because they think that's the only option
@mrswats
@mrswats Жыл бұрын
Windows is wired. This only makes me not wanna code in Windows😂(even less than I already which is null)
python is removing the GIL! (PEP 703) (advanced) anthony explains #550
24:04
how do virtualenvs actually work (advanced) anthony explains #522
16:55
anthonywritescode
Рет қаралды 7 М.
Это было очень близко...
00:10
Аришнев
Рет қаралды 7 МЛН
PIZZA or CHICKEN // Left or Right Challenge
00:18
Hungry FAM
Рет қаралды 9 МЛН
2 MAGIC SECRETS @denismagicshow @roman_magic
00:32
MasomkaMagic
Рет қаралды 30 МЛН
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 20 МЛН
all string syntaxes (beginner) anthony explains #525
19:49
anthonywritescode
Рет қаралды 4,6 М.
Hacking Windows TrustedInstaller (GOD MODE)
31:07
John Hammond
Рет қаралды 714 М.
Introduction to System Path - Understanding the Basics
13:27
adding test == others fail??? (intermediate) anthony explains #572
10:40
anthonywritescode
Рет қаралды 4,3 М.
why I will never use python-poetry
9:09
anthonywritescode
Рет қаралды 62 М.
python 3.13 release highlights
49:56
anthonywritescode
Рет қаралды 21 М.
The Vim Experience
45:19
Bog
Рет қаралды 138 М.
typing the untype-able with mypy plugins (advanced) anthony explains #574
25:06
The Worst Programming Language Ever - Mark Rendle - NDC Oslo 2021
1:00:41
NDC Conferences
Рет қаралды 1,3 МЛН
Это было очень близко...
00:10
Аришнев
Рет қаралды 7 МЛН