Anaplan Connect set Directory as a variable

Hi, for those who do ot want to key in very long directory names, you may find it usefull to add a line in the batch, for example immediatly after the ModelId intruciton, and this extra line is illustrated below : it's the "SET DirImport" statement : set ModelId="My ModelID"set DirImport=\\servername\directory\ANAPLANset Operation=-file "my file.txt" -put "%DirImport%\File name.txt" -execute -output "%DirImport%\Log file.log" This trick will save you lot of time. any comment / improvement welcome. Kind regards. Michel

Answers

  • Hi,
    for those who do ot want to key in very long directory names, you may find it usefull to add a line in the batch, for example immediatly after the ModelId intruciton, and this extra line is illustrated below : it's the "SET DirImport" statement :

    set ModelId="My ModelID"set DirImport=\\servername\directory\ANAPLANset Operation=-file "my file.txt" -put "%DirImport%\File name.txt" -execute -output "%DirImport%\Log file.log"
    This trick will save you lot of time.

    any comment / improvement welcome.

    Kind regards.
    Michel