Skip to content
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.

Generate _env.cmd file instead of bat file for consistency. #469

Conversation

pagebrooks
Copy link
Contributor

The RefreshEnv.cmd script generates a _env.bat file. I changed the script to generate a cmd file for consistency.

I was lead to make this change because I found that some organizations use group policy to block the execution of bat files in %TEMP%, but do not block the execution of cmd files. This might just be an oversight in the group policy configuration, but I figure it wouldn't hurt to use the newer "cmd" convention, especially if it isn't blocked.

@ferventcoder
Copy link
Contributor

Supercedes #468

ferventcoder added a commit that referenced this pull request May 6, 2014
Generate _env.cmd file instead of bat file for consistency.
@ferventcoder ferventcoder merged commit 53d78e8 into chocolatey-archive:master May 6, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants