Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - How to edit the description of shares using command-line or vbscript?

Reply
 
Old 05-26-2009   #1 (permalink)
Carlos Felipe França da Fonseca


 
 

How to edit the description of shares using command-line or vbscript?

I have about 50 Microsoft Windows 2000/2003 servers with one specific share
that needs to have its description edited.
All I need is to edit the description.
Is there any way to do it using command-line (such as rmtshare) ou vbscript.
I'm going to create something to do it automatically rather than access each
server and modify each share description.

Thanks,

Felipe


My System SpecsSystem Spec
Old 05-26-2009   #2 (permalink)
Luuk


 
 

Re: How to edit the description of shares using command-line or vbscript?

Carlos Felipe França da Fonseca schreef:
Quote:

> I have about 50 Microsoft Windows 2000/2003 servers with one specific
> share that needs to have its description edited.
> All I need is to edit the description.
> Is there any way to do it using command-line (such as rmtshare) ou
> vbscript.
> I'm going to create something to do it automatically rather than access
> each server and modify each share description.
>
> Thanks,
>
> Felipe
NET SHARE <sharename> /REMARK:"your new description"

(use: "NET SHARE /?" for more info)

--
Luuk
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Use VBScript to Set Local Computer Description Vista General
Use VBScript to Set Local Computer Description VB Script
Running a command from inside a script, command line is corrupted PowerShell
What is the command line command for unzipping files? Vista General
Command Line Ren (Rename) command broken? Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, 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 33 34 35 36 37 38 39 40 41 42 43 44 45 46