Jump to content

Recommended Posts

Posted (edited)

Hi i need to delete files using forfiles which works fine but i need it to list the results, my command just seems to delete the files here is what i have used

 

forfiles p c:\windows\system32\logfiles s d -5 /c "cmd c del @FILE"

 

what do i need to put on the end to list the results

 

I am new to using forfiles so sorry if i seem a bit stupid

 

thanks

Edited by gillwadep

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...