Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: ftype in command prompt

19 Jun 2011   #1

Windows 7 Ultimate x64
ftype in command prompt

I was wondering why the "ftype" command doesn't display all file types associated with file extensions.

For example if I execute "assoc", some of the output is

When I execute the "ftype" I find an entry for "txtfile" as per below but not for "RDP".file
txtfile=%SystemRoot%\system32\NOTEPAD.EXE %1

How come?

Note: .RDP files are remote desktop files and are opened with %windir%\system32\mstsc.exe


My System SpecsSystem Spec
20 Jun 2011   #2

Windows 7 Ultimate x64

Ftype shows the Open command string, if there is one, for a file type. If you look at .rdp in the root classes hive of the registry, you'll see that there is no 'open' command, as such, for RDP files.

txt files are opened with Notepad, as you know; but RDP files are nont 'opened' in the same way. That's my guess...

More info on ftype: Ftype
My System SpecsSystem Spec

 ftype in command prompt

Thread Tools

Similar help and support threads
Thread Forum
Command Prompt command <ipconfig> not working
when I open up my command prompt and type 'ipconfig' without the ' and press enter it returns the line: 'ipconfig' is nto recognized as an internal or external command, operable program, or batch file I am trying to find out the information I need in order to set up a static IP Address for port...
Network & Sharing
How to fix MBR through command prompt?
Question: What commands could I run in the command prompt during the system recovery? I try & run say "fixmbr" but it doesn't work. Say if I want to write a new master boot record how would I do that?
General Discussion
command prompt
Hi all i need you help me a thing :cry: I went to use autosave all text on command prompt (CMD), how can i do or use what command prompt cade for mark it autosave when i used command prompt. Example : Color 0a
General Discussion
Run administrative command prompt from command prompt
Ok So I got myself into a unique bind here. I was trying to install some custom system files (for a theme) and I did it wrong and now I cant open explorer.exe . I dont want to goto a backup because this is a easy fix. (in my view). So I need to know how to run command prompt with administrative...
General Discussion
Command Prompt
Ok so every time I try to open the command prompt using an external source (batch file, small c++ program i made to say Hi to me through the command prompt) it instantly closes. Does anyone have any idea why this is happening and if so how can I fix it? Thanks, Wave
General Discussion
command prompt bug ?
Hi, I just tryed to use cmd as usual but it seems that I can't explore an other HDD than C: It bugs me I don't understand why i'm the only user on my computer and I am admin on it I at home so it should work but when I type "cd d:" I get that : ...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 22:52.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App