emmanuelbeaudet
Programmer
There is a systeme variable who contain the root drive that I can use in vbscript to get the root directory ?
thank you
thank you
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
wscript.echo ShowRootFolder("c:")
Function ShowRootFolder(drvspec)
Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.GetDrive(drvspec)
ShowRootFolder = f.RootFolder
End Function