NET USE LPT1 /DELETE /Y IF ERRORLEVEL 1 ( ECHO Error disconnecting printer port LPT1 )