Specify source only (will copy
the file to current folder, keeping the same filename)
MOVE g:\department\oldfile.wp
Quiet move (no feedback on screen)
MOVE oldfile.wp newfile.doc >nul
MOVE is an
internal
command.
“Any intelligent fool can make things bigger and more complex... It takes a touch of genius -
and a lot of courage to move in the opposite direction” - Albert Einstein
MOVEUSER.exe
(
Resource Kit
)
Move a local user account into a domain or move a user account between machines.
Syntax
MOVEUSER [DOMAIN/]
user1 [DOMAIN/]
user2 [/c:
computer] [/k] [/y]
Key:
user1 The existing user (who has a local profile)
Specify domain users in 'DOMAIN/user'
format
or just 'user' for a local account.
user2 The user acount that will inherit the user1 profile.
This account must already exist.
Specify domain users in DOMAIN/user format
specify only user for local accounts.
/c:
computer The computer on which to make the changes.
/k
Keep user account user1 (only applies to local users)
/y Overwrite
an existing profile for user2.
To use MOVEUSER, you must be logged in with admin rights to create and modify user
accounts on both the source and target machine.
Examples
MOVEUSER fred MyDomain\newfred
Or if the account 'fred' is on the remote PC called 'wks0123'
MOVEUSER fred MyDomain\newfred /c:\\wks0123
“You don‟t sew with a fork, so I see no reason to eat with knitting needles” - Miss Piggy, on
eating Chinese Food
MSG.exe
Send a pop-
up message to a user. The 'Home' editions of Windows don’t include MSG.
Syntax
MSG
username [
options] [
message]
MSG
sessionname [
options] [
message]
MSG
sessionid [
options] [
message]
MSG @
filename [
options] [
message]
MSG * [
options] [
message]
Options
Chia sẻ với bạn bè của bạn: