Batch file help

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I effectively use variables in my batch files? I am trying to delete
a file from the desktop of the currently logged on user. I tried the below:

del %userprofile%\desktop\realplay.exe


It failed with "The systen cannot find the path specified".

Thanks.
 
Back
Top