![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Shell/Bat
岳锋
就国而言,其根本在于富国强兵。就人而论,则在财富健康。国富而兵弱者,必有宋清之祸。财富而体不健者,则无富贵之实。故为士者,当自勉上进,积财累富。又当积极自律,强身健体。卒可立宗祠,留芳名,福荫子孙。
展开
-
Windows下,在AndoridStudio的Terminal窗口查看当前App的activity的名字和全路径
命令分2步:1. adb shell,进入shell。2. dumpsys activity top | grep ACTIVITY打印结果如下: ACTIVITY com.tencent.mm/.ui.LauncherUI ** pid=22 ACTIVITY com.tencent.mm/.plugin.appbrand.ui.AppBrandUI1 ** pid=22 ACTIVITY me.ele/.Launcher ** pid=22 ACTIVITY com.huawe原创 2022-01-04 11:53:01 · 1141 阅读 · 0 评论 -
Bat 等待一段指定的时间
以下代码,直接放在.bat文件中执行,就可以指定停留30秒。timeout /t 30如果不想被中断,除非关闭程序或按ctrl+c,就加这个指令 /nobreak。timeout /t 30 /nobreak如果还不想看到倒计时效果,就再加这个指令 > NULtimeout /t 30 /nobreak > NUL...原创 2019-12-06 10:04:50 · 30919 阅读 · 0 评论