zoukankan      html  css  js  c++  java
  • 批处理 细节记录

    @echo off 从当前命令行开始起不输出到屏幕上

    pause 暂停处理

    :top 跳转锚点 和 goto top 跳转到锚点

    根据选择跳转到锚点

    choice /c:123 /m "1:a,2:b,3:c"

    if errorlevel 3 goto push
    if errorlevel 2 goto sync
    if errorlevel 1 goto main

    sc \xxx.xx.xx.xxx start "Service A" 远程启动服务

    sc \xxx.xx.xx.xxx stop "Service B" 远程停止服务

    taskkill /s xxx.xx.xx.xxx /u 账号 /p 密码 /IM xxx.exe 杀掉进程

    net use \xxx.xx.xx.xxx目录 密码 /user:账号 建立连接

    copy xxx.config \xxx.xx.xx.xxx路径 /y 复制文件

  • 相关阅读:
    selenium 难定位元素、时间插件
    列表生成式
    三元表达式
    监控日志
    非空即真
    深拷贝浅拷贝
    元组
    list字典嵌套
    2021
    布尔类型
  • 原文地址:https://www.cnblogs.com/xachary/p/4459059.html
Copyright © 2011-2022 走看看