One 、 Use scenarios

Use scenarios : Before the project is released

Operation steps :

1. perform gulp, Compress files 、 Merge and so on ;

2. stay 1 After execution , Yes 1 The files merged in are as follows default.css Automatic generation of multi theme colors , Use it here node Handle .

problem : Manual operation is tedious

open cmd-> Switch execution directory -> perform gulp-> close cmd(gulp After execution , The window can no longer execute other commands )-> open cmd-> Toggle directory -> perform node-> close cmd

demand : Use .bat Automatically complete the above steps

Two 、bat Code

 @echo off
start cmd /k "gulp"
start cmd /k "node modifyfile.js"

Use bat Open multiple cmd Window execution gulp、node More articles about

  1. java perform bat Batch file And shut down cmd window

    java perform bat Batch file And shut down cmd window import java.io.IOException; public class CmdMain { public static void main( ...

  2. windows When configuring environment variables under , stay cmd The reason why the window is invalid when executing the configured command

    One reason must be configuration errors , I have to check this carefully by myself , If you are sure the configuration is correct , It could be yours cmd The window opens before the environment variables are configured , After configuring the environment variables , stay cmd There is no effect when the window executes the command , You can turn off cmd The window will be opened again ...

  3. python Use multiple processes to open multiple cmd window , And shut down after the subprocess ends cmd window

    forehead , What I want to express is to use os.system() Open another executable , And then wait for it to end , close cmd window It's mainly because I have a whim and want to pretend ; If you just use multiprocessing Library multiprocessing , And then output the information , There's no way ...

  4. WIN7、WIN8 Right click in the current directory to open the command line Cmd window ( Image & Text )

    Win7 We are used to “Win+R” To open a command prompt . Usually right clicking on a folder does not go to the command line Go into a folder , Hold on first Shift key , And then right-click , Options appear “ Open command window here (W)” You can also open the command line . ...

  5. WIN7 Right click in the current directory to open the command line Cmd window

    Win7 We are used to “Win+R” To open a command prompt . 2. Usually , There is no command line option when we click the right mouse button .. 3. Press and hold on the desktop first Shift key , And then right-click , Options appear “ Open command window here (W)” ...

  6. Right click in the current directory to open the command line cmd window

    Win7 We are used to “Win+R” To open a command prompt . Method / step 2 Usually , There is no command line option when we click the right mouse button . Method / step 3 Press and hold on the desktop first Shift key , And then right-click , Options appear “ Open here ...

  7. bat Batch files are hidden at run time cmd window

    Want to make bat Hide at run time cmd window , The best way is to use vbs File implementation , 1. Create a new text document , Renamed as 123.vbs, Edit content : set ws=WScript.CreateObject("WScri ...

  8. java stay CMD Enter the password when the window executes the program ( Hide some sensitive information )

    Sometimes we need to go from CMD Windows execute some commands , Sometimes you enter sensitive information , Things like passwords , So we can read it from the console, but we don't want people to see our password : import java.io.Console; /** ...

  9. [Skills] Open one on the desktop BAT file ,CMD The window doesn't close

    Every time I turn on the machine, I have to get this machine IP, And then connect to it remotely , The screen is too small , It's hard to input , Want to write a bat, Execution can see IP, And stay in cmd On the window , I think it's easy , I searched for a long time before, but I didn't find a good way , I found a post today , How could it be , ha-ha !   With ...

Random recommendation

  1. SVN modify log Solutions to information error reporting

    To enable modification log This function , Only need hooks Add a file named :pre-revprop-change.bat The file of , restart svn that will do . The content of the document is :------------------------- ...

  2. BZOJ3251 : The triangle on the tree

    BZOJ AC1000 Title commemoration ~~~ take x To y The weight of points on the path is ranked from small to large If it doesn't exist b[i] bring b[i]+b[i+1]>b[i+2] There is no solution. here b The growth rate of sequence is faster than Fibonacci sequence , When reach 50 The number of items will exceed ...

  3. Implementation Documentation[ turn ]

    Original address :http://prasanna-adf.blogspot.tw/2009/04/implementation-documentation.html Following are the lis ...

  4. MaraDNS And DeadWood Configuration together to provide miniaturization for local machines DNS service

    Because job testing requires , To install an environment in this machine , You can resolve your own domain name , Domain name ->IP Mapping services for . I found it on the Internet , All say yes MaraDNS Pretty good . Also tried , There is no problem with local configuration . What you download from the official website is 2-0-11.w ...

  5. QWidget You can set QStyle, It can draw a lot of things ( The specific content has not been studied , To be continued )

    QStyle * QWidget::style() const See also QWidget::setStyle(), QApplication::setStyle(), and QApplica ...

  6. Github Project recommend - Figure neural network (GNN) A large list of related resources

    The article is published on the official account [ A few words of wisdom ] (ID:decision_engine), Pay attention to the company and don't miss every dry article . from | AI Workshop author |Zonghan Wu This is a set of resources related to graph neural network . Related resources below ...

  7. Continuous in binary k individual 1- Answer key

    Original title transmission gate [>XJOI<]    Important note : Your level must reach three levels and five stages , Or you'll be beaten up by a kitten Title Description : Minimum m, bring m>=n and m The binary representation of contains at least continuous k individual 1 Input format : Input ...

  8. Vue Customize class Override the original style of the third party component

    One vue Files can be written in multiple <style></style>, If in style add socped Represents the style of this component , Don't pollute the whole situation . If you need to override third-party component styles , You can't add scoped, therefore ...

  9. python Of global variables import Mechanism

    Learn before python Design patterns ( Practice of factory mode ), You want to use global variables instead c++ When the service auto registration function is completed by the macro of , There was a problem , The definition and use of global variables in the same executable script . First, let's take a look at the problematic code : IS ...

  10. jQuery EasyUI Introduction

    For front-end developers , Apply... In the development process “ frame ” This tool , Can greatly shorten the development time , Improve development efficiency . Today we will introduce a common framework ——jQuery EasyUI. What is jQuery EasyUI Well ? jQ ...