I would like to provide the source code referencing the environment variable to the command instead of evaluating the environment variable.
I need this to configure BizTalk from the command line, for example:
BTSTask.exe AddResource -ApplicationName: App1 -Type: System.BizTalk: BizTalkAssembly -Overwrite -source: .. \ Schemas \ Bin \ development \ App1.Schemas.dll -destination:% BTAD_InstallDir% \ App1.Schemas.dll
This command adds the resource to the BizTalk application. I want the destination to be% BTAD_InstallDir% \ App1.Schemas.dll, however, it currently evaluates the environment variable (to nothing) and uses \ App1.Schemas.dll.
Is it possible to avoid or disable the evaluation of this environment variable during analysis \ execution of this command?
I tried to slip away from the first and both percentages with a carrot (^), however this did not stop the evaluation.
[EDIT] When I execute this on the command line, it does not replace the environment variable, however, when I run it as a script, any thoughts on why this is different?
marcj source
share