如何在Windows中保存.env文件? [英] How to save .env file in windows?
本文介绍了如何在Windows中保存.env文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试保存文件扩展名为.env
的文件,但在另存为"下拉选项中看不到任何.env
文件扩展名.
I tried to save file with .env
file extension but I could not see any .env
file extension in save as dropdown option.
我还尝试将其重命名为.env
,但是它已另存为文本文件(请参见屏幕截图).如何解决此问题?
I also tried to rename it as .env
but it gets saved as text file (see screenshot) how can I fix this issue ?
推荐答案
如果使用Windows,要保存任何扩展名与所使用工具的默认扩展名不同的文件,则必须选择如下所示的选项:
If you use Windows, to save any file with an extension different from the default extension of the tool you are using, You have to select the option which appears like:
All Files
或All Files (*.*)
在保存对话框的文件类型下拉菜单中.
All Files
or All Files (*.*)
in the Type of File dropdown in the save dialogs.
这篇关于如何在Windows中保存.env文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文