# HN: Why a program doesn't work when run from a batch file, but works when clicked — retained record

> Retained hackernews record from hackernews.

Canonical: https://highsignal.app/data/records/a3dfbc41908413bf

[← sources](https://highsignal.app/data)


source: [hackernews](https://highsignal.app/data/hackernews) published 2026-10-26 21:14 ingested 2026-10-27 02:41

[original source ↗](https://news.ycombinator.com/item?id=50251070)

## extract

Points: 21 | Comments: 0
Author: ibobev
Link: https://devblogs.microsoft.com/oldnewthing/20261026-00/?p=112797/
Why a program doesn't work when run from a batch file, but works when clicked

## retained text



```
Points: 141 | Comments: 83
Author: ibobev
Link: https://devblogs.microsoft.com/oldnewthing/20261026-00/?p=112797/
Why a program doesn't work when run from a batch file, but works when clicked
```



document fetched 2026-11-02 02:59
