Topic "Can/should (exclude) path masks on Windows use backslashs?"

Author Message
UweKeim
[View user's profile]
Donor
Joined: 2009-02-11
Posts: 3
Location: Göppingen
Using your .NET interface, is this a valid exclude path mask for a local path?

Code:
var excludeFileMask = @"|c:\Backup-ToExternal\Full";


Or should I rather write something like this

Code:
var excludeFileMask = @"|c:/Backup-ToExternal/Full";


Or maybe even?

Code:
var excludeFileMask = @"|/Backup-ToExternal/Full";


My goal is to exclude everything below the path "c:\Backup-ToExternal\Full".
UweKeim
[View user's profile]
Donor
Joined: 2009-02-11
Posts: 3
Location: Göppingen
Most likely my question is way too simple to be answered here at all.

Could at least someone give me a pointer on how to do my own research?

Unfortunately I found zero examples and zero documentation on how to do what I want (i.e. specifying a full local path)
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
This first syntax is correct.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License