Windowsの便利な使い方
ファイル操作 → ftype
ftype
拡張子に関連付けられているアプリケーションを設定する
Vista 7 8 10

機能

ファイル拡張子の関連付けに使われるアプリケーションや設定を表示・変更する。

形式

ftype (FileType=Char)



コマンド例

ftype 現在設定されている拡張子とアプリケーションの関連付けを表示する
ftype txtfile 拡張子「.txt」に関連付けられているアプリケーション情報を表示する
ftype txtfile="%ProgramFiles%\Windows NT\Accessories\WORDPAD.EXE" "%1" 拡張子「.txt」に関連付けられているアプリケーション情報を変更する

実行例

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>ftype

Access.ADEFile.11="C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /NOSTARTUP "%1"
Access.Application.11="C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /NOSTARTUP "%1"
Access.BlankDatabaseTemplate.11="C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /NOSTARTUP /NEWDB "%1"
Access.BlankProjectTemplate.11="C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /NOSTARTUP /NEWDB "%1"
Access.DatabaseWizardTemplate.11="C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /NOSTARTUP /DBWIZ "%1"
Access.Extension.11=C:\PROGRA~1\MICROS~3\OFFICE11\MSACCESS.EXE /NOSTARTUP "%1"
Access.MDEFile.11="C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /NOSTARTUP "%1"
Access.Project.11="C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /NOSTARTUP "%1"
Access.Shortcut.DataAccessPage.1="C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /NOSTARTUP /SHELLSYSTEM [OpenDataAccessPage "%1"]
Access.Shortcut.Diagram.1="C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /NOSTARTUP /SHELLSYSTEM [OpenDiagram "%1"]
Access.Shortcut.Form.1="C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /NOSTARTUP /SHELLSYSTEM [OpenForm "%1"]
Access.ShortCut.Function.1="C:\PROGRA~1\MICROS~3\OFFICE11\MSACCESS.EXE" /SHELLSYSTEM [OpenFunction "%1"]
Access.Shortcut.Macro.1="C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /NOSTARTUP /SHELLSYSTEM [ShellOpenMacro "%1"]
Access.Shortcut.Module.1="C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /NOSTARTUP /SHELLSYSTEM [OpenModule "%1"]
Access.Shortcut.Query.1=C:\PROGRA~1\MICROS~3\OFFICE11\MSACCESS.EXE /NOSTARTUP /SHELLSYSTEM [OpenQuery "%1"]
Access.Shortcut.Report.1="C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /NOSTARTUP /SHELLSYSTEM [OpenReport "%1",2]
Access.Shortcut.StoredProcedure.1="C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /NOSTARTUP /SHELLSYSTEM [OpenStoredProcedure "%1"]
Access.Shortcut.Table.1=C:\PROGRA~1\MICROS~3\OFFICE11\MSACCESS.EXE /NOSTARTUP /SHELLSYSTEM [OpenTable "%1"]
Access.Shortcut.View.1="C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /NOSTARTUP /SHELLSYSTEM [OpenView "%1"]
Access.WizardDataFile.11="C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /NOSTARTUP "%1"
Access.Workgroup.11="C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /NOSTARTUP "%1"
accesshtmlfile="C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
accessthmltemplate="C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
acrobat="C:\Program Files\Adobe\Reader 11.0\Reader\AcroRd32.exe" /u "%1"
AcroExch.acrobatsecuritysettings.1="C:\Program Files\Adobe\Reader 11.0\Reader\AcroRd32.exe" "%1"
AcroExch.Document="C:\Program Files\Adobe\Reader 11.0\Reader\AcroRd32.exe" "%1"
AcroExch.Document.11="C:\Program Files\Adobe\Reader 11.0\Reader\AcroRd32.exe" "%1"
AcroExch.FDFDoc="C:\Program Files\Adobe\Reader 11.0\Reader\AcroRd32.exe" "%1"
AcroExch.pdfxml.1="C:\Program Files\Adobe\Reader 11.0\Reader\AcroRd32.exe" "%1"
AcroExch.XDPDoc="C:\Program Files\Adobe\Reader 11.0\Reader\AcroRd32.exe" "%1"
AcroExch.XFDFDoc="C:\Program Files\Adobe\Reader 11.0\Reader\AcroRd32.exe" "%1"
AICFile="C:\Program Files\Symantec\Ghost\AIBuilder.exe" "%1"
AIFFFile="C:\Program Files\Windows Media Player\wmplayer.exe"  /Open "%L"
Application.Manifest=rundll32.exe dfshim.dll,ShOpenVerbApplication %1
Application.Reference=rundll32.exe dfshim.dll,ShOpenVerbShortcut %1|%2
ASFFile="C:\Program Files\Windows Media Player\wmplayer.exe" /prefetch:7 /Open "%L"
ASXFile="C:\Program Files\Windows Media Player\wmplayer.exe"  /Open "%L"
AUFile="C:\Program Files\Windows Media Player\wmplayer.exe"  /Open "%L"
AVIFile="C:\Program Files\Windows Media Player\wmplayer.exe" /prefetch:8 /Open "%L"
batfile="%1" %*
Briefcase=explorer.exe %1
Callto=rundll32.exe msconf.dll,CallToProtocolHandler %l
CATFile="%SystemRoot%\system32\rundll32.exe" cryptext.dll,CryptExtOpenCAT %1
cdafile="C:\Program Files\Windows Media Player\wmplayer.exe"  /Open "%L"
CERFile="%SystemRoot%\system32\rundll32.exe" cryptext.dll,CryptExtOpenCER %1
CertificateStoreFile="%SystemRoot%\system32\rundll32.exe" cryptext.dll,CryptExtOpenSTR %1
certificate_wab_auto_file="C:\Program Files\Outlook Express\wab.exe" /certificate %1
chm.file="C:\WINDOWS\hh.exe" %1
ChromeHTML="C:\Program Files\Google\Chrome\Application\chrome.exe" -- "%1"
clpfile=clipbrd.exe %1
cmdfile="%1" %*
comfile="%1" %*
CompressedFolder=rundll32.exe zipfldr.dll,RouteTheCall %L
ConferenceLink=rundll32.exe msconf.dll,OpenConfLink %l
Connection Manager Profile=C:\WINDOWS\system32\CMMGR32.EXE "%1"
Cpqimlv.Document=C:\PROGRA~1\Compaq\Cpqimlv\cpqimlv.exe "%1"
CRLFile="%SystemRoot%\system32\rundll32.exe" cryptext.dll,CryptExtOpenCRL %1
DocShortcut=rundll32 %SystemRoot%\System32\shscrap.dll,OpenScrap_RunDLL /r /x %1
dqyfile=C:\PROGRA~1\MICROS~3\OFFICE11\EXCEL.EXE
dunfile=%SystemRoot%\system32\RUNDLL32.EXE NETSHELL.DLL,InvokeDunFile %1
emffile=rundll32.exe C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1
Excel.Addin="C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" /e
Excel.Backup="C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" /e
Excel.Chart=C:\PROGRA~1\MICROS~3\OFFICE11\EXCEL.EXE /e
Excel.Chart.8="C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" /e
Excel.CSV="C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" /e
Excel.DIF="C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" /e
Excel.Macrosheet="C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" /e
Excel.Sheet.12="C:\PROGRA~1\MICROS~3\OFFICE11\EXCEL.EXE" /e
Excel.Sheet.8="C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" /e
Excel.SheetBinaryMacroEnabled.12="C:\PROGRA~1\MICROS~3\OFFICE11\EXCEL.EXE" /e
Excel.SheetMacroEnabled.12="C:\PROGRA~1\MICROS~3\OFFICE11\EXCEL.EXE" /e
Excel.SLK="C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" /e
Excel.Template="C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" /e
Excel.Workspace="C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" /e
Excel.XLL="C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" /e
Excelhtmlfile="C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE"
Excelhtmltemplate="C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE"
exefile="%1" %*
fndfile=%SystemRoot%\Explorer.exe
Folder=%SystemRoot%\Explorer.exe /idlist,%I,%L
fonfile=%SystemRoot%\System32\fontview.exe %1
ftp="C:\Program Files\Internet Explorer\IEXPLORE.EXE" %1
Ghost=C:\PROGRA~1\Symantec\Ghost\Ghostexp.exe "%1"
giffile="C:\Program Files\Internet Explorer\iexplore.exe" -nohome
gopher="C:\Program Files\Internet Explorer\iexplore.exe" -nohome
GPMGMT.MigTable="C:\Program Files\GPMC\mtedit.exe" "%1"
h323file="rundll32.exe" msconf.dll,NewMediaPhone %l
HCP=C:\WINDOWS\PCHealth\HelpCtr\Binaries\HelpCtr.exe -FromHCP -url "%1"
helpfile=winhlp32.exe %1
hlpfile=%SystemRoot%\System32\winhlp32.exe %1
holfile="C:\PROGRA~1\MICROS~3\OFFICE11\OUTLOOK.EXE" /hol "%1"
htafile=C:\WINDOWS\system32\mshta.exe "%1" %*
htmlfile="C:\Program Files\Internet Explorer\IEXPLORE.EXE" -nohome
HTTP="C:\Program Files\Internet Explorer\IEXPLORE.EXE" -nohome
https="C:\Program Files\Internet Explorer\IEXPLORE.EXE" -nohome
icsfile="C:\PROGRA~1\MICROS~3\OFFICE11\OUTLOOK.EXE" /ical "%1"
iiifile="rundll32.exe" msconf.dll,NewMediaPhone %l
iLOVideoPlayer=C:\DOCUME~1\ADMINI~1.JAM\LOCALS~1\Temp\1\iLOVideoPlayer\iLOVideoPlayer.exe %1
inffile=%SystemRoot%\System32\NOTEPAD.EXE %1
InfoPath.Document.1="C:\Program Files\Microsoft Office\OFFICE11\INFOPATH.EXE" "%1"
InfoPath.Solution.1="C:\Program Files\Microsoft Office\OFFICE11\INFOPATH.EXE" "%1"
InfoPath.SolutionManifest.1="C:\Program Files\Microsoft Office\OFFICE11\INFOPATH.EXE" "%1"
inifile=%SystemRoot%\System32\NOTEPAD.EXE %1
InternetShortcut="C:\WINDOWS\system32\rundll32.exe" "C:\WINDOWS\system32\ieframe.dll",OpenURL %l
iqyfile=C:\PROGRA~1\MICROS~3\OFFICE11\EXCEL.EXE /e
ITS FILE="C:\Program Files\Internet Explorer\iexplore.exe" -nohome
jarfile="C:\Program Files\Java\jre7\bin\javaw.exe" -jar "%1" %*
JNLPFile="C:\Program Files\Java\jre7\bin\javaws.exe" "%1"
jpegfile=rundll32.exe C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1
JSEFile=%SystemRoot%\System32\WScript.exe "%1" %*
JSFile=%SystemRoot%\System32\WScript.exe "%1" %*
LDAP="C:\Program Files\Outlook Express\wab.exe" /ldap:%1
LhacaARJ=C:\Program Files\Lhaca\Lhaca.exe "%1"
LhacaBZ2=C:\Program Files\Lhaca\Lhaca.exe "%1"
LhacaCAB=C:\Program Files\Lhaca\Lhaca.exe "%1"
LhacaGZ=C:\Program Files\Lhaca\Lhaca.exe "%1"
LhacaJAR=C:\Program Files\Lhaca\Lhaca.exe "%1"
LhacaLZH=C:\Program Files\Lhaca\Lhaca.exe "%1"
LhacaRAR=C:\Program Files\Lhaca\Lhaca.exe "%1"
LhacaTAR=C:\Program Files\Lhaca\Lhaca.exe "%1"
LhacaTAZ=C:\Program Files\Lhaca\Lhaca.exe "%1"
LhacaTBZ=C:\Program Files\Lhaca\Lhaca.exe "%1"
LhacaTGZ=C:\Program Files\Lhaca\Lhaca.exe "%1"
LhacaZ=C:\Program Files\Lhaca\Lhaca.exe "%1"
m3ufile="C:\Program Files\Windows Media Player\wmplayer.exe" /prefetch:6 /Open "%L"
MacromediaFlashPaper.MacromediaFlashPaper="C:\Program Files\Internet Explorer\IEXPLORE.EXE" -nohome "%1"
mailto="C:\PROGRA~1\MICROS~3\OFFICE11\OUTLOOK.EXE" -c IPM.Note /m "%1"
MediaPackageFile="C:\Program Files\Microsoft Office\OFFICE11\MSTORE.EXE" "%1"
mhtmlfile="C:\Program Files\Internet Explorer\IEXPLORE.EXE" -nohome
Microsoft Internet Mail Message="%ProgramFiles%\Outlook Express\msimn.exe" /eml:%1
Microsoft Internet News Message="%ProgramFiles%\Outlook Express\msimn.exe" /nws:%1
Microsoft.InformationCard=C:\WINDOWS\system32\rundll32.exe C:\WINDOWS\system32\infocardcpl.cpl,ImportInformationCard_RunDll  %1
Microsoft.PowerShellConsole.1="C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe" -p "%1" 
Microsoft.PowerShellData.1="C:\WINDOWS\system32\notepad.exe" "%1" 
Microsoft.PowerShellModule.1="C:\WINDOWS\system32\notepad.exe" "%1" 
Microsoft.PowerShellScript.1="C:\WINDOWS\system32\notepad.exe" "%1" 
Microsoft.WindowsCardSpaceBackup=C:\WINDOWS\system32\rundll32.exe C:\WINDOWS\system32\infocardcpl.cpl,ImportInformationCard_RunDll  %1
MIDFile="C:\Program Files\Windows Media Player\wmplayer.exe"  /Open "%L"
MMS="C:\Program Files\Windows Media Player\wmplayer.exe" "%L"
MMST="C:\Program Files\Windows Media Player\wmplayer.exe" "%L"
MMSU="C:\Program Files\Windows Media Player\wmplayer.exe" "%L"
mp3file="C:\Program Files\Windows Media Player\wmplayer.exe" /prefetch:6 /Open "%L"
mpegfile="C:\Program Files\Windows Media Player\wmplayer.exe" /prefetch:9 /Open "%L"
MPlayer=mplay32.exe /play /close "%L"
msbackupfile=%SystemRoot%\system32\ntbackup.exe
MSBD="C:\Program Files\Windows Media Player\wmplayer.exe" "%L"
MSCFile=%SystemRoot%\system32\mmc.exe "%1" %*
MSDASC=Rundll32.exe C:\PROGRA~1\COMMON~1\SYSTEM\OLEDB~1\oledb32.dll,OpenDSLFile %1
msgfile="C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE" /f "%1"
Msi.Package="%SystemRoot%\System32\msiexec.exe" /i "%1" %*
Msi.Patch="%SystemRoot%\System32\msiexec.exe" /p "%1" %*
MSInfo.Document=C:\Program Files\Common Files\Microsoft Shared\MSInfo\MSInfo32.exe /msinfo_file %1
MSPaper.Document="C:\Program Files\Common Files\Microsoft Shared\MODI\11.0\MSPVIEW.EXE" "%1"
MSProgramGroup=C:\WINDOWS\system32\grpconv.exe %1
MsRcIncident=%SystemRoot%\PCHealth\HelpCtr\Binaries\HelpCtr.exe -Mode "hcp://system/Remote%%20Assistance/RAClientLayout.xml" -url "hcp://system/Remote%%20Assistance/Interaction/Client/rctoolScreen1.htm" -ExtraArgument "IncidentFile=%1"
msstylesfile=%SystemRoot%\system32\rundll32.exe %SystemRoot%\system32\shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Appearance /Action:OpenMSTheme /file:"%1"
news="%ProgramFiles%\Outlook Express\msimn.exe" /newsurl:"%1"
nntp="%ProgramFiles%\Outlook Express\msimn.exe" /newsurl:"%1"
Oice.Excel.Addin=C:\PROGRA~1\MICROS~3\Office12\Oice.exe "%1"
Oice.Excel.Sheet=C:\PROGRA~1\MICROS~3\Office12\Oice.exe "%1"
Oice.Excel.Template=C:\PROGRA~1\MICROS~3\Office12\Oice.exe "%1"
Oice.PowerPoint.Show=C:\PROGRA~1\MICROS~3\Office12\Oice.exe "%1"
Oice.PowerPoint.SlideShow=C:\PROGRA~1\MICROS~3\Office12\Oice.exe "%1"
Oice.PowerPoint.Template=C:\PROGRA~1\MICROS~3\Office12\Oice.exe "%1"
Oice.Word.Document=C:\PROGRA~1\MICROS~3\Office12\Oice.exe "%1"
oqyfile=C:\PROGRA~1\MICROS~3\OFFICE11\EXCEL.EXE
ossfile="C:\Program Files\Microsoft Office\OFFICE11\FINDER.EXE" /f "%1"
otffile=%SystemRoot%\System32\fontview.exe %1
outlook="C:\PROGRA~1\MICROS~3\OFFICE11\OUTLOOK.EXE" /select "%1"
Outlook.NavigatorBarFile="C:\PROGRA~1\MICROS~3\OFFICE11\OUTLOOK.EXE" /s "%1"
Outlook.Template="C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE" /t "%1"
P7RFile="%SystemRoot%\system32\rundll32.exe" cryptext.dll,CryptExtOpenP7R %1
P7SFile="%SystemRoot%\system32\rundll32.exe" cryptext.dll,CryptExtOpenPKCS7 %1
Paint.Picture=rundll32.exe C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1
pbkfile=%SystemRoot%\system32\rasphone.exe -f "%1"
PerfFile=%SystemRoot%\system32\perfmon.exe %1
Perl="C:\Program Files\VMware\VMware vSphere CLI\Perl\bin\perl.exe" "%1" %*
PerlScriptFile=C:\WINDOWS\System32\WScript.exe "%1" %*
pfmfile=%SystemRoot%\System32\fontview.exe %1
piffile="%1" %*
pjpegfile=rundll32.exe C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1
pngfile=rundll32.exe C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1
PowerPoint.Addin.8="C:\Program Files\Microsoft Office\OFFICE11\POWERPNT.EXE" "%1"
PowerPoint.Show.12="C:\PROGRA~1\MICROS~3\OFFICE11\POWERPNT.EXE" "%1"
PowerPoint.Show.4=C:\PROGRA~1\MICROS~3\OFFICE11\POWERPNT.EXE "%1"
PowerPoint.Show.7=C:\PROGRA~1\MICROS~3\OFFICE11\POWERPNT.EXE "%1"
PowerPoint.Show.8="C:\Program Files\Microsoft Office\OFFICE11\POWERPNT.EXE" "%1"
PowerPoint.ShowMacroEnabled.12="C:\PROGRA~1\MICROS~3\OFFICE11\POWERPNT.EXE" "%1"
PowerPoint.Slide.4=C:\PROGRA~1\MICROS~3\OFFICE11\POWERPNT.EXE "%1"
PowerPoint.Slide.7=C:\PROGRA~1\MICROS~3\OFFICE11\POWERPNT.EXE "%1"
PowerPoint.Slide.8=C:\PROGRA~1\MICROS~3\OFFICE11\POWERPNT.EXE "%1"
PowerPoint.SlideShow.12="C:\PROGRA~1\MICROS~3\OFFICE11\POWERPNT.EXE" /s "%1"
PowerPoint.SlideShow.8="C:\Program Files\Microsoft Office\OFFICE11\POWERPNT.EXE" /s "%1"
PowerPoint.SlideShowMacroEnabled.12="C:\PROGRA~1\MICROS~3\OFFICE11\POWERPNT.EXE" /s "%1"
PowerPoint.Template.12="C:\PROGRA~1\MICROS~3\OFFICE11\POWERPNT.EXE" "%1"
PowerPoint.Template.8="C:\Program Files\Microsoft Office\OFFICE11\POWERPNT.EXE" "%1"
PowerPoint.TemplateMacroEnabled.12="C:\PROGRA~1\MICROS~3\OFFICE11\POWERPNT.EXE" "%1"
PowerPoint.Wizard.8="C:\Program Files\Microsoft Office\OFFICE11\POWERPNT.EXE" "%1"
powerpointhtmlfile="C:\Program Files\Microsoft Office\OFFICE11\POWERPNT.EXE"
powerpointhtmltemplate="C:\Program Files\Microsoft Office\OFFICE11\POWERPNT.EXE"
ppifile=%SystemRoot%\System32\msppcnfg.exe /Config "%L"
pqiFile="C:\Program Files\Symantec\DeployCenter 5.7.0\PqIExp32.exe" "%1"
prffile="C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE" /PromptImportPRF "%1"
Publisher.Document.11="C:\Program Files\Microsoft Office\OFFICE11\MSPUB.EXE" %1
Publishing Folder=explorer.exe /idlist,%I,%L
ratfile="C:\WINDOWS\system32\rundll32.exe" "C:\WINDOWS\system32\msrating.dll",ClickedOnRAT %1
regedit=regedit.exe %1
regfile=regedit.exe "%1"
rlogin="C:\WINDOWS\system32\rundll32.exe" "C:\WINDOWS\system32\url.dll",TelnetProtocolHandler %l
rqyfile=C:\PROGRA~1\MICROS~3\OFFICE11\EXCEL.EXE
rtffile="C:\Program Files\Windows NT\Accessories\WORDPAD.EXE" "%1"
SavedDsQuery=%SystemRoot%\system32\rundll32.exe %SystemRoot%\system32\dsquery.dll,OpenSavedDsQuery %1
scrfile="%1" /S
scriptletfile="C:\WINDOWS\NOTEPAD.EXE" "%1"
SHCmdFile=%SystemRoot%\explorer.exe
Shell=%SystemRoot%\Explorer.exe /idlist,%I,%L
ShellScrap=rundll32 %SystemRoot%\system32\shscrap.dll,OpenScrap_RunDLL %1
snews="%ProgramFiles%\Outlook Express\msimn.exe" /newsurl:"%1"
SoundRec="C:\Program Files\Windows Media Player\wmplayer.exe"  /Open "%L"
SPCFile="%SystemRoot%\system32\rundll32.exe" cryptext.dll,CryptExtOpenPKCS7 %1
SQLServer.Replication.Datafile=rundll32 C:\PROGRA~1\MICROS~1\80\COM\replsync.dll,DllAddSubscription -SubscriberDatabasePath %1
STLFile="%SystemRoot%\system32\rundll32.exe" cryptext.dll,CryptExtOpenCTL %1
stssync="C:\PROGRA~1\MICROS~3\OFFICE11\OUTLOOK.EXE" /stssync "%1"
T126_Whiteboard="C:\Program Files\NetMeeting\wb32.exe" - "%1"
telnet="C:\WINDOWS\system32\rundll32.exe" "C:\WINDOWS\system32\url.dll",TelnetProtocolHandler %l
themefile=%SystemRoot%\system32\rundll32.exe %SystemRoot%\system32\shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Themes /Action:OpenTheme /file:"%1"
TIFImage.Document=rundll32.exe C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1
tn3270="C:\WINDOWS\system32\rundll32.exe" "C:\WINDOWS\system32\url.dll",TelnetProtocolHandler %l
ttcfile=%SystemRoot%\System32\fontview.exe %1
ttffile=%SystemRoot%\System32\fontview.exe %1
TWSNMP.Document=C:\PROGRA~1\TWISE\TWSNMPv4\Spnms.exe "%1"
txtfile=%SystemRoot%\system32\NOTEPAD.EXE %1
ulsfile="rundll32.exe" msconf.dll,NewMediaPhone %l
VBEFile=%SystemRoot%\System32\WScript.exe "%1" %*
VBSFile=%SystemRoot%\System32\WScript.exe "%1" %*
vcard_wab_auto_file="C:\Program Files\Outlook Express\wab.exe" /vcard %1
vcffile="C:\PROGRA~1\MICROS~3\OFFICE11\OUTLOOK.EXE" /v "%1"
vcsfile="C:\PROGRA~1\MICROS~3\OFFICE11\OUTLOOK.EXE" /vcal "%1"
VpxClient="C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -e "%1"
wab_auto_file="C:\Program Files\Outlook Express\wab.exe" %1
WAXFile="C:\Program Files\Windows Media Player\wmplayer.exe"  /Open "%L"
webpnpFile=%SystemRoot%\system32\wpnpinst.exe %1
Whiteboard="C:\Program Files\NetMeeting\wb32.exe" "%1"
Windows.CompositeFont="%WinDir%\System32\notepad.exe" "%1"
Windows.XamlDocument="C:\WINDOWS\system32\PresentationHost.exe" "%1" %*
Windows.Xbap="C:\WINDOWS\system32\PresentationHost.exe" "%1" %*
wmafile="C:\Program Files\Windows Media Player\wmplayer.exe" /prefetch:5 /Open "%L"
WMDFile="C:\Program Files\Windows Media Player\wmplayer.exe" /WMPackage:"%L"
wmffile=rundll32.exe C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1
WMP.DVR-MSFile="C:\Program Files\Windows Media Player\wmplayer.exe"  /Open "%L"
WMSFile="C:\Program Files\Windows Media Player\wmplayer.exe" /layout:"%L"
WMVFile="C:\Program Files\Windows Media Player\wmplayer.exe" /prefetch:7 /Open "%L"
WMZFile="C:\Program Files\Windows Media Player\wmplayer.exe" /layout:"%L"
Word.Backup.8="C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE" /n /dde
Word.Document.12="C:\PROGRA~1\MICROS~3\OFFICE11\WINWORD.EXE" /n /dde
Word.Document.8="C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE" /n /dde
Word.DocumentMacroEnabled.12="C:\PROGRA~1\MICROS~3\OFFICE11\WINWORD.EXE" /n /dde
Word.RTF.8="C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE" /n /dde
Word.Template.8="C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE" /n /dde
wordhtmlfile="C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE"
wordhtmltemplate="C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE"
Wordpad.Document.1="%ProgramFiles%\Windows NT\Accessories\WORDPAD.EXE" "%1"
WPLFile="C:\Program Files\Windows Media Player\wmplayer.exe"  /Open "%L"
wrifile="C:\Program Files\Windows NT\Accessories\WORDPAD.EXE" "%1"
WSFFile=%SystemRoot%\System32\WScript.exe "%1" %*
WSHFile=%SystemRoot%\System32\WScript.exe "%1" %*
WVXFile="C:\Program Files\Windows Media Player\wmplayer.exe"  /Open "%L"
x-internet-signup=%ProgramFiles%\Internet Explorer\Connection Wizard\ISIGNUP.EXE %1
XEV.FailSafeApp=%SystemRoot%\system32\NOTEPAD.EXE %1
XEV.GenericApp="C:\Program Files\Internet Explorer\iexplore.exe" -nohome
XEV.OriginalApp="C:\Program Files\Internet Explorer\iexplore.exe" -nohome
xmlfile="C:\Program Files\Common Files\Microsoft Shared\OFFICE11\MSOXMLED.EXE" /verb open "%1"
xnkfile="C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE" /x "%1"
XPSViewer.Document.1="C:\WINDOWS\system32\XPSViewer\XPSViewer.exe" "%1" %*
xslfile="C:\Program Files\Internet Explorer\iexplore.exe" -nohome
zapfile=%SystemRoot%\system32\NOTEPAD.EXE %1

C:\>

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>ftype txtfile
txtfile=%SystemRoot%\system32\NOTEPAD.EXE %1

C:\>ftype txtfile="%ProgramFiles%\Windows NT\Accessories\WORDPAD.EXE" "%1"
txtfile="C:\Program Files\Windows NT\Accessories\WORDPAD.EXE" "%1"

C:\>ftype txtfile
txtfile="C:\Program Files\Windows NT\Accessories\WORDPAD.EXE" "%1"

C:\>



関連ページ

assoc ・・・ファイルと拡張子の関連を表示・設定する
findstr ・・・文字列や正規表現を使って文字列を検索する
more ・・・ファイルの内容を表示する
fc ・・・2つのファイルを比較して違いを表示する
find ・・・ファイルの中からテキスト文字列を検索する