当前位置:网站首页>String comparison in batch file - string comparison in batch file
String comparison in batch file - string comparison in batch file
2022-07-07 00:38:00 【Superior virtue and weak water】
problem :
How do we compare strings which got space and special chars in batch file? How do we compare strings with spaces and special characters in batch files ?
I am trying: I'm trying :
if %DevEnvDir% == "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\"(echo VS2010)But it gives an error "Files was unexpected at this time." But it gives an error “ The document was unexpected at this time .”
I tried: I tried :
if "%DevEnvDir%" == "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\"(echo VS2010)But it gives an error "The syntax of the command is incorrect." But it gives an error “ The syntax of the command is incorrect ”.
Any ideas? Do you have any ideas ?
Solution :
Reference resources : https://stackoom.com/en/question/10kHv边栏推荐
- Stm32f407 ------- DAC digital to analog conversion
- Explain in detail the implementation of call, apply and bind in JS (source code implementation)
- Core knowledge of distributed cache
- JS+SVG爱心扩散动画js特效
- stm32F407-------DAC数模转换
- Stm32f407 ------- SPI communication
- Jenkins' user credentials plug-in installation
- 以机房B级建设标准满足等保2.0三级要求 | 混合云基础设施
- [2022 the finest in the whole network] how to test the interface test generally? Process and steps of interface test
- System activity monitor ISTAT menus 6.61 (1185) Chinese repair
猜你喜欢

Stm32f407 ------- DAC digital to analog conversion

Racher integrates LDAP to realize unified account login

2021 SASE integration strategic roadmap (I)

rancher集成ldap,实现统一账号登录

The difference between redirectto and navigateto in uniapp

DAY FIVE

DAY TWO

ldap创建公司组织、人员

【vulnhub】presidential1

Three application characteristics of immersive projection in offline display
随机推荐
Encryption algorithm - password security
How can computers ensure data security in the quantum era? The United States announced four alternative encryption algorithms
Quaternion attitude calculation of madgwick
2022/2/10 summary
Markov decision process
ldap创建公司组织、人员
Why should a complete knapsack be traversed in sequence? Briefly explain
rancher集成ldap,实现统一账号登录
stm32F407-------DAC数模转换
How to use vector_ How to use vector pointer
The programmer resigned and was sentenced to 10 months for deleting the code. Jingdong came home and said that it took 30000 to restore the database. Netizen: This is really a revenge
[2022 the finest in the whole network] how to test the interface test generally? Process and steps of interface test
509 certificat basé sur Go
Advanced learning of MySQL -- basics -- transactions
The way of intelligent operation and maintenance application, bid farewell to the crisis of enterprise digital transformation
三维扫描体数据的VTK体绘制程序设计
Policy Gradient Methods
Operation test of function test basis
【JokerのZYNQ7020】AXI_EMC。
kubernetes部署ldap