ender341 Posted August 19, 2005 Share Posted August 19, 2005 (edited) I'm trying to use this in my cleanup.cmdDEL "%allUsersProfile%\Desktop\*.*"DEL "%UserProfile%\Desktop\*.*"(I like a nice clean desktop)but it asks me if i want to delete the files, How do you automaticly tell it to say yes, or get it to not ask at all? Edited August 19, 2005 by ender341 Link to comment Share on other sites More sharing options...
Senax Posted August 19, 2005 Share Posted August 19, 2005 (edited) DEL "%allUsersProfile%\Desktop\*.*"DEL "%UserProfile%\Desktop\*.*"but it asks me if i want to delete the files, How do you automaticly tell it to say yes, or get it to not ask at all?<{POST_SNAPBACK}>Simple:DEL /q "%allUsersProfile%\Desktop\*.*"DEL /q "%UserProfile%\Desktop\*.*"/q(uiet)HTHSenax Edited August 19, 2005 by Senax Link to comment Share on other sites More sharing options...
ender341 Posted August 19, 2005 Author Share Posted August 19, 2005 Thanks Senax Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now