
is there anyone can share it here?...
or any more code can add?
i also want to know how to use Looping decrements -- like 5 4 3 2 1 in command prompt
any answer ,url w'd appreciated
Thanks
Moderator: Community Moderator
Code: Select all
@ECHO OFF
IPCONFIG |FIND "IP"
@echo --------------------------------------------------------
@echo Domain: %USERDOMAIN%
@echo --------------------------------------------------------
@echo User: %USERNAME%
@echo --------------------------------------------------------
@echo Date: %DATE%
@echo --------------------------------------------------------
pause
Code: Select all
@echo off
echo Checking your system information, Please wating...
systeminfo | findstr /c:"Host Name"
systeminfo | findstr /c:"Domain"
systeminfo | findstr /c:"OS Name"
systeminfo | findstr /c:"OS Version"
systeminfo | findstr /c:"System Manufacturer"
systeminfo | findstr /c:"System Model"
systeminfo | findstr /c:"System type"
systeminfo | findstr /c:"Total Physical Memory"
ipconfig | findstr IPv4
echo.
echo Hard Drive Space:
wmic diskdrive get size
echo.
echo.
echo Service Tag:
wmic bios get serialnumber
echo.
echo.
echo CPU:
wmic cpu get name
echo Completed!
pause
Code: Select all
@ECHO OFF
echo My name is sagent64
:a
echo and i know you love me
goto a
Code: Select all
net send PC1 "hello"
Code: Select all
net send * "hello everyone"
Code: Select all
copy 192.168.1.1\sharedfolder\test.txt D:\test