PDA

View Full Version : Shortcut in My Computer isn't quite working



neilt
05-15-2001, 10:25 PM
OK, I followed the directions to create a new shortcut in 'My Computer', but I have one problem. This is complicated so I hope I can explain it right. I created a program to grab the user name out of the registry and make a shortcut on the desktop to their folder on the server. I also want to make a shortcut in 'My Computer'. I followed the directions to do that offered on this web site and they worked with one exception. When I click on the shortcut I created in 'My Computer', windows asks me if I want to download a file.

ex. You have chosen to download a file from this location.
Home Drive.lnk from C:\Windows\Desktop
If I choose run it will then open the right folder.

Here is what I'm using in the registry for the link:
default = "c:\windows\explorer /n /root,c:\windows\desktop\home drive.lnk

Is it even possible for me to do what I want to, or am I wasting my time?

All help is appreciated.

RWSchlatter
05-17-2001, 01:47 AM
please check if you can use some information and links mentioned in thread:
<a target="_blank" href=http://forums.winguides.com/showflat.php?Cat=&Board=brdQuestions&Number=15502&page=0&view=collapsed&sb=5&part=>http://forums.winguides.com/showflat.php?Cat=&Board=brdQuestions&Number=15502&page=0&view=collapsed&sb=5&part=</a>

______________
Regards - Richard

cluberti
06-15-2001, 04:00 PM
I think, that for what you want to do, using wscript or vbscript would be much better (and cleaner).