Showing tag results for scripting techniques

Oct 28, 2004
Post comments count0
Post likes count0

How Can I Create a CSV File?

ScriptingGuy1

Hey, Scripting Guy! How can I create a CSV file?-- LF Hey, LF. For those of you who aren’t up on your acronyms, CSV is short for comma-separated-values file, a text file in which individual elements are separated by commas. For example, say you have a CSV file consisting of user first names, last names, and job titles; that file might look somet...

Scripting Guy!scripting techniquesVBScript
Oct 25, 2004
Post comments count0
Post likes count0

How Can I Send Data from One Script to Another?

ScriptingGuy1

Hey, Scripting Guy! A while back you showed how we could use the InputBox function to prompt a user to enter a value we could then use in our script. What I’d like to know is, is there any way I can take that value and use it in another script?-- JW Hey, JW. We’re guessing here, but apparently you’d like to have a script that, among other things...

Scripting Guy!scripting techniquesVBScript
Oct 22, 2004
Post comments count0
Post likes count0

How Can I Display a Hyperlink in a Message Box?

ScriptingGuy1

Hey, Scripting Guy! Is it possible to have a hyperlink to a Web page in a message box?-- CB Hey, CB. Sounds like you want to display a message box to users and, ideally, you’d like to include a hyperlink they could click on for more information. For example, suppose a user tried to access some resource and was turned away. In a case like that, y...

Scripting Guy!scripting techniquesVBScript
Oct 18, 2004
Post comments count0
Post likes count0

How Can I Pick Out and Save Specific Lines in a Text File?

ScriptingGuy1

Hey, Scripting Guy! I’d like to be able to read through a text file, select the lines that begin with a particular word (like Failure), and then save only those lines back to the same text file. Is there any way to do that?-- AC Hey, AC. Hey, AC. For simplicity’s sake, we’re assuming you have a text file that looks similar to this:Success - Oper...

Scripting Guy!scripting techniquesVBScript
Oct 14, 2004
Post comments count0
Post likes count0

How Can I Determine if My Users Have Certain Files on Their Computers?

ScriptingGuy1

Hey, Scripting Guy! Is it possible to search a computer for .MP3 files or other files my users aren’t supposed to have?-- AK Hey, AK. Once again it’s WMI to the rescue. Using the CIM_DataFile class it’s easy to search a computer for specific file types. Want to know if your users have any .MP3 files lying around? Then just use a script similar t...

Scripting Guy!scripting techniquesVBScript