Jump to content

как в командной строке...


Recommended Posts

motorway:

как в командной строке...подождать 5 сек

См. тут.

Ping -n 5 localhost > nulIf a==a (Echo "a" equel "a") else (Echo "a" equel "c")

:(

как скопировать самый последний по времени создания файл (новейший)?
@echo offSet SourceDir=C:\testSet DestDir=D:\testSet NewestFileDate=0For %%a In ("%SourceDir%\*.*") Do If %%~ta GTR %NewestFileDate% (Set NewestFile=%%aSet NewestFileDate=%%~ta)Copy "%NewestFile%" "%DestDir%"
Edited by CreatoR
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...