Jump to content

delete wpi folder after completion

Recommended Posts

Hi all, I have been trying to figure out how I can set wpi to delete its folder after its done.


i copy wpi folder to computer

start wpi

wpi finishes

now i would like to add a cmd so it can delete itself after being completed. leaving no files or folders.

any ideas? thanks

Link to comment
Share on other sites

Thanks, thats what I thought...

I work for a non-profit and rebuild many systems and for the longest time we had admin rights to a computer we use

but they changed all computers and now we don't have admin rights. cant create share, etc.

I was running it from network but now only option is to copy it to the systems, or run from cd but don't want to do that for reason of maybe forgetting cd.

Only have one thumb drive and it was way too slow from flash drive.

No big deal just trying to make things more efficient.

thanks or all your hard work


Link to comment
Share on other sites

I found a way if anyone else needs it...

I add a execute after script of a .reg file with importing this to the registry


"New Value #1"="cmd.exe /c rmdir c:\\wpi /s /q"

then set the computer to restart in wpi when finished

then after restart folder is gone and clean... bingo...

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Create New...