can MacroScheduler copy a shortcut to a folder?

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
caomeisanhao
Junior Coder
Posts: 28
Joined: Wed Jun 08, 2005 2:48 pm

can MacroScheduler copy a shortcut to a folder?

Post by caomeisanhao » Wed Jun 29, 2005 2:56 pm

Hi,guys
can MacroScheduler copy a shortcut to a folder?
I have tried copy a file abc.txt to a fold C:\aaa\,i have a question.

I do "CopyFile>C:\abc.txt,C:\aaa\" ,it works.and I get abc.txt in C:\aaa\,
but if I make a shortcut for abc.txt,and copy the shortcut to C:\bbb\,it seems the same as above,just like:

CopyFile>C:\shortcut for abc.txt, C:\bbb\

but it doesnot work, I found no shortcut for abd.txt in C:\bbb\

why?

Luciano
Junior Coder
Posts: 31
Joined: Fri Feb 11, 2005 1:10 pm
Location: Ghent, BELGIUM

Post by Luciano » Wed Jun 29, 2005 7:16 pm

Hi,

A shortcut for a txt file abc.txt has a hidden extention .lnk. So the real name for "shortcut for abc.txt" is "Shortcut for abc.txt.lnk"

Try

CopyFile>C:\shortcut for abc.txt.lnk, C:\bbb\

Greetings

Luciano

caomeisanhao
Junior Coder
Posts: 28
Joined: Wed Jun 08, 2005 2:48 pm

thanks!

Post by caomeisanhao » Thu Jun 30, 2005 7:40 am

hui, thanks, it works as you say.

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts