Hello,
Please help. Is there a script that can list all share from a server listed
in a text file that will include the share permissions and ntfs permissions?
Hello,
Please help. Is there a script that can list all share from a server listed
in a text file that will include the share permissions and ntfs permissions?
Just modify this to include the looping of your text file and replace the
<servername>
<batch>
@ECHO OFF
for /f "Skip=4 Tokens=1" %%p in ('rmtshare \\<servername>') do (
CALL :GETPERMS %%p
)
GOTO END
:GETPERMS
if "%1" neq "The" (
echo ========================================
echo ========================================
rmtshare \\<servername>\%1
)
:END
</batch>
"geniiw" wrote:
> Hello,
>
> Please help. Is there a script that can list all share from a server listed
> in a text file that will include the share permissions and ntfs permissions?
>
Thank you so much for help. But Is this script in VBScript? and if so how
can this be implemented via text file?
"J Ford" wrote:
> Just modify this to include the looping of your text file and replace the
> <servername>
>
> <batch>
> @ECHO OFF
> for /f "Skip=4 Tokens=1" %%p in ('rmtshare \\<servername>') do (
> CALL :GETPERMS %%p
> )
> GOTO END
> :GETPERMS
> if "%1" neq "The" (
> echo ========================================
> echo ========================================
> rmtshare \\<servername>\%1
> )
> :END
> </batch>
>
> "geniiw" wrote:
>
> > Hello,
> >
> > Please help. Is there a script that can list all share from a server listed
> > in a text file that will include the share permissions and ntfs permissions?
> >
No it's a regular window .BAT file. RMTSHARE is a command line utility from
MS.
ftp://ftp.microsoft.com/bussys/winnt...86/RMTSHAR.EXE
"geniiw" wrote:
> Thank you so much for help. But Is this script in VBScript? and if so how
> can this be implemented via text file?
>
> "J Ford" wrote:
>
> > Just modify this to include the looping of your text file and replace the
> > <servername>
> >
> > <batch>
> > @ECHO OFF
> > for /f "Skip=4 Tokens=1" %%p in ('rmtshare \\<servername>') do (
> > CALL :GETPERMS %%p
> > )
> > GOTO END
> > :GETPERMS
> > if "%1" neq "The" (
> > echo ========================================
> > echo ========================================
> > rmtshare \\<servername>\%1
> > )
> > :END
> > </batch>
> >
> > "geniiw" wrote:
> >
> > > Hello,
> > >
> > > Please help. Is there a script that can list all share from a server listed
> > > in a text file that will include the share permissions and ntfs permissions?
> > >
"J Ford" wrote:
> No it's a regular window .BAT file. RMTSHARE is a command line utility from
> MS.
> ftp://ftp.microsoft.com/bussys/winnt...86/RMTSHAR.EXE
>
>
>
> "geniiw" wrote:
>
> > Thank you so much for help. But Is this script in VBScript? and if so how
> > can this be implemented via text file?
> >
> > "J Ford" wrote:
> >
> > > Just modify this to include the looping of your text file and replace the
> > > <servername>
> > >
> > > <batch>
> > > @ECHO OFF
> > > for /f "Skip=4 Tokens=1" %%p in ('rmtshare \\<servername>') do (
> > > CALL :GETPERMS %%p
> > > )
> > > GOTO END
> > > :GETPERMS
> > > if "%1" neq "The" (
> > > echo ========================================
> > > echo ========================================
> > > rmtshare \\<servername>\%1
> > > )
> > > :END
> > > </batch>
> > >
> > > "geniiw" wrote:
> > >
> > > > Hello,
> > > >
> > > > Please help. Is there a script that can list all share from a server listed
> > > > in a text file that will include the share permissions and ntfs permissions?
> > > >
have tried to download rmtshar.exe / rmtshare.ext from ms's ftp server but
get page not available.
Any idea where else to get it from.
almost immediately found it at
http://www.petri.co.il/download_free_reskit_tools.htm
with lots of other goodies
Bookmarks