| || |
Can one use variables in File TC?
I am attempting to use the FileTC to compare a group of files. If i use hardcoded paths for the filenames it works fine. However when attempting to use variables, it uses the name of the variable vs. the value of it.
I've tried using &, +, quotes to no avail. Any suggestions....my example is below
Result = FileTC (Compare, "File1= &pathorig;File2= &pathnew","")
Re: Can one use variables in File TC?
Dim Result As Integer
Dim FileOne As String
Dim FileTwo As String
FileOne = "C:\abc.txt"
FileTwo = "C:\xyz.txt"
Result = FileVP (Compare, "File1=" & FileOne & ";File2=" & FileTwo, "VP=File Comparison")