Pages: 1 2
Author Topic: working_directory, temp_directory and program_directory  (99,815 Views)
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #15 Posted on: November 03, 2012, 01:10:25 AM
Yeah, and so does everyone else until they toast every file in their directory.
Offline (Unknown gender) polygone

Contributor
Joined: Mar 2009
Posts: 794
View profile
Reply #16 Posted on: November 03, 2012, 04:09:46 AM
You have to be super stupid to do that. I've never seen a report of anybody doing that in GM and that's a pretty stupid user base.
Offline (Unknown gender) TheExDeus

Developer
Joined: Apr 2008
Posts: 1,860
View profile
Reply #17 Posted on: November 03, 2012, 10:55:36 AM
Exactly, its been like this for years. Anyone can delete their files no matter the working directory anyway. And you can't delete the source file while doing this as its open by LGM at the time. And there is clearly no alternative than your "Workbench" thing which would probably work just the same for people like me, as I would set it to source directory.
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #18 Posted on: November 03, 2012, 02:22:11 PM
DFortun81 did it. He was writing an encryption program that operated recursively. Without knowing it, he ran it on "", which of course was the working directory. All his files became encrypted; problem was, there was no cipher because the encryption algorithm was wrong. Lost everything in that directory that didn't have an EXE to decompile.

LGM shouldn't be keeping a file open for the source until it is ready to write.
Offline (Unknown gender) TheExDeus

Developer
Joined: Apr 2008
Posts: 1,860
View profile
Reply #19 Posted on: November 03, 2012, 03:57:54 PM
Well he is special. Nonetheless this needs to happen. Even if I need to enable it somewhere. Or else it makes developing with LGM uselessly harder. Only for some projects of course, but still a hassle. Just like the code window auto-complete box bug is giving useless headaches.
Pages: 1 2