本文介绍了文件路径中的空格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下不起作用:


Dim photoPath As String =" R:\ My Documents \ MyYy Pictures\MiscLL \"


如果我使用双引号也不行。如果我使用不含空格的

不同路径,它确实有效。什么是简单的解决方案?


-

使用Opera革命性的电子邮件客户端:

The following doesn''t work:

Dim photoPath As String = "R:\My Documents\My Pictures\MiscLL\"

It doesn''t work if I use double quotes either. It does work if I use a
different path without spaces in it. What is the simple solution ?

--
Using Opera''s revolutionary e-mail client: http://www.opera.com/mail/

推荐答案





什么不起作用?!


-

MS Herfried K. Wagner

MVP< URL:http://dotnet.mvps.org/>

VB< URL:http://dotnet.mvps.org/dotnet/faqs />

What does not work?!

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>


这篇关于文件路径中的空格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 18:59
查看更多