Jump to content
  • Advertisement
Sign in to follow this  

folder-clearing utility programmed in C#. Can't run off a network drive.

This topic is 4212 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey guys. I finally got around to learning some C# (and I totally LOVE it! It's so much easier than C++, even though I'm learning as I go!) and made a utility that deletes all files/subdirectories in the "Local Settings/Temp" folder for every Windows XP user on a given machine. It works great. For my first professional program (trivial as it may be), I'm really happy with it. If someone wants to critique my code or test out the program, then let me know; I'd love the input... but that's off topic. Anyway, here's the problem I'm running into; I have a folder FULL of useful tools (including the program I made) on a mapped Novell drive. This way I can just hop onto someone's workstation, log into my account, jump into my mapped drive and start running tools. For this particular program, however, when it runs, I get a Security Policy error. My suspicion is that the program is unwittingly trying to run on the server, as opposed to the workstation that I'm working from. It works fine once I copy the file to the local desktop and run it. How would I get this program to know that it needs to be clearing folders on the local computer (the one I'm running it from)? Thanks for any help in advance, guys. -Brian

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!