Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible for a Perl script running on a Unix/Linux platform to create Windows Shortcuts?

If I want to create a *nix symlink, I'll call symlink();, if i'm running a script on windows and I want to create a shortcut, I'd use Win32::Shortcut.

But what if I want to create a Windows shortcut if running a script from a *nix machine?

I'm accessing a SMB share on a Windows Server 2003 machine from my *nix machine.

like image 671
Powertieke Avatar asked Sep 29 '10 09:09

Powertieke


1 Answers

Well, I don't know if Samba provides an API for that. On the other hand, Windows shortcuts are just .lnk files in a specific format.

like image 102
Sinan Ünür Avatar answered Sep 21 '22 20:09

Sinan Ünür