Sublime Forum

'*' character doesn't open multiple files anymore

#1

Hello,
I use Sublime Text frequently to edit C++ programs on Windows 10, I like Sublime Text for its light speed editing style and its flexibility with tab-like UI which I use to have both of .hpp files and .cpp files on my screen at the same time. However, today I tried to run the “subl -n *.cpp” command and was greeted by Sublime Text opening the unexisting file “*.cpp”. I used to run this command before the update and I’m not sure if I did it since, so here’s my question : can we still open multiple files with the * character in Sublime Text 4 ?
Thanks in advance.

Edit:
I don’t think this is an intended behaviour of Sublime Text giving the fact that Windows does not allow to save files with asterisks in their names.

0 Likes

#2

Confirmed.

Use of wildcards with Windows subl command-line tool appear to no longer function as expected. This important feature was originally added for Build 3066 but appears to have been inadvertently broken with the latest release.

See: File globbing on windows

0 Likes

#3

New issue created.

File globbing (wildcards) broken with subl on Windows #4331

0 Likes