Sublime Forum

File globbing on windows

#1

If I do “scite *.txt” it will open any/all txt files in the currently directory. One if there is just one, or a bunch if there are a bunch.

ST2 does not do this for me. It will create a new file called “*.txt”. I believe on windows it’s up to the application to do the file globbing, to expand *.txt into a list of files.

Is there a fix or workaround for this under ST2?

0 Likes

'*' character doesn't open multiple files anymore
#2

In case jps reads this, the problem might be easily fixed by linking in a particular object file - setargv.obj or wsetargv.obj - provided with MSVC (assuming that’s the toolchain being used to build ST for Windows). See stackoverflow.com/a/1269533/12711 for details.

0 Likes

#3
0 Likes