Description: |
call:IsFileOpen filename |
Script: |
1. 2. 3. 4. 5. 6.
|
:IsFileOpen filename -- succeeds if file in use, fails otherwise
:: -- filename [in] - name of file to be tested
:$created 20060101 :$changed 20080219 :$categories FileOperation
:$source https://www.dostips.com
echo.N|copy /-y NUL "%~1">NUL
EXIT /b
|
|