i'm new to programming,
i have the next code to try and run a specific file from the current directory.
the msgbox show the recognizing of the path,
but, the debugger say that the system cannot find the specified file.
please HELP
Tnx
Shabi
'Code
dim fso
dim curDir
dim WinScriptHost
set fso = CreateObject("Wscript.Shell")
Set WinScriptHost = WScript.CreateObject("WScript.Shell")
curDir = fso.CurrentDirectory & "\"
MsgBox "CurrentDirectory=" & curDir
WinScriptHost.Run curDir & "Config.vbs", 2, False
WScript.Sleep 1000
set WinScriptHost = nothing
set fso = nothing