|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
I have 50 shares on a server, \\server\share1 , \\server\share2 , ...,\\server\share50
I could statically add the names of each 50 shares to run on my script but I don't want to do that. Is there a way to retrieve all network shares dynamically/programmatically? Here's what I have so far: Code:
Dim names as ArrayList names = New ArrayList() names.add(\\crwfs1\CMSOPEN) 'manually entered names.add(\\crwfs1\Correspondence) names.add(\\crwfs1\Data) Dim strItem as String For Each strItem In names ListDirs(strItem) Next |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Retrieve Network Shares? HELP!!! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|