I cant set the program to open .htaccess files

Come here to discuss FileZilla and FTP in general

Moderator: Project members

Post Reply
Message
Author
gekko
504 Command not implemented
Posts: 7
Joined: 2013-08-27 07:33
First name: jim
Last name: clinton

I cant set the program to open .htaccess files

#1 Post by gekko » 2023-11-14 23:51

php "C:\Users\fende\AppData\Local\Programs\Microsoft VS Code\code.exe"
css "C:\Users\fende\AppData\Local\Programs\Microsoft VS Code\code.exe"
htm "C:\Users\fende\AppData\Local\Programs\Microsoft VS Code\code.exe"
html "C:\Users\fende\AppData\Local\Programs\Microsoft VS Code\code.exe"
js "C:\Users\fende\AppData\Local\Programs\Microsoft VS Code\code.exe"
twig "C:\Users\fende\AppData\Local\Programs\Microsoft VS Code\code.exe"
htaccess "C:\Users\fende\AppData\Local\Programs\Microsoft VS Code\code.exe"


but htaccess does not work, it opens with notepad for some readon not with visual code....very annoying

User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: I cant set the program to open .htaccess files

#2 Post by botg » 2023-11-15 08:50

.htaccess is a dotfile, it has no extension. Use . in the list of associations to specify which program to open dotfiles with.

gekko
504 Command not implemented
Posts: 7
Joined: 2013-08-27 07:33
First name: jim
Last name: clinton

Re: I cant set the program to open .htaccess files

#3 Post by gekko » 2023-11-15 09:56

thank you

Post Reply