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
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