V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
northpolepuppy
V2EX  ›  问与答

C#如何接触对自身文件夹的占用?

  •  
  •   northpolepuppy · 2020-05-12 19:03:58 +08:00 · 848 次点击
    这是一个创建于 1594 天前的主题,其中的信息可能已经有所发展或是发生改变。

    比如我的 winform 程序有个子文件夹 test 放在 D:/”我的程序根目录“/test 文件夹中,如何在我的程序运行时解除自身对于 test 的占用?

    ysc3839
        1
    ysc3839  
       2020-05-12 20:35:58 +08:00 via Android
    把自身 exe 移到临时目录?
    northpolepuppy
        2
    northpolepuppy  
    OP
       2020-05-13 07:23:27 +08:00 via iPhone
    @ysc3839 哈哈哈哈
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   862 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 20:31 · PVG 04:31 · LAX 13:31 · JFK 16:31
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.