Microsoft VBScript runtime error '800a0034'

Microsoft VBScript runtime error '800a0034'

Bad file name or number

I'm trying to create a new folder
the path seems ok why ?
jonnygrantAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
mgfranzConnect With a Mentor Commented:
You know if you are using the FSO to create folders of files you must use an absolute path as your var;

Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.CreateFolder("c:\New Folder")

But I agree with denam, it would help if you post your code.

Are yo sure you are using VBScript and not Jscript?  Just for giggles, try this, replace the \ in your path with \\.

Mark
0
 
denamCommented:
jonny can you post your code?

Dena
0
All Courses

From novice to tech pro — start learning today.