I am writing one PowerShell script which is reading a CSV file and in that script I am passing Dimension commands . One command is for connecting to serena dimensions and another is for fetching files from dimensions.
dmcli FI $Specification /USER_FILENAME=$FilePath
Here
$specificationis a value from the CSV file$filepathis the path to store the downloaded file
The above code is to fetch code from dimensions and copy into the folder.
The code is working fine but failed for filenames and specification having space.
Put the arguments in double quotes:
or like this:
If that doesn't work try running the command in CMD with environment variables: