|
|
|
date: Tue, 1 Jul 2008 19:00:52 -0700 (PDT),
group: microsoft.public.win2000.general
back
Re: File association works on one machine and not another
Thanks Pegasus. Unfortunately, I am not 100% on what I'm doing with
those commands.
Have tried a few variations to get something useful back to you but no
results yet.
For example, your suggestion echo %ComputerName% > c:\test.txt". I
have typed this in substituting the full computer name (qualified with
local domain) or the short name, with and without echo (echo is
onanyway), creating a file as named in the suggestion and using that
verbatim, using a file which is associated with the program.
All to no avail. If I leave out "echo", I get an error "%ComputerName
% is not recognised as an internal or external command"... where
%ComputerName% indicates whichever name I have used in that particular
attempt. If I use "echo" in the command, I simply get returned to the
command line with no result.
"associate" is also not recognised as a command.
It seems I am missing something in your suggestion. Can you direct me
please? Thanks.
On Jul 3, 2:02 am, "Pegasus \(MVP\)" wrote:
> wrote in message
>
> news:cb1fcaad-6fff-4b5a-87ba-05c92c3c43db@w1g2000prd.googlegroups.com...
>
>
>
>
>
> >I have an application for which I have to create a file association on
> > each computer where I use it.
>
> > I go to the "File Types" dialogue box.
> > Click "New"
> > Type the file extension
> > Click on the advanced settings
> > Click "New" in the actions area
> > Type "open"
> > Type "<path>.exe" "%1"
> > OK back to Windows Explorer
>
> > On computer A, every file with the file extension opens in the program
> > requested when I double click on it in Windows Explorer or click on a
> > hyperlink in Word or Excel.
>
> > On computer B, the program opens, but without opening the file on
> > which I double clicked.
>
> > Both computers have identical file assocations set up, as detailed
> > above.
>
> > Does anybody know why the assocation would work differently on one
> > machine compared to another?
>
> Try this on each machine:
> - Click Start / Run / cmd {OK}
> - Type these commands:
> echo %ComputerName% > c:\test.txt
> associate .XXX >> c:\test.txt
> notepad c:\test.txt
> - Paste the text you see into your reply and report which
> machine is the problem machine.
>
> You can download associate.exe for a day or two from here:http://www.hotlinkfiles.com/files/1528231_0pbws/associate.exe- Hide quoted text -
>
> - Show quoted text -
date: Sun, 20 Jul 2008 22:17:06 -0700 (PDT)
author: unknown
|
|