Computing.Net > Forums > Windows XP > Internet shortcut script

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Internet shortcut script

Reply to Message Icon

Original Message
Name: Chris (by Chris Kirk)
Date: April 1, 2008 at 11:34:40 Pacific
Subject: Internet shortcut script
OS: XP PRO
CPU/Ram: _
Manufacturer/Model: _
Comment:

Hello,
Is there a script to create a internet shortcut that is deleted on log on.
Any help
Thanks


Report Offensive Message For Removal


Response Number 1
Name: TheNerd
Date: April 1, 2008 at 12:21:46 Pacific
Reply:

You could create a batch file and put it in your startup folder.

Tech Alpha Computer Forums


Report Offensive Follow Up For Removal

Response Number 2
Name: Chris (by Chris Kirk)
Date: April 1, 2008 at 12:29:13 Pacific
Reply:

Do you the batch file that would do this


Report Offensive Follow Up For Removal

Response Number 3
Name: TheNerd
Date: April 1, 2008 at 12:52:26 Pacific
Reply:

something like

del "c:\Documents and Settings\username\desktop\shortcut.lnk"

Do you need it created as well or just deleted when logging on ?

I don't know what you would need to create a shortcut with a batch file. You might need some VB script for that.

Tech Alpha Computer Forums


Report Offensive Follow Up For Removal

Response Number 4
Name: Chris (by Chris Kirk)
Date: April 1, 2008 at 15:22:54 Pacific
Reply:

Well it what it needs to do (Maby 2 scrips) is to create the shortcut when the usesr logs on and delets it when they log off. I do not have a domain or AD, (It has to work Localy) from the start up menu and local group policy. And I do not want to creat the shortcut for all users, so can not use the start up or log in script on group policy, but may be able to use it for log off script to delet the shortcut
Thanks.


Report Offensive Follow Up For Removal

Response Number 5
Name: TheNerd
Date: April 2, 2008 at 14:28:34 Pacific
Reply:

well I'm not sure but maybe you could create the shortcut and hid in somewhere like say the C:\windows directory. Then create 1 script to copy the file to the desktop and 1 script to delete it. But thinking about it I'm not sure if there is a way to run scripts upon logoff.

If this is going to happen each time why wouldn't you just create a shortcut on this user's desktop (under his profile directory) and then he would be the only one who would see it when he logs it on.

Tech Alpha Computer Forums


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home



Results for: Internet shortcut script

internet explorer script error
    Summary: I keep getting an internet explorer script error when I try to print documents on the internet... Line 639 Char 1 error Invalid arguement code 0 URL: res://C:\\WINDOWS\system32\shdoclc.dll/preview/dl...
www.computing.net/answers/windows-xp/internet-explorer-script-error/76411.html

Internet explorer script errors
    Summary: I keep getting an internet explorer script error when I try to print documents on the internet... Line 639 Char 1 error Invalid arguement code 0 URL: res://C:\\WINDOWS\system32\shdoclc.dll/preview/dl...
www.computing.net/answers/windows-xp/internet-explorer-script-errors/76119.html

internet shortcut icons
    Summary: In all previous windows versions it was an easy thing to do! A url quick link or internet shortcut on the desktop could ALWAYS be changed to whatever you wanted. If a website sent along its favicon (...
www.computing.net/answers/windows-xp/internet-shortcut-icons/49278.html








Which MP3 player do you have?

iPod/iPhone
Zune
Something Else
None


View Results

Poll Finishes Today.
Discuss in The Lounge
Poll History






Data Recovery Software