|
Hello All, I'm trying to copy a file from my domain controller using KIX 4.60 copy command and I've noticed a slight difference between the earlier versions of KIX and the new version of KIX.
If I execute the following code;
@KIX ? $XLA_Srce = "\\csenergy\netlogon\files\TSJXL9.XLA" $XLA_Dest = "C:\Documents and Settings\goneill\Application Data\Microsoft\Excel\XLSTART" $XLA_Srce ? $XLA_Dest ? Copy $XLA_Srce $XLA_Dest 'Code (' + @ERROR + ') ' + @SERROR ?
Result: 4.60 \\domain\netlogon\files\TSJXL9.XLA C:\Documents and Settings\goneill\Application Data\Microsoft\Excel\XLSTART Code (0) The operation completed successfully.
As you can see from the result it says that the copy was successfully however the file isn't copied. If I run the same code using 4.53 or 4.51 then it works successfully and the file is actually copied.
If I add a backslash "\" to the end of the destination path it works for all versions. e.g. $XLA_Dest = "C:\Documents and Settings\goneill\Application Data\Microsoft\Excel\XLSTART\"
Is anyone else able to reproduce this behaviour? Is this a bug or is it expected?
thanks.
|