Quantcast
Channel: All Network and Storage Protocols posts
Viewing all articles
Browse latest Browse all 2151

Re: How to create multiple folders(100) and a text file within one UNC path.

$
0
0

Hi Teresa,

 

Have you considered implementing DFS? Does your application support accessing a DFS link?

Using a DFS namespace to access the data will enable you to abstract the actual UNC Path of the CIFS share.

So if i understand your requirement, folder 00-09 would be created in volume1, folders 10-19 in volume2 etc. You would then configure DFS to something like:

 

\\domain.com\audio

  • \\domain.com\audio\00 = \\vserver1\volume1\00 (DFS Link = DFS Target)
  • \\domain.com\audio\01 = \\vserver1\volume1\01

...

 

  • \\domain.com\audio\10 = \\vserver1\volume2\10
  • \\domain.com\audio\11 = \\vserver1\volume2\11

This approach would require you to setup and configure DFS for the 100 folders (DFS Links\Targets) which is a bit of work but it can easily be scripted using dfsutil.exe or powershell cmdlets. Hope that helps

 

/Matt


Viewing all articles
Browse latest Browse all 2151

Latest Images

Trending Articles



Latest Images