larciel Posted February 22, 2005 Posted February 22, 2005 I'm trying to delete a shortcut that i put in $Docs\all users\desktop of my UA CD 'IF' the program isn't installed .i know IF EXIST command works fine, but could anyone tell me opposite of that?IF not exist "$Progs\emule" DEL /S /Q "$docs\all users\desktop\emule.lnk"IF not exist "$Progs\emule" DEL /S /Q "$docs\all users\desktop\Uninstall emule.lnk"i tried this and i think i got it wrong..btw, would the .cmd handle spaces between path fine??tia.
Bâshrat the Sneaky Posted February 22, 2005 Posted February 22, 2005 I'm trying to delete a shortcut that i put in $Docs\all users\desktop of my UA CD 'IF' the program isn't installed .i know IF EXIST command works fine, but could anyone tell me opposite of that?IF not exist "$Progs\emule" DEL /S /Q "$docs\all users\desktop\emule.lnk"IF not exist "$Progs\emule" DEL /S /Q "$docs\all users\desktop\Uninstall emule.lnk"i tried this and i think i got it wrong..btw, would the .cmd handle spaces between path fine??tia.<{POST_SNAPBACK}>It is DEL /F /Q
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now