Showing tag results for scripting techniques

Jan 23, 2007
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Create A New Folder Using a Name Based on the Current Date?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I create a new folder each night, using a folder name based on the current date?-- DM Hey, DM. In answer to your unasked question, no, the Scripting Guy who writes this column did not get selected to sit on a jury; as a result, he’s back to work, and back to writing this column. And, no, we don’t know why ...

Scripting Guy!scripting techniquesVBScript
Jan 17, 2007
Post comments count0
Post likes count0

How Can I Delete Just the IP Addresses From Each Line in a Text File?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I have a file that has IP addresses and server names on each line. How can I delete the IP addresses, leaving just the server names?-- RR Hey, RR. In case you’re wondering, as we’re writing today’s column temperatures are still right around freezing and there’s still snow and ice everywhere you look. Admittedly, many of you a...

Scripting Guy!scripting techniquesVBScript
Jan 12, 2007
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Subtract Days From a UTC Date-Time Value in Windows 2000?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! On a Windows 2000 computer, how can I subtract days from a UTC date-time value?-- KP Hey, KP. Yes, we do blame all of this on Scripting Guy Dean Tsaltas. The Scripting Guy who writes this column has known Dean for six years now, and Dean has spent those entire six years complaining about the weather in the Seattle area. Not b...

Scripting Guy!scripting techniquesVBScript
Jan 11, 2007
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Take Action Based on the First Line of a Text File?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I read the first line of every file in a folder and then move each file if the line contains thisdomain.com or thatdomain.com?-- AZ Hey, AZ. We’ll get to your question in a moment. However, before we do that we have something important to say: flight of cheeses. OK, we can go on now. Thanks for waiting. What&rsq...

Scripting Guy!scripting techniquesVBScript
Jan 4, 2007
Post comments count0
Post likes count0

How Can I Number the Lines in a Text File?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I number the lines in a text file?-- AS Hey, AS. You know, after being on vacation for three weeks the Scripting Guy who writes this column has a lot of catching up to do. In turn, that means that you have a lot of catching up to do. For example, did you know that the Seattle area experienced a huge power outage short...

Scripting Guy!scripting techniquesVBScript