Windows Cookbook: 1.34.2
Node : Windows 2012
I’ve encountered a scenario where after the windows_path resource is ran in a Chef run, other resources can’t find items currently on the Windows path. For example the batch resource fails with “STDERR: ‘cmd.exe’ is not recognized as an internal or external command.” If you don’t have the windows_path resource in your recipe, the batch resource can find the cmd command on the path.
Has anyone seen this?
CONFIDENTIALITY NOTICE: This electronic mail may contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s). Any dissemination or use of this electronic mail or its contents by persons other than the intended recipient(s) is strictly prohibited. If you have received this communication in error, please notify the sender immediately by reply e-mail so that we may correct our internal records. Please then delete the original message. Thank you.