Code: Select all
wmic /node:"some_computer" proccess call create "c:\\path_to_proccess\\your.exe
Code: Select all
wmic /node:"some_computer" proccess call create "c:\\path_to_proccess\\your.exe
Code: Select all
1>nul
Code: Select all
convert "%~1" -resize 300 "%output_name%"
Code: Select all
@echo off
...
...
1>nul convert "%~1" -resize 300 "%output_name%"
...
...
Code: Select all
1>nul scriptname input.jpg -resize 300 output.jpg
Code: Select all
1>nul convert input.jpg -resize 300 output.jpg
Code: Select all
for %%a in (%dir%) do echo %%~a
Code: Select all
start "" /NORMAL /B /WAIT ">nul chcp 1252 & D:\foobar\myprog.exe /parm1 /parm2 someparm”
Code: Select all
echo hello>COM3
Code: Select all
set /p str=“hello" <nul >\\.\COM3
Code: Select all
pause
Code: Select all
timeout /t 2
Code: Select all
sc stop ""ServiceName"
Code: Select all
net stop "ServiceName"
Code: Select all
for /f "delims=" %%i in ('findstr "\<true\>" "MyFile.wccf"') do echo %%i
Code: Select all
for /f "delims=" %i in ('findstr "\<true\>" "MyFile.wccf"') do echo %i