Jump to content

Recommended Posts


Posted

Here Is A VBS file that does the same as Yzöwl

Like His The Drive Does Not Matter

ON ERROR RESUME NEXT

Dim Shell : Set Shell = WScript.CreateObject("WScript.Shell")

Dim AP : AP = Shell.ExpandEnvironmentStrings("%AllUsersProfile%")

Set fso = CreateObject("Scripting.FileSystemObject")

fso.DeleteFile( AP & "\Desktop\ *.lnk")

Yzöwl nice coding.

  • 2 weeks later...
Posted

i have a dutch XP and it wont work

i tried the vbs also.

I even renamed the word desktop into dutch ( Bureaublad )

Nothing happens.

So i must do something wrong

for /d %%a in ("%AllUsersProfile:\All Users=%\*") do if exist "%%~a\Desktop\*" del /q "%%~a\Desktop\*.lnk"

How i put this in my .cmd ?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...