Application.StartupPath是程序的启动目录,这个在程序运行以后,就不会改变了.   
    
Directory.GetCurrentDirectory()是"当前目录",是可以在程序运行时候改变的,用   
Directory.SetCurrentDirectory()就可以改变.   
    
今天随意用了一下GetCurrentDirectory,出了大问题,记下来!
 

相关文章:

  • 2021-09-10
  • 2021-12-04
  • 2022-02-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-03-10
  • 2022-12-23
  • 2022-12-23
  • 2021-10-22
  • 2022-12-23
  • 2021-12-16
  • 2021-12-27
相关资源
相似解决方案