PHM - Top Man....sorted......
Am just learning so i will prob need more help :)
Does anyone know where there are examples of code i can look at or any good documentation...
cheers
Chris
Hi
can anyone tell me the syntax to create a new directry on my c drive.
I've tried Dim di
Set di=Directory.CreateDirectory("C:\mydir")
and i get an error...
Object Required: 'Directory'
MakeItSo
when i try your way i get an error on line 2
Object required : 'Directory'
code 800A01A8
am i in the wrong forum ??
whats the difference between VBscript and VB6 ?
If i remove the apostrophe i get a Windows Script Host error.
Line 1 Char 8
Error : Expected end of statement
Code 800A0401
Source : Microsoft VBScript compilation error
Hi, i'm new to this game and am trying to create directories in a script... i used the code below but it dont work....any ideas ??
' Try to create the directory.
Dim di 'As DirectoryInfo = Directory.CreateDirectory("C:\mydir")
cheers chris
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.