+ Post New Thread
Results 1 to 3 of 3
Scripts Thread, need a script to delete shortcuts in Coding and Web Development; Hi could anyone throw a script my way, need to delete all the locally stored desktop shortcuts from C:\documents and ...
  1. #1

    Join Date
    Jun 2007
    Location
    Lancaster
    Posts
    91
    Thank Post
    4
    Thanked 3 Times in 3 Posts
    Rep Power
    15

    need a script to delete shortcuts

    Hi

    could anyone throw a script my way, need to delete all the locally stored desktop shortcuts from C:\documents and settings\all users\desktop folder on multiple pcs

    thanks in advance

    phil

  2. #2

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,460
    Thank Post
    646
    Thanked 1,614 Times in 1,444 Posts
    Rep Power
    419

    Re: need a script to delete shortcuts

    del "C:\documents and settings\all users\desktop\*.lnk"

    Run as a batch script on startup?

    Ben

  3. #3

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,240
    Thank Post
    1,058
    Thanked 1,068 Times in 625 Posts
    Rep Power
    740

    Re: need a script to delete shortcuts

    Stick a /f at the end just in case you have some read only shortcuts..... You never know.

SHARE:
+ Post New Thread

Similar Threads

  1. Script to Delete Profiles - PLEASE HELP
    By Mr_M_Cox in forum Scripts
    Replies: 13
    Last Post: 22nd February 2013, 03:53 PM
  2. Script to delete profile at log off?
    By woody in forum Windows
    Replies: 74
    Last Post: 15th February 2013, 02:28 PM
  3. Replies: 1
    Last Post: 21st December 2007, 06:27 PM
  4. Replies: 8
    Last Post: 17th November 2007, 09:04 PM
  5. Script to delete printer
    By tosca925 in forum Scripts
    Replies: 2
    Last Post: 31st August 2005, 07:45 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •