How to open all files in folder

06/01/2012 23:02

1. Create batch file and paste this text into it.
2. Change the PATH value for path to your Microsoft Office products destination (if you are going to open office files).
3. Put this batch file in your folder and run it.

 

@echo off
rem Open all files in folder except of *.bat files

rem nastavenie cesty k officu
PATH "C:\Program Files\Microsoft Office\OFFICE11";%path%

set currdir=%cd%
for %%a in ("%currdir%\*.*") do if not %%~xa==.bat start /max %%~nxa

Or you can download this file and put it into the folder, where you want to open all files at once. OpenFiles.bat (241 B)