Skip to content
This repository has been archived by the owner. It is now read-only.

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

Conversation

@pagebrooks
Copy link
Contributor

commented May 6, 2014

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

This comment has been minimized.

Copy link
Contributor

commented May 6, 2014

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
2 participants
You can’t perform that action at this time.