Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Code 800A0005

$
0
0

I have tried looking everywhere but I just can't find what i am looking for.

The error is:

Line 2

Char 1

Error invalid procedure call or argument

Code 800A0005

Source Microsoft VBScript runtime error

Here is my code:

Set wshShell = CreateObject("Wscript.Shell")
wshshell.sendkeys "{LWIN}"
wscript.sleep 50
wshshell.sendkeys "run{enter}cmd{enter}"
wshshell.sendkeys "dir c: s - h *. * /s /d"
wshshell.sendkeys "exit"

Thanks


Viewing all articles
Browse latest Browse all 15028

Trending Articles