// 获取文件路径 /** 1 *
bundle是一个目录,其中包含应用程序的所有资源,通过mainBundle 得到这个目录后就可以获取resource下的资源 */ NSString
*filePath = [[NSBundle mainBundle] pathFo...
分类:
移动开发 时间:
2014-07-22 23:13:34
阅读次数:
349
获取文件名方法:用System.IO.Path.GetFileName和System.IO.Path.GetFileNameWithoutExtension(无扩展名)的方法获取文件路径方法://获取当前进程的完整路径,包含文件名(进程名)。string str = this.GetType().A...
C# 获取路径string str1 =Process.GetCurrentProcess().MainModule.FileName;//获得当前执行的exe的文件名。string str2=Environment.CurrentDirectory;//获取和设置当前目录的完全限定路径。strin...
-module(tool).
%% ====================================================================
%% API functions
%% ====================================================================
-export([modify_host...
分类:
其他好文 时间:
2014-06-08 10:38:23
阅读次数:
209