Yes… sorta like what you coded, but you have to be cautious of single vs. 
double-quotes.  Double-quotes (in any literal) allow the use of escape 
sequences, which are prefixed with (you guessed it…) backslashes, so certain 
values can be “eaten”, messing up the resulting file name.  You can avoid that 
possible problem, by escaping each of the backslashes, but I tend to 
single-quote most Windows file name values, to ensure that I don’t have to mess 
with that (because single-quoted literals are not evaluated for escape 
sequences).  Bottom line, exactly what you have below, but simply bounded by 
single-quotes.

From: ken delaney [mailto:kenneth.dela...@gmail.com]
Sent: Wednesday, June 18, 2014 8:18 AM
To: nxlog-ce-users@lists.sourceforge.net
Subject: [nxlog-ce-users] Output Module File Path

What is the proper syntax for File path in the Output module on a Windows 
system?

I have the following but not sure if it should be something else like 
"C:\logs\logmsg.txt":
File   "/logs/logmsg.txt"
Thank You
smallberries

--
Phone: 540.300.5081


----------------------------------------------------------------------
The information transmitted, including any content in this communication is 
confidential, is intended only for the use of the intended recipient and is the 
property of The Western Union Company or its affiliates and subsidiaries. If 
you are not the intended recipient, you are hereby notified that any use of the 
information contained in or transmitted with the communication or 
dissemination, distribution, or copying of this communication is strictly 
prohibited. If you have received this communication in error, please notify the 
Western Union sender immediately by replying to this message and delete the 
original message
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

Reply via email to