Dear all,
I'm just trying to create and edit *.lnk files via command line.
Target files for such links are batch (*.cmd ) files.
Creating such a file is relatively easy via OptimumXs' shortcut.exe (the one I use) .
However, I'm in the need that these *lnk files should rund a specific target *.cmd file as administrator.
To achieve this, a user normally opens the "Properties" of a *lnk file, navigates to the "Link" tab, klicks on "Advanced" and ticks the checkbox "Open as Administrator".
Programmatically, this option is not supported by shortcut.exe.
Using Tiny hexer (small edition) I figured out, which hex value is changed in the *lnk file if someone ticks the "Open as Adminstrator" checkbox.
Problem; how do I hex-edit a given file via command line/batch?
Could someone provide/recommend a (free) hex editor that supports suitable command line switches?
Thanks much in advance for any help here
Zharif