Login | |
|
 |
RE: New ... - 9/13/2005 7:25:34 AM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1184
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
|
1.) Set yourself simple tasks, such as "I wanna move this file from here to there" and then do a Google search for "vbscript file move" and check out the results. 2.) Change the task and repeat #1. Scripting is really just a series of simple tasks all strung together to form a complex chain. So if you learn the simple stuff to the point where you don't have to refer backt o a book before doing something, just take that knowledge and string a whole bunch of simple tasks together.
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
 |
RE: New ... - 9/13/2005 7:37:49 AM
|
|
 |
|
| |
Country73
Posts: 733
Score: 10
Joined: 8/25/2004
From: USA
Status: offline
|
Welcome, The best thing to start out with is posting the script your working on, state what the script is "supposed" to do, and what problem you're running into with it. If you're getting an exact line error, then be sure to point that specific line out in bold or in a different color so that we will be able to locate it.
|
|
| |
|
|
|
 |
RE: New ... - 9/13/2005 7:49:37 AM
|
|
 |
|
| |
Country73
Posts: 733
Score: 10
Joined: 8/25/2004
From: USA
Status: offline
|
Which one's are you having issues with? It's possible that you don't have the right version of VBS on your machine, you don't have the proper rights on you machine, etc...
|
|
| |
|
|
|
 |
RE: New ... - 9/13/2005 8:07:07 AM
|
|
 |
|
| |
ebgreen
Posts: 5069
Score: 31
Joined: 7/12/2005
Status: online
|
Your best bet is to: quote:
ORIGINAL: Country73 Welcome, The best thing to start out with is posting the script your working on, state what the script is "supposed" to do, and what problem you're running into with it. If you're getting an exact line error, then be sure to point that specific line out in bold or in a different color so that we will be able to locate it.
|
|
| |
|
|
|
 |
RE: New ... - 9/13/2005 10:48:02 PM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
Along with posting the script, are you running this locally or remotely? What OS is installed on the system(s)?
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
 |
RE: New ... - 9/13/2005 11:41:39 PM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1184
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
|
Sorry, I misunderstood the question. Thought that you were asking for generic advice on "How do I start scripting?" The other folks are right. The best thing to do is to paste the script that you currently have, color the script's text differently so that we can easily amke it out, and then we'll try to figure out what's going wrong. Again, sorry for the misunderstanding.
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
 |
RE: New ... - 9/14/2005 12:06:44 AM
|
|
 |
|
| |
Country73
Posts: 733
Score: 10
Joined: 8/25/2004
From: USA
Status: offline
|
Do you have the Adminpak installed on this machine?
|
|
| |
|
|
|
 |
RE: New ... - 9/14/2005 12:11:31 AM
|
|
 |
|
| |
Zifter
Posts: 318
Score: 0
Joined: 1/5/2005
From: Belgium
Status: offline
|
I tested your code and it ran without errors. I got the following (expected) output: Application Security System The error code you have, means the following (from MSDN): http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/wmi_error_constants.asp WBEM_E_PROVIDER_LOAD_FAILURE 0x80041013 COM cannot locate a provider referenced in the schema. This error may be caused by any of the following: - Provider is using a WMI DLL that does not match the .lib file used when the provider was built.
- Provider's DLL, or any of the DLLs on which it depends, is corrupt.
- Provider failed to export DllRegisterServer.
- In-process provider was not registered using the regsvr32 command.
- Out-of-process provider was not registered using the /regserver switch.
|
|
| |
|
|
|
 |
RE: New ... - 9/14/2005 1:03:43 AM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
What OS are you running this on?
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
 |
RE: New ... - 9/14/2005 1:23:57 AM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1184
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
|
Do you get that error regardless of what machine you run the script on? Have you tried running it on other machines? Maybe that one computer has a corrupt DLL or two...
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
 |
RE: New ... - 9/14/2005 4:35:26 AM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1184
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
|
Pretty muche very language that you will be coding in has its own set of rules for syntax, etc.
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
|
|