Hacker News new | past | comments | ask | show | jobs | submit login

How is the * (star / asterisk) character allowed in the file name?

I thought such characters are forbidden by Windows.

https://learn.microsoft.com/en-us/windows/win32/fileio/namin...

How did the tool even manage to create such a file?




it's deleting all matching files


There was only one file matching it on my machine. The * just saves typing.


echo lol > 'l*l'; ls 'l*l'

I bet it's a glob pattern and indicates "anything"




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: