请熟悉dos的回答一下!!
http://expert.csdn.net/Expert/topic/1860/1860985.xml?temp=.1574976 问题点数:20、回复次数:3Top
1 楼lluunn007(书生)回复于 2003-06-02 17:44:24 得分 0
看看Top
2 楼paperfly(paperfly)回复于 2003-06-02 18:09:26 得分 20
extractshortpathname()
原型:extern package ansistring __fastcall extractshortpathname(const ansistring filename);
功能:把文件名转换为dos的8、3格式
参数:filename:要处理的文件名
例:showmessage(extractshortpathname("e:\\program files\\dual wheel mouse\\4dmain.exe"));/*显示"e:\progra~1\dualwh~1\4dmain.exe"*/
注意上面的extractshortpathname函数的大小写正确写法是
ExtractShortPathNameTop
3 楼lltt(清风渐去云已淡)回复于 2003-06-03 10:35:22 得分 0
好的,试试去Top




