error on a drive with no free space
-
Hi.
Great program. Thank you.
I have a small problem.
I'm using your program on a USB stick. To minimize the possibility of infection with viruses on other computers I fill the entire free space with a dummy file.
The problem is that the program tries to write in log file (I think) and of course is showing error.
I click on Cancel but it's freezing showing that busy cursor.Is there something that can be done..?
Thank you in advance.
-
I found a solution for my problem: I deactivated logging in autorun.hta.
var logfile; //try{ // if (!(OSVersion >= 6 && dpa.commandLine.indexOf('Run') == "-1")) // logfile = fso.CreateTextFile(pathLogFile("log__"), true);} //catch(e) {logfile = null;}
I saw that you used try..catch even in log() function but it seems that in some place tries to write without it...
-
Thank you.
icon="./Tools/Icon.ico"
I don't understand what is got to do with my problem.
if (logging) { try { if (fso.FolderExists ('probe')) fso.DeleteFolder ('probe'); fso.CreateFolder ('probe'); if (fso.FolderExists ('probe')) fso.DeleteFolder ('probe'); else disableCurDir = true; } Catch (e) {disableCurDir = true;} }
It gives error, I don't know why.
I tryed myself adding that "if":if (logging) { try{ if (fso.FolderExists('probe')) fso.DeleteFolder('probe'); fso.CreateFolder('probe'); if (fso.FolderExists('probe')) fso.DeleteFolder('probe'); else disableCurDir = true; }catch(e){disableCurDir = true;} }
This one is working but still I can't see an important difference between my code and yours.
Maybe because of the blank spaces...?Finally, after 18 days of waiting a reply my problem is solved
-
your problem has been discussed previously:
-
your problem has been discussed previously: [http://forum.drp.su/showpost.php?p=3699&postcount=13](http://forum.drp.su/showpost.php?p=3699&postcount=13)
Yes, but, like many others, I don't speak russian language.
On internet english language is used.
-
последнее изменение
-
Use Google Translate:
-
The Google translator doesn't work well - sometimes not even half is understandable.