| View previous topic :: View next topic |
| Author |
Message |
scrfix
Joined: 02 Jun 2009 Posts: 3
|
Posted: Wed Jun 03, 2009 1:30 am Post subject: EXE File crashes when attempting to clean temp files |
|
|
Hello,
a simple batch file conversion with this program is causing the exe to crash. I am wondering if you can help with this.
| Code: |
@echo off
rmdir %temp% /S /Q
echo succesfully removed temp directory
@pause
|
It starts to remove and then instead of the script pausing, it crashes and disappears.
I believe this is because QBFC must create a file in the temporary directory that is then removed by the command above however I cannot see a way of telling QBFC not to utilize that temp directory for temporary files.
Is there a way to get this to work? |
|
| Back to top |
|
 |
|
|
scrfix
Joined: 02 Jun 2009 Posts: 3
|
|
| Back to top |
|
 |
scrfix
Joined: 02 Jun 2009 Posts: 3
|
Posted: Thu Jun 04, 2009 5:20 pm Post subject: |
|
|
Okay I spoke to soon. I figured out why it crashes however. This program doesn't really encrypt anything per say.
It encrypts the shell of the program so that people cannot right click and get your code however when you run the program it recreates your bat file in the temp directory UNENCRYPTED therefore while the bat program is running, someone can come in and look at your source code in their temp directory. This is why my program keeps crashing because it deletes the bat file within the temp directory.
I hope all of these so called compilers do not work this way. Otherwise, it is useless to utilize them because they do not really encrypt anything.
In fact, the only thing I can see that it does other than change the name of your bat file is add this onto your bat file:
| Code: |
echo off
cls
echo -----------------------------------------------------------------
echo This file created with trial version of Quick Batch File Compiler.
echo Please REGISTER your copy to REMOVE this reminder.
echo Copyright 2002-2009 by Abyssmedia.com
echo Offical web-site: http://www.abyssmedia.com/quickbfc/
echo -----------------------------------------------------------------
pause
@shift
|
There is nothing at the end of the bat file to erase itself. Perhaps that is done in another file. There is a .tmp file that has the same name as the bat it creates. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|