codewalker has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.
  • Comment on OT: To make changes in same file in subdirectory in folders by using xslt in Batch file
  • Select or Download Code

Replies are listed 'Best First'.
Re: OT: To make changes in same file in subdirectory in folders by using xslt in Batch file
by Corion (Patriarch) on Nov 24, 2015 at 10:45 UTC

    Have you considered using Perl for this task?

    See system, File::Find or File::Glob::bsd_glob.

    Also, you will need to learn about how files work in general. It is unwise to try to write to a file of the same name as a file you are trying to read from.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: OT: To make changes in same file in subdirectory in folders by using xslt in Batch file
by VinsWorldcom (Prior) on Nov 24, 2015 at 20:20 UTC

    I don't understand how you are using "snapid.xsl" to make changes when you're using an output redirection (>) from the Java script. Do you mean to use a pipe (|); otherwise, methinks the output from the Java command will overwrite the contents of '.\Script\snapid.xsl'.