batch file to set IE's print margins

  • Thread starter Thread starter John A Grandy
  • Start date Start date
J

John A Grandy

is it possible to write an nt-cmd-language batch-file to set Internet
Explorer's default print-margins?

i am referring to the values contained in the registry at:

HKEY_CURRENT_USER/Software/Microsoft/Internet Explorer/PageSetup/
margin_bottom
margin_left
margin_right
margin_top

i'd like this .bat file to run on system startup
 
If you set the values as you want, fire up RegEdit, select the key and then
use RegEdit's "Export" function to create a .reg file you can do exactly
that.

Double-check the .reg file with notepad to ensure you haven't exported too
much!

To make the .reg file run silently, use "regedit /s myfile.reg". Create a
batch file with this line in and stick it in your startup folder.

Regards

Oli
 
Back
Top