如何在文件夹名称带空格的批处理文件中写入完整路径? [英] How to write a full path in a batch file having a folder name with space?

查看:15
本文介绍了如何在文件夹名称带空格的批处理文件中写入完整路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在批处理文件中编写以下命令

I am writing following command in batch file

REGSVR32 E:Documents and SettingsAll UsersApplication Dataxyz.dll

运行此命令后出现以下错误

After running this command I am getting following error

LodLibrary(e:Documents) failed specified module could not be found.

我该如何解决这个问题?

How can I fix this problem?

推荐答案

在有空格的路径周围加上双引号,如下所示:

Put double quotes around the path that has spaces like this:

REGSVR32 "E:Documents and SettingsAll UsersApplication Dataxyz.dll"

这篇关于如何在文件夹名称带空格的批处理文件中写入完整路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆