Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to save .env file in windows?

I tried to save file with .env file extension but I could not see any .env file extension in save as dropdown option.

I also tried to rename it as .env but it gets saved as text file (see screenshot) how can I fix this issue ?

enter image description here

like image 839
stone rock Avatar asked Feb 13 '18 15:02

stone rock


1 Answers

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 or All Files (*.*) in the Type of File dropdown in the save dialogs.

like image 177
Ayush Gupta Avatar answered Oct 12 '22 02:10

Ayush Gupta