C#中的相对路径与决定路径
相对路径
ExecutablePath的值为:
C:\Documents and Settings\tfq\My Documents\Visual Studio 2005\Projects\TeleServer\TeleServer\bin\Debug\TeleServer.exe,
而CurrentDirectory和StartupPath的值为:
C:\Documents and Settings\tfq\My Documents\Visual Studio 2005\Projects\TeleServer\TeleServer\bin\Debug
绝对路径
用 System.IO.FileInfo