且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在asp.net中重命名Project文件夹

更新时间:2023-11-23 10:26:34

您的网络在特殊用户的环境中运行:NetworkService或您服务器的其他任何内容配置使用。此用户需要正确的权限。在IIS 7.x上,它有点复杂:

http://learn.iis.net/page.aspx/624/application-pool-identities/ [ ^ ]



问候

Espen Harlinn
Your web runs in the context of a special user: NetworkService or whatever else your server has been configured to use. This user needs the correct permissions. On IIS 7.x it''s somewhat more convoluted:
http://learn.iis.net/page.aspx/624/application-pool-identities/[^]

Regards
Espen Harlinn


首先从COM组件添加对Microsoft.Scripting.Runtime的引用。



秒 - 在您的。中包含此命名空间。 cs页面使用Scripting;



第三 - 现在创建FileSystemObjectClass对象并将其用作各种工作方式,如重命名,复制,添加,删除文件夹和文件。



感谢和问候

AARIF SHAIKH
First of all Add Reference to Microsoft.Scripting.Runtime from COM Component.

Second - Include this Namespace in your .cs Page using Scripting;

Third - Now Create FileSystemObjectClass object and use it as various Working like Rename, copy, Add, Delete Folder and Files.

Thanks & Regards
AARIF SHAIKH