更新时间:2023-11-29 14:59:40
嗨
例如个人文件夹(我的文件)
Environment.GetFolderPath(Environment.SpecialFolde r.Personal)
>
我希望这有帮助吗?
Cor
我正在处理的应用程序应该设置特殊文件夹(收藏夹,>我的文件,......)但我找不到办法。到目前为止,我已经能够获得这些特殊文件夹的路径而不是设置它们。有没有人
知道怎么做?
你好Cor,
非常感谢您的回答。事实上,这是我用来获得
当前路径的方法,但是如果你想改变它怎么设置一个呢?
谢谢再次,Que_Mas_Da。
" Cor Ligthert" <无********** @ planet.nl> escribióenel mensaje
news:u#************** @ TK2MSFTNGP09.phx.gbl ...嗨
例如个人文件夹(我的文件)
Environment.GetFolderPath(Environment.SpecialFolde r.Personal)
我希望这有帮助吗?
> Cor我正在处理的应用程序应该设置特殊文件夹
(收藏夹,我的文档,...),但我找不到这样做的方法。到目前为止,我已经
能够来获取这些特殊文件夹的路径但不设置它们。有人
知道怎么做?
你好Quemasda ,
我认为你无法手动改变这种地图,那你为什么要通过程序来实现这一点呢?这只是我所使用的OP系统中的枚举
。
Cor
非常感谢为你的答案。事实上,这是我用来获取当前路径的方法,但如果你想改变它,你如何设置一个新的呢?
再次感谢,Que_Mas_Da。
Hi,
The application I''m working on should set the Special Folders (Favorites,
My Documents, ...) but I can''t find the way to do it. So far, I''ve been able
to get the path of those Special Folders but not set them. Does anybody know
how?
Thanks in advance, Que_Mas_Da.
Hi
By instance the personal folder (My documents)
Environment.GetFolderPath(Environment.SpecialFolde r.Personal)
I hope this helps?
CorThe application I''m working on should set the Special Folders (Favorites,
My Documents, ...) but I can''t find the way to do it. So far, I''ve been able to get the path of those Special Folders but not set them. Does anybody know how?
Hi Cor,
thanks a lot for your answer. In fact, this is what I use to get the
current path, but how do you set a new one if you want to change it?
Thanks again, Que_Mas_Da.
"Cor Ligthert" <no**********@planet.nl> escribió en el mensaje
news:u#**************@TK2MSFTNGP09.phx.gbl...Hi
By instance the personal folder (My documents)
Environment.GetFolderPath(Environment.SpecialFolde r.Personal)
I hope this helps?
CorThe application I''m working on should set the Special Folders (Favorites, My Documents, ...) but I can''t find the way to do it. So far, I''ve been
ableto get the path of those Special Folders but not set them. Does anybody
knowhow?
Hi Quemasda,
I think you can not change this kind of maps by hand, so why would you be
able to do it by program. It is just an enumeration from the used OP system
in my opinon.
Cor
thanks a lot for your answer. In fact, this is what I use to get the
current path, but how do you set a new one if you want to change it?
Thanks again, Que_Mas_Da.