Cant find out why this doesnt work!

The following works...
Code:
'CREATE FOLDERS TO STORE THE DOWNLOADED FILES
Private Sub createfolders()
    MkDir "c:\config\audio"
    MsgBox "folders done"
End Sub
But this wont!

(The folders.dat file contains
Code:
c:\config\audio
) The msgbox displays the correct path, so it is reading it correctly. I get a 'Runtime Error 76: Path not found' error...

Code:
'CREATE FOLDERS TO STORE THE DOWNLOADED FILES
Private Sub createfolders()
    Open "C:\config\folders.dat" For Input As #1
        Input #1, data
        path = data
        MkDir path
        MsgBox (path)
        Close #1
    MsgBox "folders done"
End Sub
Thyanks