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 ...
-
4th December 2008, 02:41 PM #1 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?
-
-
IDG Tech News
-
4th December 2008, 03:00 PM #2 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
-
-
4th December 2008, 03:08 PM #3 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.
-
-
4th December 2008, 04:26 PM #4 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.
-
-
4th December 2008, 04:39 PM #5 
Originally Posted by
Simcfc73
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
-
Thanks to OutToLunch from:
Simcfc73 (5th December 2008)
SHARE:
Similar Threads
-
By noser in forum Office Software
Replies: 10
Last Post: 5th January 2010, 10:39 PM
-
By imiddleton25 in forum Virtual Learning Platforms
Replies: 1
Last Post: 11th August 2008, 01:48 PM
-
By Newton in forum Windows
Replies: 9
Last Post: 11th July 2008, 08:46 PM
-
By Face-Man in forum Windows
Replies: 9
Last Post: 28th April 2006, 12:14 PM
-
By tosca925 in forum Scripts
Replies: 4
Last Post: 23rd March 2006, 07: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
-
Forum Rules