How to add a default program that needs arguments

dav4is

New Member
I need to add a new default program for a particular filetype, but that program needs to have specific arguments or parameters.

Detailed information: The filetype is .ppw and the program to run them is a Rexx program (ppwizard.rex) that is interpreted by the Regina Rexx interpreter. So that should set the following for the .ppw default: Regina "ppwizard.rex %" , i.e. run Regina with ppwizard.rex as input, and the selected .ppw filename as an argument.

WINDOWS VISTA HOME PREMIUM (SP2)
Presario CQ60, 32 bit, 3GB RAM
 
Last edited:

My Computer

System One

  • Manufacturer/Model
    Presario CQ60
    Memory
    3GB
It's been a long time since I messed with Rexx. Does this implementation come with a gizmo to compile the particular script to .exe? If so, just compile it and make it the default program for that file type. Then the standard default program arg of "%1" made by Windows should work.
 

My Computer

System One

  • Manufacturer/Model
    HP Pavilion m9515y
    CPU
    Phenom X4 9850
    Memory
    8 GB
    Graphics Card(s)
    Some Radeon Cheapie with 512 MB Ram
    Monitor(s) Displays
    CRT
    Screen Resolution
    1280x1024
    Hard Drives
    750 GB SATA 3G
    2 SIIG Superspeed docks w/WD Caviar Black Sata II or III
OK, problem solved -- I think!:o

It turns out that the application install was setting this up correctly, but the effect was cancelled by a setting of "use default program" that I had previously set by way of experiment. This is remembered even across uninstall/install, which I thought should have cleared up any such interference. If I selected the "Notetab" default, then the application's options are correctly shown in the context menu: Edit/Run/Run with debug.

A quick Registry edit to remove that option from the list of default programs for .ppw (to reduce the likelihood of this happening again) was the final bit of business. (Remove unwanted programs from Recommended Programs List)

I was greatly helped in this by the ShellMenuView tool.
(ShellMenuView - Disable/enable context menu items of Explorer)

-R.
 

My Computer

System One

  • Manufacturer/Model
    Presario CQ60
    Memory
    3GB
Back
Top