I'm trying to make a command sleep after some seconds.
For example: tree & timeout /t 1
Then it would only show the top of the folders.
I have tried:
@echo off
Cd c:\Windows
Tree & timeout /t 1
Echo !
Pause >nul
and
Cd c:\Windows
Tree & ping 1.1.1.1. -n 1 -w 1000 >nul
Echo !
Pause >nul