'objWshShell.Exec
- From: "Kevin Wheeler" <kevin.wheeler@xxxxxxxxxx>
- Date: Tue, 10 Jan 2006 09:44:30 -0500
Can someone please tell me whats wrong with this line of code?
Set objShellExecSet = objWshShell.Exec("cmd.exe /c set|find /i " & Chr(34) &
"SystemDrive" & Chr(34))
I'm getting the following error when running it from a Windows 2000 OS. It
works fine on XP.
(90, 2) Microsoft VBScript runtime error: Object doesn't support this
property or method: 'objWshShell.Exec
Kevin
.
- Follow-Ups:
- Re: 'objWshShell.Exec
- From: Michael Harris \(MVP\)
- Re: 'objWshShell.Exec
- From: Trevor
- Re: 'objWshShell.Exec
- From: /\\/\\o\\/\\/ [MVP]
- Re: 'objWshShell.Exec
- Prev by Date: RE: Reboot Script for Group Policy?
- Next by Date: Re: Why can't I open two files in my script
- Previous by thread: Understanding Script.
- Next by thread: Re: 'objWshShell.Exec
- Index(es):
Relevant Pages
|