«

»

Print this Post

rm is not recognized as an internal or external – OHS startComponent.cmd and stopComponent.cmd

If you installed OHS 12.1.2.0 on Windows then you might run into this issue when attempting to use the startComponent.cmd and stopComponent.cmd commands:

startComponent.cmd and stopComponent.cmd return rm is not recognized as an internal or external...

 

This is a bug (BUG 17276497). Pretty simple fix:

  1. edit the startComponent.cmd and stopComponent.cmd files in DOMAIN\bin
    Replace the following line:

    if exist %PY_LOC% (
    rm -f %PY_LOC%
    )

    With this line:

    if exist %PY_LOC% (
    del %PY_LOC%
    )

About devnumbertwo

IT consultant, software developer, technical writer, nba basketball spectator, tea (and occasionally coffee) drinker, cheese enthusiast, dog lover, and a person who once spotted heather locklear at the mall. chiggity check me out on twitter and
rm is not recognized as an internal or external – OHS startComponent.cmd and stopComponent.cmd was last modified: June 16th, 2014 by devnumbertwo

Permanent link to this article: http://devnumbertwo.com/rm-is-not-recognized-as-an-internal-or-external/