Hey hey... God damn thanks !
Sometime we lost so much times looking for simple things...
I forget to follow my own rules... Looks for simple solution first !
Thanks a lot to bring me back to the right track !
It's so simple now !
FileName = "c:\ThinLogs\" + SandboxName + ".txt"
if Not filesys.FileExists(FileName) Then
MsgBox "!!! Attention !!!" & vbCrLf & "The first time use may take severals seconds to open databases." & vbCrLf & vbCrLf &"La première utilisation peu prendre plusieurs secondes à ouvrir les bases de données."
End If
'MsgBox FileName
Set filetxt = filesys.CreateTextFile(FileName, True)
filetxt.WriteLine("True")
filetxt.Close
And I create the directory
%drive_C%\ThinLogs
create the files ##Attributes.ini
DirectoryIsolationMode=WriteCopy
Now my Boss want a licence tracking and software usage.
I'm thinking to create an SQL database and insert a vbscript that will insert a line into this SQL database, So after that, he will be able to generate report.