Jump to content

Remove all but a speccific directory from my computer?

VictorianReaper

so i have a set of folders (example being C:\Users\Laptop1\Game\Steam)

is it possible to completly erase everything else on that drive exept what i dont want erased

Dendrotoxin

CPU: i5 6600k @ 4Ghz | GPU: Zotac AMP! 1070 @ 2GHz | RAM Crucial Balistix 2x4GB | PSU EVGA G2 750w | Cooler: NZXT Kraken x61 | Case Phanteks Eclipse P400s | Motherboard Gigabyte G1 Gaming Z170 | Storage: Toshiba 3TB HDD and MyDigitalSSD M.2 256GB

Perripherals

Keyboard(s) Razer Ornata Chroma, Razer Tartarus Chroma | Mouse: Logitech G502 Spectrum | Headphone: Audio Technica M40x | Monitor HP 22CWA

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Electronics Wizardy said:

You can delete folders in Explorer... Just delete all of them but the one you want. 

alright :(

Dendrotoxin

CPU: i5 6600k @ 4Ghz | GPU: Zotac AMP! 1070 @ 2GHz | RAM Crucial Balistix 2x4GB | PSU EVGA G2 750w | Cooler: NZXT Kraken x61 | Case Phanteks Eclipse P400s | Motherboard Gigabyte G1 Gaming Z170 | Storage: Toshiba 3TB HDD and MyDigitalSSD M.2 256GB

Perripherals

Keyboard(s) Razer Ornata Chroma, Razer Tartarus Chroma | Mouse: Logitech G502 Spectrum | Headphone: Audio Technica M40x | Monitor HP 22CWA

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Electronics Wizardy said:

You can also script this in power shell. But it's quicker this way. 

can you enlighten me with this script?

Dendrotoxin

CPU: i5 6600k @ 4Ghz | GPU: Zotac AMP! 1070 @ 2GHz | RAM Crucial Balistix 2x4GB | PSU EVGA G2 750w | Cooler: NZXT Kraken x61 | Case Phanteks Eclipse P400s | Motherboard Gigabyte G1 Gaming Z170 | Storage: Toshiba 3TB HDD and MyDigitalSSD M.2 256GB

Perripherals

Keyboard(s) Razer Ornata Chroma, Razer Tartarus Chroma | Mouse: Logitech G502 Spectrum | Headphone: Audio Technica M40x | Monitor HP 22CWA

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, VictorianReaper said:

can you enlighten me with this script?

Nope. I'm bash mainly. Basically have it set a variable as a file you want to keep and delete the rest. 

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, Nfan said:

thank you (i can now save the original owner's Games, and delete his other crap)

Dendrotoxin

CPU: i5 6600k @ 4Ghz | GPU: Zotac AMP! 1070 @ 2GHz | RAM Crucial Balistix 2x4GB | PSU EVGA G2 750w | Cooler: NZXT Kraken x61 | Case Phanteks Eclipse P400s | Motherboard Gigabyte G1 Gaming Z170 | Storage: Toshiba 3TB HDD and MyDigitalSSD M.2 256GB

Perripherals

Keyboard(s) Razer Ornata Chroma, Razer Tartarus Chroma | Mouse: Logitech G502 Spectrum | Headphone: Audio Technica M40x | Monitor HP 22CWA

Link to comment
Share on other sites

Link to post
Share on other sites

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

×