1、C++:
GetCurrentDirectory() // 获取当前进程的工作目录
SetCurrentDirectory() // 设置当前进程的工作目录
2、C#:
System.IO.Directory.GetCurrentDirectory() // 获取当前进程的工作目录
System.IO.Directory.SetCurrentDirectory() // 设置当前进程的工作目录
Application.StartupPath // 应用程序启动目录
1、C++:
GetCurrentDirectory() // 获取当前进程的工作目录
SetCurrentDirectory() // 设置当前进程的工作目录
2、C#:
System.IO.Directory.GetCurrentDirectory() // 获取当前进程的工作目录
System.IO.Directory.SetCurrentDirectory() // 设置当前进程的工作目录
Application.StartupPath // 应用程序启动目录