Im trying to launch a bat file which clears out a few files from the users terminal server windows directory but Im not sure how to acheive this. Each time the user logs on, I want the batch file to run, I can get the file to run but I cannot get the syntax right to delete the file.
I tried this but its ignoring the %user% bit
del "c:\documents and settings\%user%\windows\start.ini"
Any ideas guys?