当前位置:网站首页>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边栏推荐
- Explain in detail the implementation of call, apply and bind in JS (source code implementation)
- Personal digestion of DDD
- 【JokerのZYNQ7020】AXI_EMC。
- ldap创建公司组织、人员
- Use mujoco to simulate Cassie robot
- C语言输入/输出流和文件操作【二】
- X.509 certificate based on go language
- How to use vector_ How to use vector pointer
- 2022 PMP project management examination agile knowledge points (9)
- VTK volume rendering program design of 3D scanned volume data
猜你喜欢

2021 SASE integration strategic roadmap (I)

集合(泛型 & List & Set & 自定义排序)

Core knowledge of distributed cache

ldap创建公司组织、人员

Data analysis course notes (V) common statistical methods, data and spelling, index and composite index

Mujoco second order simple pendulum modeling and control

Mujoco Jacobi - inverse motion - sensor

Devops can help reduce technology debt in ten ways

AI super clear repair resurfaces the light in Huang Jiaju's eyes, Lecun boss's "deep learning" course survival report, beautiful paintings only need one line of code, AI's latest paper | showmeai info

2022年PMP项目管理考试敏捷知识点(9)
随机推荐
Article management system based on SSM framework
rancher集成ldap,实现统一账号登录
Clipboard management tool paste Chinese version
Uniapp uploads and displays avatars locally, and converts avatars into Base64 format and stores them in MySQL database
uniapp实现从本地上传头像并显示,同时将头像转化为base64格式存储在mysql数据库中
2022 PMP project management examination agile knowledge points (9)
如何判断一个数组中的元素包含一个对象的所有属性值
Advanced learning of MySQL -- basics -- multi table query -- joint query
iMeta | 华南农大陈程杰/夏瑞等发布TBtools构造Circos图的简单方法
Advanced learning of MySQL -- Fundamentals -- four characteristics of transactions
How engineers treat open source -- the heartfelt words of an old engineer
37页数字乡村振兴智慧农业整体规划建设方案
X.509 certificate based on go language
Alexnet experiment encounters: loss Nan, train ACC 0.100, test ACC 0.100
浅谈测试开发怎么入门,如何提升?
@TableId can‘t more than one in Class: “com.example.CloseContactSearcher.entity.Activity“.
What is a responsive object? How to create a responsive object?
基於GO語言實現的X.509證書
GPIO簡介
Google, Baidu and Yahoo are general search engines developed by Chinese companies_ Baidu search engine URL