Jump to content

Cached file

readdyeddy

Hello all,

To preface, I work in an IT setting. I encountered an issue and I've been working this long workaround.

I want to know if there is a more efficient way.

 

I am tasked to delete a cached file in Windows 11. The workstation has multiple profiles. This one particular cached file sometimes sits in %appdata%, or in program files x86. Lately, the only solution is to manually delete the cached file per profile in Windows 11. What I want to know is, is there like a master cached folder above all profiles that can be deleted which would automatically delete that specific cache file in all other profiles?

 

I really hope there is a way.

Link to comment
Share on other sites

Link to post
Share on other sites

I'm not sure if this is a good way but you can try Directory Junction. 

Quote

Creates a symbolic link.

MKLINK [[/D] | [/H] | [/J]] Link Target

        /D      Creates a directory symbolic link.  Default is a file
                symbolic link.
        /H      Creates a hard link instead of a symbolic link.
        /J      Creates a Directory Junction.
        Link    Specifies the new symbolic link name.
        Target  Specifies the path (relative or absolute) that the new link
                refers to.

Something like..

mklink /j ../profile1/appdata/cache x:/cache/profile1
mklink /j ../profile2/appdata/cache x:/cache/profile2
mklink /j ../profile3/appdata/cache x:/cache/profile3

Then you can just delete everything inside x:/cache/ folder. 

 

Or if the cache file is interchangeable.. 

mklink /j ../profile1/appdata/cache x:/cache/
mklink /j ../profile2/appdata/cache x:/cache/
mklink /j ../profile3/appdata/cache x:/cache/

Basically all the profile is going to share the cached files.. which I think probably not a good idea(or maybe a good one)

| Intel i7-3770@4.2Ghz | Asus Z77-V | Zotac 980 Ti Amp! Omega | DDR3 1800mhz 4GB x4 | 300GB Intel DC S3500 SSD | 512GB Plextor M5 Pro | 2x 1TB WD Blue HDD |
 | Enermax NAXN82+ 650W 80Plus Bronze | Fiio E07K | Grado SR80i | Cooler Master XB HAF EVO | Logitech G27 | Logitech G600 | CM Storm Quickfire TK | DualShock 4 |

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

×