in reply to Find Replace into a subroutine

Could you explain what it is you are trying to do, because that code dose not make any sense to me.

What are those system calls to ss.exe for? There seems to be two different ss.exe on windows are the correct one in your path?
SmoothSurfer (ss.exe) is a popup advertisement blocker.
and
Visual SourceSafe (VSS) is a client/server application which acts as a storage system for files.

You obviously wants the second one but you are trying to checkin/checkout a file named "$rc_file1" instead of whatever is in $rc_file1.