scripts in FBA generic commands and run once requests



Fabian
07-09-2005, 09:26 PM
Hi,
I included a .wsf script in an FBA generic command and in a runonce
requests and always got exit codes 0x1 in fbalog though I was using
parametrized pathnames %11%\wscript.exe for the executable and //B
%16422%\somedir\something.wsf for the argument.
When I was placing the file in Windows\system32\ however, everything
runs smoothly. It seems like FBAlaunch either does not handle file
paths correctly (at least when containing space chars) or it
concatenates them with wherever the executable runs.
Does anybody know how to run generic command scripts from arbitrary
file paths?
Thanks,
Fabian

Slobodan Brcin \(eMVP\)
07-09-2005, 09:26 PM
Fabian,

All commands that will be executed during the FBA are stored in registry. Please use regedit to open offline registry files and find
out how path is written in registry by TD.
%11%, ... are resolved by TD only XP(e) do not know anything about %11% and other values used by XPe tools. D

uring the runtime other path shortcuts are used defined in set like:
%SystemRoot%
%SystemDrive% etc.

Regards,
Slobodan

"Fabian" <fabian.wenger@telia.com> wrote in message news:1117824284.803866.184050@f14g2000cwb.googlegroups.com...
> Hi,
> I included a .wsf script in an FBA generic command and in a runonce
> requests and always got exit codes 0x1 in fbalog though I was using
> parametrized pathnames %11%\wscript.exe for the executable and //B
> %16422%\somedir\something.wsf for the argument.
> When I was placing the file in Windows\system32\ however, everything
> runs smoothly. It seems like FBAlaunch either does not handle file
> paths correctly (at least when containing space chars) or it
> concatenates them with wherever the executable runs.
> Does anybody know how to run generic command scripts from arbitrary
> file paths?
> Thanks,
> Fabian
>

Fabian
07-09-2005, 09:26 PM
Dear Slobodan,
thank you very much for your help, I could find the info in the
registry, so this resolves the problem.
Best,
Fabian


scripts in FBA generic commands and run once requests