Windows 7 Forums


Windows 7: ftype in command prompt

19 Jun 2011  
0rni0no

Windows 7 Ultimate x64
7 posts
 
 
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
.txt=txtfile
...
.RDP=RDP.File

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

Thanks!

My System SpecsSystem Spec

20 Jun 2011  
CreepinJesus

Windows 7 Ultimate x64
371 posts
 
 

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
Reply

 ftype in command prompt problems?



Thread Tools



Similar help and support threads for: ftype in command prompt
Thread Forum
command prompt General Discussion
Run administrative command prompt from command prompt General Discussion
Command Prompt Tutorials
Solved Command Prompt General Discussion
Command Prompt command <ipconfig> not working Network & Sharing


All times are GMT -5. The time now is 09:23 PM.



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