Eric Yin
Eric Yin

Reputation: 8993

Find Extensionless File in DOS For In Loop

I like to find all .js file (for example sss.js) and file without file type (the extension, the suffix, the file type after .dot)

I tried for ..... In (*,*.js) .... But not working, it will go through all files it found.

Please advice how to select the file that no filetype

Upvotes: 0

Views: 83

Answers (1)

dbenham
dbenham

Reputation: 130859

You almost had it correct. You just need a dot after the first asterisk.

for ... in (*. *.js) ...

Upvotes: 1

Related Questions