Questions tagged [filetype]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
53 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 ?
0
votes
0answers
27 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&...
4
votes
2answers
446 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 ...
0
votes
2answers
65 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, ...
-3
votes
2answers
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 ...
0
votes
1answer
422 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 ...
1
vote
1answer
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 ...
11
votes
3answers
40k 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 ...
0
votes
1answer
119 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 ...
3
votes
0answers
270 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 ...
1
vote
1answer
41 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. ...
0
votes
0answers
176 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 ...
0
votes
1answer
220 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 ...
0
votes
1answer
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 ...
1
vote
1answer
57 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 ...
0
votes
1answer
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 ...
1
vote
0answers
81 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 ...
0
votes
1answer
272 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?
0
votes
1answer
514 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 ...
2
votes
2answers
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-...
14
votes
1answer
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?
0
votes
0answers
1k 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 ...
1
vote
1answer
946 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 ...
3
votes
3answers
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 ...
1
vote
1answer
582 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 ...
14
votes
5answers
65k 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?
0
votes
1answer
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, ...
6
votes
2answers
8k 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 ...
1
vote
2answers
136 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 ...
2
votes
0answers
146 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 ...
3
votes
2answers
4k 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/...
1
vote
2answers
4k 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 ...
8
votes
1answer
2k 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 ...