Pages: « 1 2
  Print  
Author Topic: working_directory, temp_directory and program_directory  (Read 17040 times)
Offline (Male) Josh @ Dreamland
Reply #15 Posted on: November 02, 2012, 08:10:25 pm

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
Yeah, and so does everyone else until they toast every file in their directory.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) polygone
Reply #16 Posted on: November 02, 2012, 11:09:46 pm

Contributor
Location: England
Joined: Mar 2009
Posts: 794

View Profile
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.
« Last Edit: November 02, 2012, 11:11:42 pm by polygone » Logged
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
Offline (Unknown gender) TheExDeus
Reply #17 Posted on: November 03, 2012, 05:55:36 am

Developer
Joined: Apr 2008
Posts: 1860

View Profile
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.
Logged
Offline (Male) Josh @ Dreamland
Reply #18 Posted on: November 03, 2012, 09:22:11 am

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
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.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) TheExDeus
Reply #19 Posted on: November 03, 2012, 10:57:54 am

Developer
Joined: Apr 2008
Posts: 1860

View Profile
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.
Logged
Pages: « 1 2
  Print