M
mschoonmaker
I need to be able to replace the system's SHELL with a EXE
(say, 'Excel.exe'), this is no problem for me. However, I
need the EXE to load a particular program ('sample.xls')
that is in another folder (say, 'temp'). This, by itself,
is also no problem.
HOWEVER, I MUST end up executing from the 'temp' folder,
as there is legacy code in the xls file that expects the
currently executing directory to be itself.
In DOS, I would have built a BATCH file with a 'CD \temp'
statement in it before calling the EXE. However, I need to
perform this operation in a single line of code in the
shell statement (in the registry!)
(say, 'Excel.exe'), this is no problem for me. However, I
need the EXE to load a particular program ('sample.xls')
that is in another folder (say, 'temp'). This, by itself,
is also no problem.
HOWEVER, I MUST end up executing from the 'temp' folder,
as there is legacy code in the xls file that expects the
currently executing directory to be itself.
In DOS, I would have built a BATCH file with a 'CD \temp'
statement in it before calling the EXE. However, I need to
perform this operation in a single line of code in the
shell statement (in the registry!)