northpolepuppy
V2EX  ›  问与答

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

  •  
  •   northpolepuppy · May 12, 2020 · 1193 views
    This topic created in 2335 days ago, the information mentioned may be changed or developed.

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

    ysc3839
        1
    ysc3839  
       May 12, 2020 via Android
    把自身 exe 移到临时目录?
    northpolepuppy
        2
    northpolepuppy  
    OP
       May 13, 2020 via iPhone
    @ysc3839 哈哈哈哈
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2313 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 11:55 · PVG 19:55 · LAX 04:55 · JFK 07:55
    ♥ Do have faith in what you're doing.