ASP Create Folder and Subfolder Question
Hi, I got myself tangled in a web here..
I am trying to create a folder and a sub-folder at the same time using FileSystemObject.
The problem is that I am creating the first folder based on a variable (strUserName).. and I need to create a sub-folder within whatever that variable is..
Am I in big trouble here or is there a solution to this one?
The code below just makes the "sub-folder" outside the folder I need it in..
'Create an instance of the FileSystemObject
'Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
'If Not objFSO.FolderExists("e:\kunden\homepages\21\ d104772\mysite\members\uploads\" & strUserName & "sub-folder") then
'objFSO.CreateFolder("e:\kunden\homepages\21\d104772\mendimusic\members\uploads\" & strUserName & "sub-folder")
Last edited by theflyingminst; 02-16-2008 at 07:35 PM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)