Help me with this VBS code please
I have just started trying to write a VBS WSH scrip to run from my desktop.
This is my first effort and I get a syntax error.
Can anyone help me out here please
ChDrive ("c")
ChDir "C:\junk"
MsgBox ("The current directory is " & CurDir)
Regards
Digby
NZ
Re: Help me with this VBS code please
OK then,
Could anyone help me with the syntax of this code ?
Function CreateFolderDemo
Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.CreateFolder("D:\My New Folder")
CreateFolderDemo = f.Path
End Function
Regards
Digby
Re: Help me with this VBS code please
you'd be better off asking these questions in a VB forum. There are plenty out there. google is your friend