Submit a ticketCall us

Don’t fall victim to a ransomware attack
Backups are helpful, but sometimes that’s not enough to protect your business against ransomware. At our live webcast we will discuss how to protect against ransomware attacks with SolarWinds® Patch Manager and how to leverage log data to detect ransomware. Register now for our live webcast.

Home > Success Center > Network Configuration Manager (NCM) > Problem with variables in NCM filenames

Problem with variables in NCM filenames

Table of contents

Updated March 7, 2017

Overview

You may find errors when using the $[time] variable in a filename.

Environment

NCM 7.5

Detail

Using the time variable introduces a : into the file name and gives an error:

The given path's format is not supported.

The current file path macro used:

C:\SRV\DATA\SolarWinds\NCM\Config-Report\${AgentIP}-${Date}-${Time}.txt which causes a file name like C:\SRV\DATA\SolarWinds\NCM\Config-Report\172.16.45.254-2-10-2017-14:59.txt

 

Instead, use something like this:

D:\SRV\DATA\SolarWinds\NCM\Config-Report\${AgentIP}-${Date}- ${HOUR}-${MINUTE}.txt

 

This will allow excluding the ‘:’ character from file path, which is not allowed to use in filename.

 

 

Last modified
17:24, 6 Mar 2017

Tags

Classifications

Public