Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CreateObject and Win7

1 view
Skip to first unread message

bg

unread,
Jul 15, 2010, 10:55:35 AM7/15/10
to
Hi, I'm trying to execute the following line of code. It was compiled
on XP, and works on XP, but does not work on Windows 7

Dim shell
Set shell = CreateObject("wscript.shell")
shell.run "myfile.bat"
Set shell = Nothing

Any advice? Thanks.

0 new messages