I have a problem with the "target" file path being truncated after the 8th character in the second line of code below. The first is ok and they are identical except for the drive letter, which is a remote network drive.
Does anyone have an idea as to why it is being truncated?
Shell.CreateShortcut(icon_folder, icon_name, bpath..batchname, save, utsfolder, utsfolder.."\\wise.ico", 0, 7, nil);
Shell.CreateShortcut(icon_folder, "WKS_"..icon_name, targetp, "", remote_utsfolder, remote_utsfolder.."\\wise.ico", 0, 7, nil);
Thanks,
Lee
Does anyone have an idea as to why it is being truncated?
Shell.CreateShortcut(icon_folder, icon_name, bpath..batchname, save, utsfolder, utsfolder.."\\wise.ico", 0, 7, nil);
Shell.CreateShortcut(icon_folder, "WKS_"..icon_name, targetp, "", remote_utsfolder, remote_utsfolder.."\\wise.ico", 0, 7, nil);
Thanks,
Lee
Comment