sireesh Posted September 15, 2011 Report Share Posted September 15, 2011 Hi Experts,I am facing an issue with strsub command in my batch file.When I am running the below command from the batch file :strsub -s -d *.sql #WWF_USER# current_userI am getting the below message'strsub' is not recognized as an internal or external command,operable program or batch file.What should I do to fix this. The same batch file is running fine on the Windows 2003 server.Please let me know if there is any patch that I should apply to overcome this issue.Note: I have cygwin and perl installed in my system.RegardsSireesh Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted September 17, 2011 Report Share Posted September 17, 2011 strsub is not a Windows function. Where on the Windows2003 server is strsub(.exe) located? Quote Link to comment Share on other sites More sharing options...
sireesh Posted September 18, 2011 Author Report Share Posted September 18, 2011 Thanks for your reply. I was unable to find strsub.exe in my system. Can you please let me know the equivalent of strsub, which can be used to replace one string with another string in all the files in a specified location Using Batch scripting. RegardsSireesh Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.