China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-29 09:02
中国DOS联盟论坛 » 论坛回收站 » A few questions, asking everyone for advice View 1,605 Replies 0
Original Poster Posted 2010-08-20 10:29 ·  中国 广东 广州 移动
新手上路
Credits 3
Posts 2
Joined 2010-07-07 17:04
16-year member
UID 170162
Gender Male
Status Offline
wmic computersystem where “name=’abc’” call rename dgzhongxuwei1
Error:
Code = 0x80041017
Description = Invalid query
Facility = WMI

wmic computersystem where “name=’WORKGROUP’” call joindomainorworkgroup “”,”",”EMC”,1
Error:
Code = 0x80020005
Description = Type mismatch.
Facility = Dispatch

Why won't these two lines execute?
One more question. Is it possible to let the computer name be arbitrary, and then I specify the name that needs to be changed afterward? Same for the workgroup? Thanks.

[ Last edited by vergr on 2010-8-20 at 10:49 ]
Forum Jump: