Windows XP Tips, Tricks, Settings and more ...

MCSE Training Courses / Cisco Training Courses

Home/   Desktop/   Email/   Internet Explorer/   MSDos/   Networking/   Printer/   Registry/   
Training/   Windows 2000/   Windows 98/   Windows ME/   Windows NT 4.0/   Windows Vista/   Windows XP/

Changing File Associations from the Command Prompt

In Category: Windows 2000

Usually you change the file associates from the Explorer.
An easy way to do it from the cmd prompt is by using the assoc and ftype commands

Assoc shows you the extension file type and it's name.
For example assoc .txt displays .txt=textfile

Ftype lets you change the file assocation
For example ftype txtfile displays txtfile=%SystemRoot%\system32\NOTEPAD.EXE %1

To change the program you want to use for a txtfile, simply type:

ftype txtfile=the location of the other program


FREE Learn English - Food
Speak English - Drinks
Windows Training

Top Articles:

Accounting Software Review
Dedicated Servers
Backup Software
Unix Training
Role of the Helpdesk
Distance Learning

Top Training:

Office 2010 Training
C# Training
Windows 7 Training
Sage Line 50 Training
A+ Training
CCNA Training

© 2007-2011 - RCS Limited. Terms & Conditions