frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Why a program doesn't work when run from a batch file, but works when clicked

https://devblogs.microsoft.com/oldnewthing/20261026-00/?p=112797/
29•ibobev•3d ago

Comments

xg15•30m ago
> Explorer sets the current directory of the program to the directory containing the thing that you double-clicked

I found the linked article to informative and confirming my suspicion: "The thing that you clicked" doesn't have to be the executable - it could also be a document with the executable registered as launch handler, in which case the current directory will be the directory of the document.

Would be interesting to know how links and items in shell namespaces are handled.

tveita•27m ago
How much are these customers paying for support to have Raymond Chen on first level support to debug their batch files?
ninjagoo•18m ago
> How much are these customers paying for support to have Raymond Chen on first level support to debug their batch files?

Or rather, maybe, how bad are the initial support levels that couldn't figure out basic functionality like this and it was escalated to Chen?

Or maybe he was on a project working directly with the client already, so this was just part of whatever he was working on.

Binance-hacker-1029 – $5.6B stolen from Binance

https://arkm.com/explorer/entity/21a94755-f604-45e5-9501-6542e23005e8
1417•Tiberium•13h ago•911 comments

We're releasing the weights of Mistral Large 4

https://mistral.ai/news/mistral-large-4-oss/
1513•kuberwastaken•20h ago•399 comments

How Do You Take a Picture of a Black Hole?

https://www.quantamagazine.org/how-do-you-take-a-picture-of-a-black-hole-20261029/
12•dverlaeckt80•1h ago•7 comments

Gilgamesh by Simon Armitage review – an ancient epic is brilliantly translated

https://www.theguardian.com/books/2026/oct/20/gilgamesh-by-simon-armitage-review-an-ancient-epic-...
46•benbreen•2d ago•15 comments

Cuis: The Modern Smalltalk-80

https://cuis.st/
127•theanonymousone•3d ago•16 comments

I'm so bad at billiards that I ended up in the hyperbolic plane [video]

https://www.youtube.com/watch?v=kL9BTbIGxLg
145•surprisetalk•1d ago•18 comments

Herdr has released native app

https://github.com/herdrdev/herdr-app
224•cherioo•10h ago•144 comments

Astroterm: A Planetarium for Your Terminal

https://github.com/da-luce/astroterm
147•nvmdbljstm•2d ago•13 comments

We ran AI agent swarms in Minecraft and Mindustry

https://labs.ycombinator.com/projects/games/index.html
301•sandslash•13h ago•111 comments

Artificial Analysis v5 and the benchmarker's dilemma

https://www.interconnects.ai/p/artificial-analysis-v5-and-the-benchmarkers
23•6thbit•1d ago•10 comments

elect.horse

https://elect.horse/
5•solarist•1h ago•1 comments

A tiny world model running games on a Raspberry Pi Pico 2 W

https://github.com/SheepSeb/tinyworldformer
221•airinei•14h ago•15 comments

H.264 Is Magic (2016)

https://sidbala.com/h-264-is-magic/
445•ea016•19h ago•150 comments

Wasmer (YC S19) Is Hiring OS/Hypervisor Experts in Europe

https://www.workatastartup.com/jobs/98722
1•syrusakbary•4h ago

LLM Voice

https://martinfowler.com/bliki/LLM-Voice.html
492•ibobev•20h ago•259 comments

Show HN: I Turned DOOM into a Transformer

https://github.com/mottopanikeiku/doomformer
95•falperc•11h ago•30 comments

Why a program doesn't work when run from a batch file, but works when clicked

https://devblogs.microsoft.com/oldnewthing/20261026-00/?p=112797/
29•ibobev•3d ago•3 comments

Python on My Wrist

https://tildeweb.nl/~michiel/python-on-my-wrist.html
54•roywashere•3d ago•6 comments

Launch HN: Simantic (YC F26) – Firmware Simulation for AI Agents

71•shong0504•19h ago•24 comments

Pico CSS is no longer maintained

https://github.com/picocss/pico/discussions/754
149•henrid•9h ago•68 comments

A Pig, the State, and War: Porco Rosso (Kurenai No Buta) (2014)

https://journal.animationstudies.org/article/id/66/
123•simonebrunozzi•12h ago•29 comments

Patrick Stewart has died

https://www.nytimes.com/2026/10/29/arts/television/patrick-stewart-dead.html
3032•j4mie•15h ago•644 comments

If IPv4 were land

https://iptrust.co/blog/if-ipv4-were-land
292•rokostik•22h ago•409 comments

An illustrated online book on Hewlett-Packard equipment

https://blog.adafruit.com/2026/10/27/an-illustrated-online-book-on-hewlett-packard-equipment/
21•sohkamyung•2d ago•4 comments

What we know so far about Spain train crash

https://www.bbc.com/news/articles/cm8xz7pkd0jjo
213•ZeljkoS•1d ago•378 comments

Should a medical diagnosis reshape the past? (2025)

https://chengela.substack.com/p/should-a-medical-diagnosis-reshape
46•wyndham•12h ago•9 comments

Show HN: Auto Dismiss Mac OS "Allow <app> to find devices on local networks?"

https://github.com/johncassil/dontallow
142•johncassil•15h ago•105 comments

Anthropic hacked to deliver remote access trojan

https://doublepulsar.com/anthropic-hacked-to-deliver-remote-access-trojan-to-claude-developer-lap...
17•bashtoni•41m ago•2 comments

ElementaryUI – Swift, in the Browser

https://elementary.codes
106•frizlab•14h ago•31 comments

16colo.rs – ANSI/ASCII art archive

https://16colo.rs/
127•memalign•18h ago•9 comments