Where can I find answers to these?
copy nul
echo y/cacls
net share
subinacl /share
Also in Active Directory-Which service is responsible for automatically establishing connections between individual machine in the same site?
Thanks
Desktop
copy nul
echo y/cacls
net share
subinacl /share
Also in Active Directory-Which service is responsible for automatically establishing connections between individual machine in the same site?
Thanks
by alpha-male
copy nul -
copies without echoing to the screen
echo y/cacls -
The CACLS.EXE command line utility does not provide a /Y switch that automatically answers with Y for Yes to the ARE YOU SURE? Y/N prompt. However, you can use the echo command to pipe the character Y as input to the ARE YOU SURE? Y/N prompt when you call Cacls.exe in a batch file.
To programmatically answer with Yes to the ARE YOU SURE? Y/N prompt during batch file execution, use the following command line in your batch file:
echo y| cacls filename /g username: permission
net share
Creates, deletes, or displays shared resources.
net share sharename
net share sharename=drive:path [/users:number | /unlimited] [/remark:"text"]
net share sharename [/users:number | unlimited] [/remark:"text"]
net share {sharename | drive:path} /delete
Parameters
none
Type net share without parameters to display information about all resources being shared on the local computer.
sharename
Is the network name of the shared resource. Type net share with a sharename only to display information about that share.
drive:path
Specifies the absolute path of the directory to be shared.
/users:number
Sets the maximum number of users who can simultaneously access the shared resource.
/unlimited
Specifies an unlimited number of users who can simultaneously access the shared resource.
/remark:"text"
Adds a descriptive comment about the resource. Enclose the text in quotation marks.
/delete
Stops sharing the resource.
by alpha-male
subinacl /share
Display or modify Access Control Entries (ACEs) for file and folder Permissions, Ownership and Domain.
Access Control Lists apply only to files stored on an NTFS formatted drive, each ACL determines which users (or groups of users) can read or edit the file. When a new file is created it normally inherits ACL's from the folder where it was created.
syntax
SUBINACL [/noverbose] /object_type object_name [/action=parameter]
Here's a good reference:
by alpha-male
For Services info:
http://www.microsoft.com/windows2000/techinfo/howitworks/management/w2kservices.asp
Hope this helps
(delete any spaces in the URLs)
by dw1200
by dw1200
This discussion is closed to new replies.
Sort by Trending