Export Script in Windows

I wrote this .bat file but BBS does not call it when exporting.

for %%I in (*.html) do ((echo @model GPhotosFunc.Models.Product) >file.txt.new type "%%I" >>file.txt.new move /y file.txt.new "%%~nI".cshtml)

The file adds a string in the first line and changes the extension of all .html files to cshtml

Can anyone give it a try? Thank you

1 Like