string f = "C:\[email protected]"
cmd = new P4Command(p4, "add", true, "-c", changelist.Id.ToString(), f);
When my file name contains "@" this character , it log error exception :
add file get this Can't add filenames with wildcards [@#%*] in them
How do I fix that , I using p4api.net.
From the command line you can pass the
-fflag to force files with wildcards to be added:It looks like
P4Commandlets you just pass a server command (and its arguments) to the constructor, so you should be able to do: