MCPcopy Create free account
hub / github.com/HelloBush/Java_MHXYdemo / GetDir

Method GetDir

src/pkgDm/Dm2Java.java:2471–2473  ·  view source on GitHub ↗

得到系统的路径 @param type 得到系统的路径 0 : 获取当前路径 1 : 获取系统路径(system32路径) 2 : 获取windows路径(windows所在路径) 3 : 获取临时目录路径(temp) 4 : 获取当前进程(exe)所在的路径 @return 返回路径

(int type)

Source from the content-addressed store, hash-verified

2469 * @return 返回路径
2470 */
2471 public String GetDir(int type){
2472 return Dispatch.call(dm,"GetDir",type).getString();
2473 }
2474
2475 /**
2476 * 获取本机的硬盘序列号.支持ide scsi硬盘. 要求调用进程必须有管理员权限. 否则返回空串.

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getStringMethod · 0.45

Tested by

no test coverage detected