Hi Guy and Gals,
I hope one of you smarties... out there can help me with this. I am working on a project to automate the installation of a task that I do everytime I install SBS at a client site, I created a script to acomplish that but it's not working as desired. here is a sample of my script
cls
@ECHO OFF
ECHO.
start %systemdrive%\IMFArchiveManager\readme.doc
xcopy %systemdrive%\IMFArchiveManager\spam\*.* /S /I /Y C:\Inetpub\wwwroot\spam
pause
ECHO.
start /wait %systemdrive%:\IMFArchiveManager\xcacls.exe %systemdrive%\Program Files\Exchsrvr\Mailroot\vsi 1 /E /G Users:F
ECHO.
ECHO Applying Registry settings...Please wait...........
for %%i in (%systemdrive%\IMFArchiveManager\*.reg) do start /wait REGEDIT /S %%i
ECHO.
exit
I want to create a script to acomplish the following:
1)Indentify all the drives letters on the systems, before it coping files.
2) Prompt you where you want to copy the IMFArchiveManager folder.
next....
3) Copy IMFArchiveManager folder and all the files to selected drive
next....
4) Verify on what drive is Inetpub\wwwroot directory setup .
next...
5)Spam directory and files from IMFArchiveManager folder to Inetpub\wwwroot directory
next...
6) Verify in what drive is the Exchsrvr\Mailroot\vsi 1 folder located
next...
7) run xcalcls.exe and set Full control to specified group (Domain users).
next...
8) Run command to install reg file...
next...
9) call another script to create an application for the Spam folder and desible anonymous permissions on IIS
I know it sounds complicated, and it's for me, but I noticed some very smart people replying with very good solutions to others asking similar questions. I hope someone can provide me with a sample or guide me to resource place where I could find the answer my self. I appreciate your time reading and working on this for me.
Sincerely,
Dtek...
LB