Posts by FelIpe SOuza • 27 points
3 posts
-
-3
votes5
answers26646
viewsA: Is there a "sudo" for Windows?
runas /user:administrador "time 12"
-
1
votes3
answers1106
viewsA: Doubts with conditional commands in Batch files
::issae cls @echo COPIANDO ARQUIVOS JPEG for %%f in (*.*) do ( if "%%~xf" equ ".jpg" ( copy %%f "C:\Users\anezio\Desktop\Nova pasta (2)\imagem" ) else ( copy %%f "C:\Users\anezio\Desktop\Nova pasta…
-
2
votes1
answer3014
viewsA: ping Ips command
if it’s just ips I do so: search term "100%" where on ping return is "100% failure" ping x.x.x.x | find "100%" if "%errorlevel%" equ "0" echo FALHOU
batchanswered FelIpe SOuza 27