> strPath = "\\Server\Database\CKS\Data\" & Me.JobNo
> If Len(Dir(strPath, vbDirectory)) = 0 Then
> MkDir (strPath)
> MkDir (strPath & "\Services") ' should do it
>
> End If
> Shell "explorer.exe " & strPath, vbNormalFocus
>
> --
> Pieter Wijnen
>
> My feeble Access pages (good links though)
>
http://www.thuleeng.com/access> When all else fail try:
>
http://www.mvps.org/access>
http://www.granite.ab.ca/>
http://allenbrowne.com/>
http://www.lebans.com/>
>
> "bilbo+" <bilbo[ at ]discussions.microsoft.com> wrote in message
> news:28BFB059-E02A-420B-85D5-15BDE76D59C6[ at ]microsoft.com...
>> Hi there, i have just used this code to create a folder using a field
>> name
>> Dim strPath As String
>>
>> strPath = "\\Server\Database\CKS\Data\" & Me.JobNo
>> If Len(Dir(strPath, vbDirectory)) = 0 Then
>> MkDir (strPath)
>> End If
>> Shell "explorer.exe " & strPath, vbNormalFocus
>>
>> However i want to create more folders in the directory but have been
>> unsuccessful in my attempts, for example, in the newly created folder i
>> want
>> to also put a 'Services' fo9lder in there, but i am struggling to do it,
>> any
>> help much appreciated, thanks WK
>
> --------------------------------------------------------------------------------
> I am using the free version of SPAMfighter for private users.
> It has removed 4868 spam emails to date.
> Paying users do not have this message in their emails.
> Try SPAMfighter for free now!
>
>