Remove the following:
for /f "Tokens=1*" %%a in ('type %namep%^|findstr /I /L /C:"+File"') do (
if not exist "%%b" MD "%%b"
)
for /f "Tokens=1*" %%a in ('type %namef%^|findstr /I /L /C:"+File"') do (
if not exist "%%b" MD "%%b"
)
On Fri, 11 Nov 2005 07:46:10 -0800, Yianni <(E-Mail Removed)> wrote:
>How you execute the script to copy permissions from file server into a new
>file server where the folder hierarchy allready exist. Thank you
>
>"Jerold Schulman" wrote:
>
>>
>> The script in tip 8587 in the 'Tips & Tricks' at http://www.jsifaq.com does that.
>>
>>
>> On Thu, 10 Nov 2005 06:45:13 -0800, Yianni <(E-Mail Removed)> wrote:
>>
>> >It is a good idea, but i allready have the folder structure transfer and the
>> >data copied. I want to to copy permissions and shares form my old files
>> >server. is there a way to do it through your script. I appreciate your help.
>> >
>> >"Jerold Schulman" wrote:
>> >
>> >> On Wed, 9 Nov 2005 16:37:04 -0800, Yianni <(E-Mail Removed)> wrote:
>> >>
>> >> >is there a way to creating multiple files shares and copy permissions on a
>> >> >remote server. I replicate the data allready and i want to create the shares
>> >> >and permissions into a remote server by using a script. Is ti possible? i
>> >> >have exported all the shares into a .cvs file.
>> >> >Thanks
>> >>
>> >>
>> >> See tip 8587 » How can I transfer a folder structure, shares, and permissions?
>> >> in the 'Tips & Tricks' at http://www.jsifaq.com
>> >>
>> >> Jerold Schulman
>> >> Windows Server MVP
>> >> JSI, Inc.
>> >> http://www.jsiinc.com
>> >> http://www.jsifaq.com
>> >>
>>
>> Jerold Schulman
>> Windows Server MVP
>> JSI, Inc.
>> http://www.jsiinc.com
>> http://www.jsifaq.com
>>
Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com