• JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroid
    WindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-Bitrix
    LaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows Server
    GitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
  • Ask
  • Leaders

Categories

JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroidWindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-BitrixLaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows ServerGitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
Programming
JavaScript PHP HTML Css Python WordPress Web development Linux MySQL Android Windows Java C++ / C# Layout React Ubuntu Yii Django Programming 1C-Bitrix Laravel System administration Telegram JSON Debian PostgreSQL IOS Google Htaccess Windows Server
Make a leaderReport
U
U
uSide2014-09-03 10:45:24
cmd/bat
uSide, 2014-09-03 10:45:24

How to make a condition in cmd?

There is a file. It can be written "1" or "2".
If "1", you need to run one command, "2" - another.

Reply
Answer the question

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Report
E
Eugene, 2014-09-03
@EvgenijDv

cmd.exe << if /?

Similar questions
8
83349 M2018-02-21 19:05:08
How to output part of the path correctly? 1Reply
S
Sergey Blokhin2011-09-21 11:52:42
Assigning a value to a variable in DOS? 3Reply
Y
Yura Storchak2020-04-30 22:21:40
How to add a BAT file so that the link in the monitor you need and with the right coordinates is loaded. How can this be written? 1Reply
G
Goobert Crypto2020-05-02 16:27:21
How to remove dashes in text document? 2Reply
I
IgorIlvutchenko2018-03-14 21:32:08
Why can the command line slow down when running gulp or composer? 1Reply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question

banners