开发者

How can I open every file in a given directory using a batch or vbs script?

I have a static directory, but dynamic 开发者_如何学Pythonfiles. I want to write a batch file that scans the directory and automatically opens any file that gets dropped in there. I would prefer to do it with a batch or vbs script, although open to anything at this point. I've tried a bunch of things and nothing seems to work quite the way I want it to——please help!


Maybe something like this in a bat file

for %%i in (c:\temp\*.*) do start %%i

to open all the files using the file association.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜