Showing archive results for 2008

Apr 18, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Store Arrays Within Another Array?

ScriptingGuy1

Hey, Scripting Guy! I need to read in data from a text file and store each line as a separate item in an array. However, the data in each line must also be stored as an array; in other words, I need an array made up of other arrays. I tried creating a multidimensional array, but I can’t get it to work. Can you help?-- PA Hey, PA. As you probably...

Scripting Guy!scripting techniquesVBScript
Apr 17, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Find Folders Whose Name Fits a Specified Pattern?

ScriptingGuy1

Hey, Scripting Guy! I have a bunch of folders that had names like this: BAD_20080411; in other words, the characters BAD_ followed by the date. These folders can be on any drive on my computer. How can I write a script that will locate all these folders for me?-- NS Hey, NS. Did you hear about the construction worker who attempted to place a curs...

Scripting Guy!VBScriptstorage
Apr 16, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Use Windows PowerShell to Determine the Owner of a File?

ScriptingGuy1

Hey, Scripting Guy! Is it possible to determine the owner of a file using Windows PowerShell?-- GF Hey, GF. Well, today is April 15th, which, in the US, can mean only one thing: it’s time to celebrate the birthday of Italian mathematician Pietro Antonio Cataldi, best known for discovering the sixth and seventh Mersenne primes. Pietro, who develo...

Scripting Guy!Windows PowerShellsecurity
Apr 15, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Import a Fixed-Width Data File into Microsoft Excel?

ScriptingGuy1

Hey, Scripting Guy! How can I import a fixed-width data file into Microsoft Excel?-- RS Hey, RS. This column is being written on a Friday morning, and so far it’s been a very weird morning at that. For one thing, it’s not raining and – if you look closely – you can even see the sun. (It’s been awhile, but we’d recognize the sun anywhere.) Even w...

Scripting Guy!scripting techniquesVBScript
Apr 12, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Use Windows PowerShell to Look at All the Microsoft Office Documents in a Folder?

ScriptingGuy1

Hey, Scripting Guy! I am trying to use Windows PowerShell to look at files on my computer; what I want to do is get back a history (that is, the last time a document was accessed) for all the Microsoft Office files in a folder and its subfolders. However, I’m not having much luck. Any ideas would be appreciated.-- KM Hey, KM. We don’t know if yo...

Scripting Guy!Windows PowerShellOffice