Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


sschroed
2012-02-21T07:59:30Z
Hi, ive another question but maybe it is still implemented.

We often use VC to copy folders to another share. Sometimes ppl just put a .lnk file in instead of the valid file.

Is it possible - maybe through a variable, let VC resolve this link and copy the file behind the shortcut instead of the .lnk file.

Thanks, Sebastian

Sponsor
Forum information
Support
2012-02-21T08:21:23Z
We do not have any built in way for that. Lnk-files are some kind of binary files. However, we took the time to create a small exe that can get the Target path for a lnk file. You could use this in an Execute Task.

I am attaching the project with exe.
File Attachment(s):
GetLinkPath.zip (40kb) downloaded 69 time(s).

Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
sschroed
2012-02-21T08:55:19Z
Hello Hendrik,
thanks for you very quick response.

Do you mean i should start the first task to execute "getlinkpath.exe" in the target workdir - and start a second task with copying the variables of the first task?

Somehow if i execute the getlink - VC will just say "Error description was not found" - Exception in Task: Non zero exit code

Regards, Sebastian
Support
2012-02-21T08:59:42Z
You need to supply a full path to the lnk file as argument.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top