Trying to copy a file to two target locations using active setup


here's the value i use in the registry under stubpath :


cmd /c md "%userprofile%\local settings\application data\faststone\fsc\" & md "%userprofile%\application data\faststone\fsc\" & COPY "c:\program files\faststone capture\fsc.db" "%userprofile%\local settings\application data\faststone\fsc\" & COPY "c:\program files\faststone capture\fsc.db" "%userprofile%\application data\faststone\fsc\"


command line wont execute in active setup, but works if i run it manually. Any idea why?



0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity


This content is currently hidden from public view.
Reason: Removed by member request
For more information, visit our FAQ's.


Another way:

Use the DuplicateFile table.

Im not going to reinvent the wheel, but look here (:
If you have a entry point great! Otherwise you will be stuck with active setup, not so great but ok.

Regarding your question: Ive never seen active setup used like that before with the stubpath key.

Answered 04/09/2013 by: rileyz
Red Belt

Please log in to comment

why dont u write a vbscript which does all of the above operations and place the vbs in the active setup. Sounds good??

Answered 04/08/2013 by: talonsprem87
Tenth Degree Black Belt

Please log in to comment