Creating Windows Shortcuts in Linux
456
Below is a link to a Linux tool which allows you to create Windows shortcuts. The source code is available in both Bash and C:
http://www.mamachine.org/mslink/index.en.html
# Combine with WINE to target a path in a WINE installation
mslink.sh -l "$(winepath -w /linux/path/to/target )" -o /path/to/link.lnk
Related videos on Youtube
Author by
Pena
Updated on September 18, 2022Comments
-
Pena over 1 year
I'm trying to install deadbolt on Play 2.2.1 java... Where is the error? I found several threads on the internet talking about this problem, but no answer solved my problem. Can anyone help me?
plugins.sbt
logLevel := Level.Warn resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/" resolvers += Resolver.url("Objectify Play Repository", url("http://schaloner.github.com/releases/"))(Resolver.ivyStylePatterns) resolvers += Resolver.url("Objectify Play Snapshot Repository", url("http://schaloner.github.com/snapshots/"))(Resolver.ivyStylePatterns) addSbtPlugin("com.typesafe.play" % "sbt-plugin" % System.getProperty("play.version"))
build.sbt
import play.Project._ name := "computer-database-jpa" version := "1.0" libraryDependencies ++= Seq( javaJdbc, javaJpa, "org.hibernate" % "hibernate-entitymanager" % "3.6.9.Final", "org.postgresql" % "postgresql" % "9.3-1100-jdbc4", "be.objectify" %% "deadbolt-java" % "2.2-RC4" ) playJavaSettings
log
[warn] ==== public: tried [warn] http://repo1.maven.org/maven2/be/objectify/deadbolt-java_2.10/2.2-RC2/deadbolt-java_2.10-2.2-RC2.pom [warn] ==== Typesafe Releases Repository: tried [warn] http://repo.typesafe.com/typesafe/releases/be/objectify/deadbolt-java_2.10/2.2-RC2/deadbolt-java_2.10-2.2-RC2.pom [info] Resolving org.fusesource.jansi#jansi;1.4 ... [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: be.objectify#deadbolt-java_2.10;2.2-RC2: not found [warn] :::::::::::::::::::::::::::::::::::::::::::::: [trace] Stack trace suppressed: run last *:update for the full output. [error] (*:update) sbt.ResolveException: unresolved dependency: be.objectify#deadbolt- java_2.10;2.2-RC2: not found [error] Total time: 2 s, completed 27/04/2014 17:14:27
-
Angel Todorov over 8 yearsI found a couple of interesting links: msdn.microsoft.com/en-us/library/windows/desktop/… and ithreats.files.wordpress.com/2009/05/… . Good luck.
-
Gilles 'SO- stop being evil' over 8 yearsIIRC Cygwin includes a utility that creates Windows shortcuts without using using Windows libraries, so it should work on Linux. I don't remember what the utility is called.
-
-
David over 5 yearsConfirmed that mslink can create a shortcut to a UNC path and directory; which is more than I can say for all the Python stuff I was looking at.
-
palswim about 5 yearsThe author created this tool is a SX user, mamachine.