Mail Archives: djgpp/2000/11/15/14:45:13.1
Todd Beckering a écrit :
>
> I'm trying to associate a bash command file with a windows file type, and am
> having a problem. I set up the associating pif command line:
> bash_path my_command_file_path %1
> but when I double click on a file, bash executes the file I click on (%1),
> instead of my command file. It looks like windows is executing:
> bash_path %1
> I've used pifs for other command files, and they work fine, including
> parameters. It's the %1 that seems to throw a monkey wrench in things.
> Any pointers on how to do this?
> Thanks.
>
> I'm running Windows ME.
I have only a pif for bash, which contains only c:\djgpp\bin\bash.exe in the command line (and a
setdjgpp.bat in the third line "command file" of the pif (not sure of the wording, I have a french
version of W98), since I use different compilers which may conflict)
Then I set the "open" command for the windows file type as
c:\djgpp\bin\bash.exe my_command_file_path '%1'
(the pif is selected automatically)
For me it works. If not the problem is with ME.
--
Maurice Lombardi
Laboratoire de Spectrometrie Physique,
Universite Joseph Fourier de Grenoble, BP87
38402 Saint Martin d'Heres Cedex FRANCE
Tel: 33 (0)4 76 51 47 51
Fax: 33 (0)4 76 51 45 44
mailto:Maurice DOT Lombardi AT ujf-grenoble DOT fr
- Raw text -