Darren Rose
Darren Rose
Meant to say any testing I can do to help resolve this please let me know. I am not very good at RegEx so will rely on your skills for...
Excellent, thank you, much appreciated
For Allowed the slashes would need to be other way round - as // would be for Linux / Unix e.g. \\\Server\Drive$\Folder \\\Server\Folder But yes that covers the base
@RFBomb - thank you so much for looking at this. The following example doesn't seem to work ` Dim x = RoboCommandParser.TryParse("C:\Users\darren\OneDrive\Desktop\Working \\XPSDESKTOP\test ""*.*"" /COPY:DAT /DCOPY:DA /E /SEC /MOVE /R:2...
Seems to be a GitHub formatting issue as I pasted it from Visual Studio and for some reason it changed it.... pasted again below as code snippet which displays correctly...
Just in case it helps resolve it, if I reverse the source and destination e.g. ` Dim x = RoboCommandParser.TryParse("\\XPSDESKTOP\test C:\Users\darre\OneDrive\Desktop\Working ""*.*"" /COPY:DAT /DCOPY:DA /E /SEC /MOVE /R:2 /W:2 /V...
Been "trying" to resolve this myself and I believe it maybe to do with the regex on line 42 of RoboCommandParserFunctions.cs, because when testing in Regex101 I get the same...
Further information from my testing: It parses correctly if a destination UNC path is quoted, so below works fine, which would indicate second regex on line 42 is working correctly...
Now I am definitely no expert on RegEx, but playing with Regex101 changing line 42 from `internal const string uncRegex = @"([\\\/]{2}[^*:?""|$\s]+?[$]?[\\\/][^*:?""|\s]+?) | (""[\\\/]{2}[^*:?""|$]+?[$]?[\\\/][^*:?""|]+?"")";` to ` internal const string uncRegex...
@RFBomb - thank you very much for the last commits, initial testing appears that all is working well. Is there anything specific changed I need to know about or test...