Remove the application shortcuts from Public Desktop

Question

Dear Team,

I got a request to Remove the application shortcuts from Public Desktop.

I figure it out and created a package using the following parameters.

Command Line: cmd /c “del /F /Q “AppShortcut.lnk”.

However, no luck. Could you please assist me to fulfil the request.

Answers ( 4 )

    0
    2020-10-01T20:41:01+05:30

    As there is no reply hence closing the thread.

    2
    2020-09-21T18:00:25+05:30

    Copy below command line and make a batch file see if it works.

    del “%PUBLIC%\Desktop\filename.lnk”

      0
      2020-09-22T10:13:07+05:30

      Hello Ankit,

      Hope you are doing well.

      Thanks for the update, I verified given command is working fine. However, the requirement is to delete all the shortcuts is in the public folder.

      Here we need to mention the shortcuts name in the command, is there any way to delete all the shortcuts present in the public folder remotely in a bulk systems.

Leave an answer

Sorry, you do not have permission to answer to this question .