Quote: Originally Posted by Ztruker
What happens when you try to run it?
%ALLUSERSPROFILE% is valid in Win 7, points to C:\Programdata
%ALLUSERSPROFILE%\desktop\Spark.exe.lnk" "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Startup is also valid, so it the copy and delete should work.
When I run it it says "spark.exe.lnk cant be found" on all three operations.
But %ALLUSERSPROFILE%\desktop\Spark.exe.lnk -> c:\programdata\desktop\spark.exe.lnk .. But there is no user data in "programdata" is there?
I might be completly wrong.
But when I run it, it dosent find the file, so it cant copy it or remove it.