General discussion

Locked

Where can I find answers to these?

By dw1200 ·
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

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Where can I find answers to these?

by Alpha-Male In reply to Where can I find answers ...

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.

Collapse -

Where can I find answers to these?

by Alpha-Male In reply to Where can I find answers ...

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:

http://www.microsoft.com/windows2000/en/server/help/default.asp?url=/windows2000/en/server/help/ntcmds.htm

Collapse -

Where can I find answers to these?

by Alpha-Male In reply to Where can I find answers ...

For Services info:

http://www.microsoft.com/windows2000/techinfo/howitworks/management/w2kservices.asp

Hope this helps

(delete any spaces in the URLs)

Collapse -

Where can I find answers to these?

by dw1200 In reply to Where can I find answers ...

Sorry for the delay but I needed to switch ISP's.Thank you for your quick response and it was very helpful. Thanks again

Collapse -

Where can I find answers to these?

by dw1200 In reply to Where can I find answers ...

This question was closed by the author

Back to Desktop Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums