Powershell scripts for Sharepoint 2010
echo off
rem Close all files in folder open by "OpenFiles.bat"
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 taskkill /fi "windowtitle eq %%~na*"
batch | close file | path | for
© 2012 All rights reserved.