Source: How to Close All Files Opened by Network Clients from the Command Line
Tag Archives: cmd
Detect 64-bit OS in a .bat script
:TestOS
IF EXIST “%PROGRAMFILES(X86)%” (GOTO 64BIT) ELSE (GOTO 32BIT)
:64BIT
echo 64-bit…
GOTO END
:32BIT
echo 32-bit…
GOTO END
:END