M_K Posted August 18, 2004 Share Posted August 18, 2004 I have been using the cleanup.cmd file quite effectively to cleanup after the program installations, but I can not get rid of the Alcohol 120%.lnk on the desktop.I always test the code first so i tried without any success:DEL "%AllUsersprofile%\Desktop\Alcohol 120%.lnk"but it gives a file not found when tried in a dos window and notes that ...Alcohol 120.lnk could not be found, meaning it does include the % thus giving me a mismatch, does anyone have any advice? Thanks in advance. Link to comment Share on other sites More sharing options...
eirogge Posted August 18, 2004 Share Posted August 18, 2004 try the following instead:DEL "%AllUsersProfile%\Desktop\Alcohol*.lnk"this should do it. probably the %-sign is the thing the commandprompt does not want to process.there are some other ways to get this to work but the use of * should do it too. it's the same problem as with german ä, ö and ü or with the french ç. Link to comment Share on other sites More sharing options...
GreenMachine Posted August 18, 2004 Share Posted August 18, 2004 DEL "%AllUsersprofile%\Desktop\Alco*.lnk" Link to comment Share on other sites More sharing options...
M_K Posted August 18, 2004 Author Share Posted August 18, 2004 ok, sorry about that i just found a solution to it, which i fluked, the original was:DEL "%AllUsersprofile%\Desktop\Alcohol 120%.lnk", but for dos to recognise a % sign, i did this :DEL "%AllUsersprofile%\Desktop\Alcohol 120%%.lnk"with 2 % signs it worked. Link to comment Share on other sites More sharing options...
M_K Posted August 18, 2004 Author Share Posted August 18, 2004 thanks guys , i tried them but didnt work Link to comment Share on other sites More sharing options...
MHz Posted August 19, 2004 Share Posted August 19, 2004 Try this instead.DEL "%AllUsersprofile%\Desktop\Alcoho~1.lnk" Link to comment Share on other sites More sharing options...
mazin Posted August 19, 2004 Share Posted August 19, 2004 DEL "%AllUsersprofile%\Desktop\Alcohol 120%%.lnk"This is the only one that works for me from a CMD! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now