Skip to main content

Questions tagged [filetype]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
215 views

Something overwriting some settings set in HKCR for image files

What I'm trying to achieve: Change the file type description that is shown in the explorer file type column, when creating a new file etc. What I tried to do but failed: Until now, I have been doing ...
thisistemporary's user avatar
1 vote
1 answer
146 views

Associating filetypes without using absolute paths

I figured this would be easy both with ahk and cmd but I'm having some trouble. What I'm trying to do is quite simple, I want to make a file to pre-configure the settings for my favourite video player....
imkira3's user avatar
  • 19
2 votes
1 answer
4k views

What is the difference between File Type and File Format?

I've some confusion regarding the File Type and File Format. Is it that Document is a File Type and PDF a file format? or Video is a File Type and MP4 is a file format ?
kevv's user avatar
  • 21
0 votes
0 answers
81 views

'file' command: specifying search depth for 'search' option in /etc/magic file?

How can I specify how far/deep the 'file' command should search in a file to locate a match on a "search" definition ? I am trying to create a universal specification in "/etc/magic&...
Eric Marceau's user avatar
4 votes
2 answers
2k views

What are HBAKED and HBAKED... files?

Whenever I notice my storage go down, I use WinDirStat to see what is taking up space. I have noticed that the WinSxS folder always takes up a lot of space. I looked deeper into the folder and saw a ...
user avatar
0 votes
2 answers
244 views

It's okay to download an XML with browser, but not with downloaders like wget

The link is https://api.bilibili.com/x/v1/dm/list.so?oid=162677333. When I download it with wget I get a binary file, and I thought it would be GZIP or deflate, which is often the web request case, ...
Sherry869's user avatar
  • 141
-2 votes
3 answers
2k views

What is kux file type and how to open it?

As the title says, I'm trying to open a couple files that are kux(there's one that's kux#). The origin of the files were from inner Mongolia, my friend traveled there and is now asking me how to open ...
Caleb Taylor's user avatar
0 votes
1 answer
750 views

In Windows 10, what default behavior can I expect when a file extension association exists, but a File Type Open Command String has not been set?

Installation of Strawberry Perl 5.30.0.1 inspired this question. Users of Active Perl have reported problems with the <FileType>=<OpenCommandString> pairs created during the installation ...
SoFarther's user avatar
  • 101
1 vote
1 answer
3k views

Windows 10 custom file icon

On previous editions of Windows there was a "File type" configuration page, where users could choose the default application for a given file type and also choose a custom icon, if the default one is ...
jeanie77's user avatar
  • 111
28 votes
4 answers
85k views

How to find vscode installed path in ubuntu

I am trying to change the FileZilla filetype association and set vscode as default for any filetype. I couldn't find installed application path or executable file to give a path. How do I make vscode ...
mounika's user avatar
  • 383
0 votes
1 answer
198 views

Different vimrc by filetype

As the title says: can I use different _vimrcs for different programming languages or filetypes? I have to use a lot of different programming languages for lots of different subjects, and for each ...
Paul Kim's user avatar
  • 101
3 votes
0 answers
279 views

Unable to set default program for .cpp file type [duplicate]

I'm using the latest edition of Windows 10 Home on a 64-bit computer. I've been struggling to set the default program used to open .cpp files. At first, it was set to Notepad, but at some point I ...
Daniel Kareh's user avatar
1 vote
1 answer
47 views

Is there any way to make Windows smart about different file types with same extension?

The problem is for .ts files which currently Windows identifies them as video format. I want .ts files that are videos open with video player and .ts files that are TypeScript open with code editor. ...
Sina's user avatar
  • 11
0 votes
0 answers
184 views

Cannot change file association in Win7Ent

I need to change file association for PDF's from Acrobat to Chrome via command line. There are specific business reasons for this. We run a VDI environment, and this script will be pushed via GP on ...
MaxKorban's user avatar
0 votes
1 answer
337 views

What are .fcm files and how do I open them?

I want to extract music from the game files of Megaton Rainfall. Unfortunately, all the assets are .fcm files. For example Data.fcm. Googling this file format only yields results for a Minecraft ...
gowner's user avatar
  • 121
0 votes
1 answer
4k views

Windows 10 file type association, doesn't save

Superusers, I updated to Windows 10, all nice and well, except one thing: I cannot assign a new program to a file type. Here are the options: Edit on opening Edit in the properties Edit in ...
Matt's user avatar
  • 1
1 vote
1 answer
97 views

vim finding all extensions associated with a filetype

How can I find all file extensions that will use specific filetype (highlighting)? For example I know that both ".xml" and ".xmi" files will by opened as "xml" filetype, however I would like to find ...
Peter Uhnak's user avatar
0 votes
1 answer
1k views

How do I make vim use the syntax highlighting of another file location?

I don't ever use sudo vim /path/to/some.file; I always use sudoedit. However, this means that vim doesn't see the correct path. As an example, when I open /etc/http/conf/httpd.conf, sudoedit makes a ...
Kevin M's user avatar
  • 2,584
1 vote
0 answers
83 views

OS X Finder: "Plain Text Document" has changed to "text", "Rich Text Document" to "rich text (RTF)", etc

Sometime recently some file type names have changed — not the file associations or default application, but the name of the file type itself. "Plain Text Document" has changed to "text", "Rich Text ...
KT_'s user avatar
  • 111
0 votes
1 answer
523 views

How to automatically determine filetype by first line in file using vim? [closed]

My vim can determine filetype by first line of file (e.g. #!/bin/bash). But check of first line occurs only at the start of vim. How to do runtime checking of this?
whoami671's user avatar
0 votes
1 answer
729 views

Way of identifying plaintext file types in bash?

Is there any alternative to the file command that can be used to identify plaintext file types that don't have a magic number? E.g. something I can give a file to that contains JSON and I'll get back ...
big-o's user avatar
  • 109
2 votes
2 answers
1k views

Vifm in Windows 7 x64 filetype default for OS

I was looking around for a file manager that has Vim key bindings and worked with Windows and that resulted in me discovering about "Vifm" Problem is (besides the fact it can't be fullscreen-...
user176540's user avatar
14 votes
1 answer
3k views

List all filetype plugins known to Vim

I want to list all filetypes Vim recognizes from its runtimepath. For example: ada arc c clojure common-lisp elisp go python How can I do it?
Profpatsch's user avatar
0 votes
0 answers
2k views

Set Default Program for All Users on Server

I work with a large server environment that's running Windows Server 2003, 2008, and 2012 now on some boxes. We have a custom-built log viewer program that associates with two file types that I'd like ...
MattN's user avatar
  • 1
1 vote
1 answer
1k views

Vim ignoring ftplugin?

I have created the file /usr/share/vim/vim73/ftplugin/rb.vim with the following contents; set ts=2 " Set tab size to 2 set bs=2 " Suggested for ruby set sw=2 " Suggested for ruby set et " Convert ...
Jack Wilsdon's user avatar
5 votes
3 answers
2k views

How to save VIM filetype settings for a file which is being mis-detected?

The Apache config file for my website is named mywebsite.com. Apparently the extension .com is causing vim to set the wrong file type as dcl which makes the syntax highlighting wrong as well. All of ...
Eaten by a Grue's user avatar
1 vote
1 answer
615 views

vim fortran indentexpr issue

Strange issue here with getting indentexpr=FortranGetFreeIndent() to be set correctly. The first time I open a file (free form, of course), say new.f90, :set gives :set --- Options --- autoindent ...
MarkWayne's user avatar
  • 111
14 votes
5 answers
67k views

Remove file type associations in Windows 7 [duplicate]

I have set up a custom file association for .cfg to open in WordPad, but I can't seem to figure out how to remove it. How do I remove file associations in Windows 7?
Nathan2055's user avatar
  • 1,220
0 votes
1 answer
2k views

batch move for different file types to different folder name

I have files containing in C:\foldername1\Files\soandso1.mkv C:\foldername2\Files\soandso2.mp4 C:\foldername3\Files\soandso3.avi I want to move the .mkv, .mp4, and .avi back to it's parent folder, ...
Roger's user avatar
  • 3
6 votes
2 answers
10k views

How to change the default icon for .url in Windows?

How do I change the filetype icon for .url? I have used Default Programs Editor to change it, but it does not work. This initially made me think that the program doesn't work on Windows 8, but it ...
paradroid's user avatar
  • 23k
1 vote
2 answers
152 views

Simple document highlighting in Vim

I am looking for a filetype= argument that will format or color document constructs such as lists, headers and sub headrs. Particularly I want the filetype plugin (or syntax plugin) to interpret ...
Ярослав Рахматуллин's user avatar
2 votes
0 answers
150 views

Identify recovered filetype

I'm searching some info about this file. It was recovered from a failed HD, with Ontrack EasyRecovery. The file extension may not be accurate. I tried with TrID (I'm the developer), and based on the ...
Mark0's user avatar
  • 149
3 votes
2 answers
5k views

Wget - if / else download condition?

I want wget to prefer a certain filetype over another, if the files have the same basename. For example: if foo.ogg available, don't download foo.mp3 the way i use wget so far to crawl/...
Kai's user avatar
  • 45
1 vote
2 answers
5k views

Unpacking router firmware file

Does anyone know what filetype or filesystem a router firmware file (one downloaded from manufacturer's site) is usually saved in? Is there a tool (we're not talking about archive tool like zip/7z/rar ...
Flint's user avatar
  • 176
8 votes
1 answer
3k views

Can Vim autocommand be triggered by filetype instead of by pattern?

I know how to set up features using :autocmd for specific file extensions: Eg. ~/.vim/ftplugin/xml.vim augroup xml au BufEnter *.xml call Setup_XML_Menu() au BufLeave *.xml call ...
njd's user avatar
  • 11.2k