显示桌面上快捷方式的实际路径
By
admin
at 2017-12-10 • 0人收藏 • 1247人看过
import fsys; import console; import fsys.lnk; var lnk = fsys.lnk(); fsys.enum( fsys.getSpecial(0 /*_CSIDL_DESKTOP*/ ) , "*.lnk", function(dir,filename,fullpath,findData){ if(filename){ lnk.load(fullpath); console.log("快捷方式:"+filename, "实际路径:"+lnk.path ) } },false ); console.pause()
1 个回复 | 最后更新于 2017-12-10
![admin](/upload/avatar/middle/1.png)
admin
2017-12-10
#1
登录后方可回帖