Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to do some more or less easy replacements in certain files on Windows machines. This is part of an automated software build process, so to be able to reproduce it on all build mashines I absolutely have to rely on tools that are part of windows Windows Vista and Windows 7. No additional software installation (even if it just requires copying onto the mashine) is possible.

I just need to replace one guid with another and additionaly replace a part-string another easy to recognize pattern.

What would you suggest? Are there any easy commandline-only tools to do that in windows or do I have to write a powershell script? If the latter, do you have a good reference on powershell (never used it? ).

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I would recommend you to use Windows PowerShell. It's part of the OS since Windows Vista and Windows 7 (can be also installed on Windows XP). PowerShell is a really powerfull object oriented scripting evironment, based on the .NET Framework, for the Windows operating system (simillar to the Linux Bash). There is a lot of documentation availible from Microsoft on how to use PowerShell.

There is also a good free PowerShell Book availible here.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.