Yzöwl Posted May 12, 2005 Posted May 12, 2005 Okay, that's great!Now, let's try to keep it our little secret
gunsmokingman Posted May 12, 2005 Posted May 12, 2005 Here Is A VBS file that does the same as Yzöwl Like His The Drive Does Not MatterON ERROR RESUME NEXTDim 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.
muiz Posted May 21, 2005 Posted May 21, 2005 i have a dutch XP and it wont worki tried the vbs also.I even renamed the word desktop into dutch ( Bureaublad )Nothing happens.So i must do something wrongfor /d %%a in ("%AllUsersProfile:\All Users=%\*") do if exist "%%~a\Desktop\*" del /q "%%~a\Desktop\*.lnk"How i put this in my .cmd ?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now