boromb
21st November 2006 10:09 UTC
Problem with CreateShortcut
Hello!
I have problem with a created shortcut. It creates wrong.
Code:
CreateShortCut "$SENDTO\test_maskin.lnk" "\\server\jre\bin\javaw.exe -jar" "\\server\utv_java\Java_skicka_till.jar \\server\utv_dok2\maskin"
It results in a shortcut on the right place but with "" around the string i shortcut properties.
Having those chars around makes my shortcut unusable.
When I remove "" chars it works fine.
Can I create a shortcut without "" around the string?
Best regards!
boromb
21st November 2006 10:57 UTC
In the properties of the shortcut
"\\server\jre\bin\javaw.exe -jar \\server\utv_java\Java_skicka_till.jar \\server\utv_dok2\maskin"
If I remove " chars then the shortcut work. Any ideas?
\\server\jre\bin\javaw.exe -jar \\server\utv_java\Java_skicka_till.jar \\server\utv_dok2\maskin
Please help
Afrow UK
21st November 2006 11:42 UTC
Try this:
CreateShortCut "$SENDTO\test_maskin.lnk" "\\server\jre\bin\javaw.exe" "-jar \\server\utv_java\Java_skicka_till.jar \\server\utv_dok2\maskin"
-Stu
boromb
21st November 2006 12:17 UTC
! W O R K S !
Thank you man!
Best regards!