Is it possible that the Perl script runs on a Unix / Linux platform to create Windows shortcuts?

If I want to create a * nix symbolic link, I will call symlink();if I run the script on Windows and I want to create a shortcut, I would use Win32::Shortcut.

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

I access the SMB resource on a Windows Server 2003 machine from my * nix machine.

+5
source share
2 answers

Well, I don't know if the Samba will provide an API for this. Windows shortcuts, on the other hand, are just files .lnkin a specific format.

+7
source

, .

, - lnk . bash, C ( ).

, , :
  http://www.mamachine.org/mslink/index.en.html

+1

All Articles