What has the environment variable to do with the command line? You specify a dtsconfig file directly.
What is the error that you get?
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP