widget and short cut
create short cut
Friday, June 2, 2006 by gaby75 | Discussion: DesktopX
I factories a widget for my children.
I create short cuts:
F:\ \ my file \ myfile \ myexe.exe
it's possible to make a relative way as in Javascript.
..\ myfile \ myexe.exe
if yes, how?
thank you
ps: sorry for my english.
Reply #2 Friday, June 2, 2006 1:08 PM
with “desktopXbuilder”, if I create short cuts, the addresses are complete.

if I send the widget towards another hard disk (exmple: c:/ ---> G://)the links are not good any more.it is possible not to use the complete address.
merci.

Reply #3 Friday, June 2, 2006 1:47 PM
Depending on what you know about the system you can also use the XP system variables.
I created a link to a text file using this path: %PROGRAMFILES%\Stardock\SDCentral\Download\test.txt
%PROGRAMFILES% is a system variable that is usually c:\ but if the other PC has it set as G:\ the link would go there.
You can find more variables here: http://vlaurie.com/computers2/Articles/environment.htm
I am sure you could also do what you want through scripting, but I am terrible at script writing.
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #1 Friday, June 2, 2006 10:29 AM
What kind of EXE? You could embed the exe in the widget: https://www.stardock.com/products/desktopx/documentation/Tutorials/CustomFonts.html
The steps are the same for an exe as a font.
You might also find this page useful: https://www.stardock.com/products/desktopx/documentation/Tutorials/Shell.html