- Jul 11, 2004
- 21,867
- 7
- 81
I have a tea timing program that creates a shortcut for itself on the desktop when it executes. Being that I keep my desktop empty (no icons), this is really annoying. I want to create a batch file that opens the program, waits a seconds, then deletes the shorcut.
I know how to make basic batch files, but the DEL command does not seem to work on shortcuts.
DEL "C:\Documents and Settings\Justin\Desktop\TeaTimer"
It says it cannot find the file (the shortcut is named TeaTimer).
How do I delete this shorcut?
I know how to make basic batch files, but the DEL command does not seem to work on shortcuts.
DEL "C:\Documents and Settings\Justin\Desktop\TeaTimer"
It says it cannot find the file (the shortcut is named TeaTimer).
How do I delete this shorcut?