zoukankan      html  css  js  c++  java
  • BAT指令收集

    查找文件:dir/b/s | findstr dict.erl  其中/s是表示遍历子目录

    start/b xxxx.bat 可以一个bat里执行多个bat

    bat里管道符要用^转义

    svn st |findstr/v ? |awk "{print $2}" (显示svn修改,结合gow)

    搜索目录下的.svn目录 dir/s/ad/b |grep svn$

    删除目录下的.svn

    for /r config %i in (.svn) do if exist %i rd/s/q %i

    copy /y .... ew_servcprotoslg_protocol.lua 

    move /y server ecord*.hrl .. ew_servinclude ecord

    taskkill /F /IM server.exe        启动:start "LOGIN" ls.exe

    启动空cmd命令行cmd . 或者 @start cmd但后者会有多启动一个马上消失的exe
    指定目录可以前面写cd指令再cmd .,也可以弄快捷方式直接cmd .

    xcopy res binwin32vc12 es /i /s /e /y /q >nul 文件夹复制

    wusa /uninstall /kb:3126587 /quiet /norestart 卸载某个更新补丁

    当前已安装更新列表:wmic qfe list brief /format:texttablewsys > "%USERPROFILE%hotfix.txt"

    查看内存型号: 输入wmic进入命令行系统管理执行脚本界面,再memorychip

    用计划任务执行BAT脚本的问题: 设置 启动程序 的 全目录后,还要配置脚本的文件目录,在 起始于  选项。

    echo 分割符 , 或 ;
    set str=100,200;300,400,500;n600,7,8,9
    for /f "tokens=1,2,4,5,6,* delims=,|;" %%a in ("%str%") do ( echo %%a %%b %%c %%d %%e %%f )

  • 相关阅读:
    ironic port bind
    pdb /usr/bin/neutron-server
    networking_generic_switch
    [CodeForces586D]Phillip and Trains
    [CodeForces598D]Igor In the Museum
    [poj3468]A Simple Problem with Integers
    [bzoj1503][NOI2004]郁闷的出纳员
    [bzoj1208][HNOI2004]宠物收养所
    [luogu3384][模板]树链剖分
    [CodeForces869A]The Artful Expedient
  • 原文地址:https://www.cnblogs.com/xiao0913/p/3652677.html
Copyright © 2011-2022 走看看