Windows 7 Forums


Windows 7: How to share on cmdline the folder D:\aaa\bbb for User 123 ?

07 May 2011   #1

winxp
 
 
How to share on cmdline the folder D:\aaa\bbb for User 123 ?

I am seaching for a way to assign sharing permissions FROM COMMANDLINE
for a particular user with particular permission under Windows 7 (!). Something like

defineshare -dir=D:\aaa\bbb -user=myuser123 -perm="full access"

As I learned so far there must be built-in or additional prgm like

setowner
setacl
subinacl
cacls

Which of these cmds do I need for mentioned plan?

How would the cmdline look like in detail?

Peter

My System SpecsSystem Spec

08 May 2011   #2

Windows 7 Ultimate 64-bit
Puyallup, WA, USA
 
 

Peter,

I would try typing "net share /?" and you should get all the answers and "flags" you will need. I've never done it this way ,personally, so I can't speak to the difficulty level.

My System SpecsSystem Spec
Reply

 How to share on cmdline the folder D:\aaa\bbb for User 123 ? problems?



Thread Tools



Similar help and support threads for: How to share on cmdline the folder D:\aaa\bbb for User 123 ?
Thread Forum
User Profile folder - static folder instead of created by user signon Installation & Setup
how do i share a folder on a workgroup without home share? Network & Sharing
Share folder with a user account on ANOTHER computer in the workgroup Network & Sharing
Why is the User folder shared when you share a folder? Network & Sharing
Wanting To Share A User Folder With All Users Network & Sharing


All times are GMT -5. The time now is 07:22 PM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32