Batch file pentru minimizarea ferestrelor

Configurare noua (How To)

Situatie

Batch file pentru minimizarea ferestrelor

Pasul 1

Intr-un editor de text copiem urmatorul cod:

@echo off
cls
Call :ShellMinimizeAll vbsfile.vbs
Exit /b
:ShellMinimizeAll
(
echo ShellMinimizeAll
echo Function ShellMinimizeAll
echo dim objShell
echo set objShell = CreateObject(“shell.application”^)
echo objShell.MinimizeAll
echo set objShell = nothing
echo End function
)>%1
cscript /nologo %1
Del %1
Exit /b

Pasul 2

Salvam fisierul cu numele dorit si extensia .bat

Solutie

Tip solutie

Permanent

Voteaza

(5 din 10 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?