windows-scripting

Need information on windows scripting and supporting scripting in my C# application

I'm trying wrap my head around all of the different scripting technologies for Windows (what are they, and which are the most common) and ultimately to figure out what type of scripting to add to my application. I've read that with .NET 4 it's easy to make your program scriptable via dynamic languages like IronRuby and IronPython (or ev...

Command Line Script to Delete Header Row from a number of TXT files.

What's the best method to delete the first line of text from a large (10k+) group of text files. ...

.bat Find and Replace text

I have some files that contain some of if not all of the following: Program RxBIN RXPCN RxGroup MemberID not all files will have all of those headers but the ones that do I will need to replace so it looks like this: @Program @RxBIN @RXPCN @RxGroup @MemberID Thanks in Advance, Joe ...

.bat If Then Statement

I need help with writing a batch script for if file newfile.txt exists then del "InDesignData.txt" ren "newfile.txt" "InDesignData.txt" Thanks in advance, Joe ...

.bat Find and Rename

I have outputted some text files all in the same directory. Each .txt file has within a group number, this number always starts with RXC and can go upwards of 5 characters afterwards, giving us RXCXXXXX i need the script to find this RXC number and rename the file to its corresponding group number, then do the same for all files in the s...

.vbs Help me loop this through a directory

I have written a script that works. What it does now is it looks through a directory to a given file and returns what is on the second row fourth tab (RXC193) and renames the file to that of which it found from a file like this: @Program @RxBIN @RXPCN @RxGroup @MemberID @WebsiteE @WebsiteS @VerticalLogo @TextLogo RXCUT ...

Ready registry values from Windows Scripting Components

I'm trying to write a Windows Scripting Component (WSC) which is referenced in a webpage and needs to read a single registry value. I use the WScript.Shell object for RegRead. On Vista (with UAC) my component is only loaded when I mark WScript.Shell as SafeForScripting (via HKCR\CLSID{72C24DD5-D70A-438B-8A42-98424B88AFB8}\ImplementedC...

Recursively create shortcuts in a folder(XP)

1> I have folder inside folders structure. 2> I want to recursively create shortcut to every file. the shortcuts must be place inside the same named folders, that it is at its source. 3> Summary: same folder structure...just shortcuts in place of files Any ideas will be appreciated. ...