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.
精彩评论