+ Post New Thread
Results 1 to 5 of 5
Windows Thread, XP File Association in Technical; Hi Guys, We use an old version of Pic Logicator which doesn't make a file association with the PFL files ...
  1. #1

    Join Date
    Nov 2005
    Location
    North
    Posts
    1,840
    Thank Post
    25
    Thanked 91 Times in 71 Posts
    Rep Power
    51

    XP File Association

    Hi Guys,

    We use an old version of Pic Logicator which doesn't make a file association with the PFL files it uses so users have to browse.

    Found it in the registry when I make a new one in Current User so tried copying it to the local machine but it didn't work. And I have just checked and it vanished when I rebooted anyway.

    Anyone know how to hardcode it in via a script or a batch file?

  2. #2
    DrPerceptron's Avatar
    Join Date
    Dec 2008
    Location
    In a house
    Posts
    926
    Thank Post
    34
    Thanked 134 Times in 114 Posts
    Rep Power
    41
    Quickest and "cheapest" way of doing it would be to find the registry keys you want to add, export the key from regedit to a .reg file

    then in a batch file, have
    Code:
    regedit /s file.reg

  3. #3

    Join Date
    Feb 2006
    Location
    Derbyshire
    Posts
    1,381
    Thank Post
    181
    Thanked 211 Times in 171 Posts
    Rep Power
    65
    Or even quicker - you want the 'ASSOC' and 'FTYPE' commands in a batch file.

    Assoc creates a file association/name, ftype sets up what program to load a particular filetype with.

  4. #4

    Join Date
    Nov 2005
    Location
    North
    Posts
    1,840
    Thank Post
    25
    Thanked 91 Times in 71 Posts
    Rep Power
    51
    I tried the ASSOC before, I added ASSOC PLF = PIC LOGICATOR FILE but it didn't open the program when I clicked a PLF file.... could it be cos its really old?

    The registry entry thing didn't work with the local machine, I found loads more entires so need to copy all I can find and see which ones work.

  5. #5

    Join Date
    Feb 2006
    Location
    Derbyshire
    Posts
    1,381
    Thank Post
    181
    Thanked 211 Times in 171 Posts
    Rep Power
    65
    Quote Originally Posted by Simcfc73 View Post
    I tried the ASSOC before, I added ASSOC PLF = PIC LOGICATOR FILE but it didn't open the program when I clicked a PLF file....
    After using ASSOC for the association, you also need FTYPE for the executable path to open that association with. Assoc just gives it a nice tidy name, Ftype says what to open that name with.

    e.g, in a CMD window.

    assoc .otl=Outtolunch

    then

    ftype outtolunch=notepad.exe %1

    Now create a blank file with the extension of .otl and click it - it should open in Notepad.

    So you'd need

    ftype "PIC LOGICATOR FILE"="pathtopiclogicator.exe" %1

  6. Thanks to OutToLunch from:

    Simcfc73 (5th December 2008)

SHARE:
+ Post New Thread

Similar Threads

  1. Word 2003 / Word 2007 .doc file association problem
    By noser in forum Office Software
    Replies: 10
    Last Post: 5th January 2010, 09:39 PM
  2. Blackboard file
    By imiddleton25 in forum Virtual Learning Platforms
    Replies: 1
    Last Post: 11th August 2008, 01:48 PM
  3. Change File Association
    By Newton in forum Windows
    Replies: 9
    Last Post: 11th July 2008, 08:46 PM
  4. File permissions
    By Face-Man in forum Windows
    Replies: 9
    Last Post: 28th April 2006, 12:14 PM
  5. Replies: 4
    Last Post: 23rd March 2006, 06:27 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •