mr
Mon Jan 03 12:38:57 CST 2005
hi sali,
If you are dealing with a dos app, you are not using a normal windows
shortcut.
Rather, what you get is a "pif" file.
You will need to read up on pif files, here is one page for that:
http://www.smsoft.ru/en/pifdoc.htm
More specifically, you will find the bit that controls "close on exit"
in offset 63h, bit 10h of the pif file.
Now you know where it is, you will have to do some binary editing
via script -- which is (theoretically) possible, but involves some
very nasty messing around with the "B" functions (LenB, MidB, etc).
good luck, jw
"sali" <gabor.salai@tel.net.ba> wrote in message
news:O%23PPI0O8EHA.2608@TK2MSFTNGP10.phx.gbl...
> there is scripting object "shortcut", but it mainly manages target, name,
> path etc ...
> is it possible to manage *every* item appearing on shortcut's sheet with
> vbscript, like gui does?
> i am specialy interested on setting "close on exit" for dos prompts
> shortcuts.
>
>