Computing Staff
  • 0

Add ProgMan Groups And Items From Batch Files

  • 0

HI,

Do you know any way/tool to add Program Manager groups and items from within a Batch file ?

I made an Install.bat and I would like to automatically add a shortcut in Program Manager for my application.
But how can I create a new icon group or a new Item in ProgMan?

Any idea?

thanks!

Share

1 Answer

  1. While Windows is running, it’s not possible without an additional tool which can send data through DDE to Windows, because the program/group manipulation (at runtime) is only exposed through DDE by PROGMAN.

    Without DDE, it can only be done while Windows is not running, by modifying an existing .grp program group binary file, or creating the file from scratch add add it into the progman.ini file. And the “Microsoft Tool” program group added by MS-DOS v6.x installation, came from a pregenerated .grp file which is included in the installation floppy disks. From DOS, it would be quite difficult to achieve this using command.com because of its very limited capability in comparison with Windows’ CMD. 4DOS should be used instead. debug can be used to modify any existing binary file or create a new one.

    • 0