Change Save and submit batch script

Closed
kenkanya Posts 1 Registration date Monday March 23, 2009 Status Member Last seen March 24, 2009 - Mar 24, 2009 at 08:56 AM
jad05 Posts 37 Registration date Saturday July 12, 2008 Status Contributor Last seen November 30, 2021 - Mar 24, 2009 at 10:23 AM
Hello,


OS - Windows Server 2003/ Windows XP

Is there a way to write a batch script for the following

I have a file in a specific directory
environmentsetup.bat is a batch script already

I want to make some changes, save it and submit the same.

From
hubURL=//www.mylogo.com:80/PSEMHUB/hub

To
hubURL=//www.onprod.com:8001/PSEMHUB/hub


From
testdir=C:\fdm_881\EMAgent

to
testdir=D:\fdm_881_c331\EMAgent

Is there anyway i can change the contents in the file, without going manually by opening in edit mode and making changes and then saving it and then running the same.

thanks
Related:

1 response

jad05 Posts 37 Registration date Saturday July 12, 2008 Status Contributor Last seen November 30, 2021 1,852
Mar 24, 2009 at 10:23 AM
hello just take a look in the faq about servers
0