Well, I see a couple of issues.. (besides the double spaces).

What is "test" - a file or folder? It doesn't have an extension like most files would, so the assumption might be it's a folder, but you try to DEL it, so it must be a file.. It would be pretty unusual for a file on a Windows system NOT to have an extension, so I'm guessing you have "hide extensions" enabled in explorer (bad idea, BTW) and don't know that it actually has an extension.

Considering the location on the QL bar, it's likely a .lnk file - when I open a command prompt and navigate to that location, a DIR tells me that the folder is filled with .LNK files, but no folders.

The code
 Code:
Del 'aFileThatDoesNotExist' @SERROR ?
always returns a success message. This also is an issue, since your code never checks to see if the file of interest actually exists - it relies on the exit status of the command, which you clearly haven't tested for functionality within the scope of your design.

When things don't work as expected, STOP TESTING YOUR CODE and start testing the COMPONENTS of your code. Simplify! It's easier to troubleshoot 1-2 lines of code than an entire script.
  • Create small scriptlets with single processes.. when they work, combine them into a larger package. If they don't work, check the manual and compare that with your understanding of the command(s).
  • Work at the command prompt when developing code - unlike the GUI (which (by default) treats you like a moron and hides all kind of important information unless you configure it otherwise) - the command prompt does not lie or mislead. Browse to the Quick Launch folder in Explorer - what do you see? Open a command prompt, type
     Code:
    CD "%APPDIR%\Internet Explorer\QuickLaunch
    Dir
    What do you see there? Does it exactly match what Explorer shows you? I doubt it.
  • Add debugging messages that identify the results, or even run the commands a second time to display the results on the screen. Don't assume what's being assigned to a variable - KNOW!
Glenn
_________________________
Actually I am a Rocket Scientist! \:D