{"id":23746,"date":"2024-05-20T15:55:06","date_gmt":"2024-05-20T07:55:06","guid":{"rendered":"https:\/\/www.yimenyun.cn\/emen\/23746\/"},"modified":"2024-05-20T15:55:06","modified_gmt":"2024-05-20T07:55:06","slug":"winexe%e5%b0%81%e8%a3%85%e6%98%af%e4%bb%80%e4%b9%88%e6%9c%89%e4%bb%80%e4%b9%88%e4%bd%9c%e7%94%a8","status":"publish","type":"post","link":"https:\/\/www.yimenyun.cn\/emen\/23746\/","title":{"rendered":"winexe\u5c01\u88c5\u662f\u4ec0\u4e48?\u6709\u4ec0\u4e48\u4f5c\u7528?"},"content":{"rendered":"

Winexe\u662f\u4e00\u4e2a\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u53ef\u4ee5\u5728Windows\u7cfb\u7edf\u4e0a\u8fd0\u884c\u6b4c\u5355\u5236\u4f5c\u8f6f\u4ef6app<\/a>\u547d\u4ee4\u3002\u5b83\u53ef\u4ee5\u901a\u8fc7SMB\u534f\u8bae\u8fde\u63a5\u5230\u8fdc\u7a0bWindows\u4e3b\u673a\uff0c\u5e76\u5728\u8fdc\u7a0b\u4e3b\u673a\u4e0a\u8fd0\u884c\u547d\u4ee4\u3002Winexe\u5c01\u88c5\u662f\u6307\u5c06Winexe\u5c01\u88c5\u6210\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u4f7f\u5176\u66f4\u65b9\u4fbf\u5730\u4f7f\u7528\u3002<\/p>\n

Winexe\u5c01\u88c5\u7684\u539f\u7406\u662f\u5c06Winexe\u548c\u76f8\u5173\u7684\u5e93\u6587\u4ef6\u6253\u5305\u6210\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\u3002\u8fd9\u6837\uff0c\u7528\u6237\u5c31\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884c\u8fd9\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u800c\u4e0d\u9700\u8981\u5b89\u88c5Winexe\u548c\u76f8\u5173\u7684\u5e93\u6587\u4ef6\u3002<\/p>\n

Winexe\u5c01\u88c5\u7684\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4e0b\uff1a<\/p>\n

1. \u4e0b\u8f7dWinexe\u548c\u76f8\u5173\u7684\u5e93\u6587\u4ef6<\/p>\n

rad\u5feb\u901f\u5e94\u7528\u5f00\u53d1<\/a><\/p>\n

\u9996\u5148\uff0c\u9700\u8981\u4e0b\u8f7dWinexe\u548c\u76f8\u5173\u7684\u5e93\u6587\u4ef6\u3002\u53ef\u4ee5\u4eceWinexe\u7684\u5b98\u65b9\u7f51\u7ad9\u6216Github\u4ed3\u5e93\u4e0b\u8f7dWinexe\u6e90\u4ee3\u7801\uff0c\u7136\u540e\u7f16\u8bd1\u751f\u6210Winexe\u53ef\u6267\u884c\u6587\u4ef6\u3002\u540c\u65f6\uff0c\u8fd8\u9700\u8981\u4e0b\u8f7d\u76f8\u5173\u7684\u5e93\u6587\u4ef6\uff0c\u5982samba\u3001libreadline\u3001libtalloc\u7b49\u3002<\/p>\n

2. \u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6<\/p>\n

\u5c06Winexe\u548c\u76f8\u5173\u7684\u5e93\u6587\u4ef6\u6253\u5305\u6210\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\u3002\u53ef\u4ee5\u4f7f\u7528NSIS\u3001Inno Setup\u7b49\u6253\u5305\u5de5\u5177\u5c06\u5b83\u4eec\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6\u3002\u6253\u5305\u5de5\u5177\u53ef\u4ee5\u5c06Winexe\u548c\u76f8\u5173\u7684\u5e93\u6587\u4ef6\u6253\u5305\u6210\u4e00\u4e2a\u72ec\u7acb\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u540c\u65f6\u8fd8\u53ef\u4ee5\u6dfb\u52a0\u56fe\u6807\u3001\u521b\u5efa\u5feb\u6377\u65b9\u5f0f\u7b49\u3002<\/p>\n

3. \u4f7f\u7528Wine<\/p>\n

<\/figure>\n<\/p>\n

xe\u5c01\u88c5<\/p>\n

\u6253\u5305\u5b8c\u6210\u540e\uff0c\u7528\u6237\u5c31\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528Winexe\u5c01\u88c5\u4e86\u3002\u53ea\u9700\u8981\u53cc\u51fb\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u5c31\u53ef\u4ee5\u6253\u5f00\u4e00\u4e2a\u547d\u4ee4\u884c\u7a97\u53e3\uff0c\u8f93\u5165\u8981\u5728\u8fdc\u7a0bWindows\u4e3b\u673a\u4e0a\u8fd0\u884c\u7684\u547d\u4ee4\u5373\u53ef\u3002\u4f8b\u5982\uff0c\u8981\u5728\u8fdc\u7a0b\u4e3b\u673a\u4e0a\u67e5\u770b\u7cfb\u7edf\u4fe1\u606f\uff0c\u53ef\u4ee5\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n

winexe -U username%password \/\/remote_ip “systeminfo”<\/p>\n

\u5176\u4e2d\uff0cusername\u662f\u8fdc\u7a0b\u4e3b\u673a\u7684\u7528\u6237\u540d\uff0cpassword\u662f\u5bc6\u7801\uff0cremote_ip\u662f\u8fdc\u7a0b\u4e3b\u673a\u7684IP\u5730\u5740\u3002<\/p>\n

\u603b\u7ed3\uff1a<\/p>\n

Winexe\u5c01\u88c5\u53ef\u4ee5\u5c06Winexe\u548c\u76f8\u5173\u7684\u5e93\u6587\u4ef6\u6253\u5305\u6210\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u65b9\u4fbf\u7528\u6237\u4f7f\u7528\u3002\u5b83\u7684\u539f\u7406\u662f\u5c06Winexe\u548c\u76f8\u5173\u7684\u5e93\u6587\u4ef6\u6253\u5305\u6210\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\u3002\u4f7f\u7528Winexe\u5c01\u88c5\u53ef\u4ee5\u5728\u8fdc\u7a0bWindows\u4e3b\u673a\u4e0a\u8fd0\u884c\u547d\u4ee4\uff0c\u4f8b\u5982\u67e5\u770b\u7cfb\u7edf\u4fe1\u606f\u3001\u5b89\u88c5\u8f6f\u4ef6\u7b49\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

Winexe\u662f\u4e00\u4e2a\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u53ef\u4ee5\u5728Windows\u7cfb\u7edf\u4e0a\u8fd0\u884c\u547d\u4ee4\u3002\u5b83\u53ef\u4ee5\u901a\u8fc7SMB\u534f\u8bae\u8fde\u63a5\u5230\u8fdc\u7a0bWindows\u4e3b\u673a\uff0c\u5e76\u5728\u8fdc\u7a0b\u4e3b\u673a\u4e0a\u8fd0\u884c\u547d\u4ee4\u3002Winexe\u5c01\u88c5\u662f\u6307\u5c06Winexe\u5c01\u88c5\u6210\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u4f7f\u5176\u66f4<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[24513,9575,14111,256,16],"topic":[],"class_list":["post-23746","post","type-post","status-publish","format-standard","hentry","category-exekf","tag-windowsformweb","tag-9575","tag-14111","tag-256","tag-16"],"_links":{"self":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/23746","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/comments?post=23746"}],"version-history":[{"count":0,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/23746\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/media?parent=23746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/categories?post=23746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/tags?post=23746"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/topic?post=23746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}