Jump to content

Recommended Posts

Posted

okay, i just made a script, it is 20KB.

I saved it, but right after I saved it, my comptuer restarted...

Now when i go to open it, I get a bunch of little squares that say, "NUL"....

Could someone open up my script, and see if it works for them?

Posted

Well... how would Scite write to a file... it can't just append data, because you can edit stuff in the middle. It obviously can't open it in read-only, because then you couldn't edit it. The only option left is that it clears it when it writes, and then writes everything in Scite into the fresh file. So therefore, when you interrupt that writing, you get nothing. Why that would lead to many lines of NULs, I'm not exactly sure, because I'm really not sure that's how the file is written. That's just what I came up with.

Posted

Now when i go to open it, I get a bunch of little squares that say, "NUL"....

This sounds like memory corruption. You'r harddrive could be on its last months... If it starts making clicking noises, then you should consider backing up everything, because then its not far away from dying... Just a thought :o

  • Developers
Posted (edited)

i always save as

file1

file2

file3

and if something goes wrong on file4... i just re-start with file3

8)

-or- add this option to your SciTeUser.properties file to automatically create x bak files of your updated script:

backup.files=3

Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

This sounds like memory corruption. You'r harddrive could be on its last months... If it starts making clicking noises, then you should consider backing up everything, because then its not far away from dying... Just a thought :o

...? nah, i don't think so... Its just like GreenMachine said, it did'nt finish writing before my computer restarted. and my computer has been doing it almost since i got it.

JdeB > Cool, i did'nt know about that. thanks

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
×
×
  • Create New...