Jump to content

Recommended Posts

Posted

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.


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

It is DEL /F /Q ;)

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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