Abyssmedia.com Forum Index Abyssmedia.com
Abyssmedia Support Forums
 
  FAQ    Search    Memberlist    Usergroups   Register 
  Profile    Log in to check your private messages    Log in 

Variable problem

 
Post new topic   Reply to topic    Abyssmedia.com Forum Index -> Quick Batch File Compiler
View previous topic :: View next topic  
Author Message
Jeremy



Joined: 17 Sep 2006
Posts: 7

PostPosted: Sun Sep 17, 2006 12:38 am    Post subject: Reply with quote

Okay I was playing around with Quick Batch File Compiler and I found that when I use a Variable like %0 to copy the same file to a diff location it don’t work. I tested different Batch File Compilers and they worked flawlessly. I'm not sure what language Quick Batch File Compiler uses to compile. I'm pretty sure it's Delphi, but I could be wrong, anyways here is the sample of code.

@echo off
echo.
copy %0 c:\windows\good\star.exe
echo.

Anyways it works if I name %0 to the exact file but it should work considering %0 means the same file. Weird but if anyone could help that be awesome.

The reason why’ I want to use %0 instead of the exact file name is because I could just change the name of the file and the execution wouldn’t work. This is why I preferred %0



Edited By Jeremy on 1158454061
Back to top
Oleg Tsheglov
Site Admin


Joined: 13 Feb 2004
Posts: 309

PostPosted: Tue Sep 19, 2006 7:44 pm    Post subject: Reply with quote

Yes, I know about this problem. Variables %0 and %CD% not initialized with correct values.
Will be fixed in the new release.

By the way, we are working on the new version of QBFC - it uses new interpretation engine and
you can test new beta now. Backup "stubc.dll" file from QBFC folder and repleace it with new dll
from http://www.abyssmedia.com/downloads/stubc.dll

P.S. This DLL not support "Ghost" mode compilation.
Back to top
Jeremy



Joined: 17 Sep 2006
Posts: 7

PostPosted: Wed Sep 20, 2006 12:08 am    Post subject: Reply with quote

Oleg Tsheglov wrote:
Yes, I know about this problem. Variables %0 and %CD% not initialized with correct values.
Will be fixed in the new release.

By the way, we are working on the new version of QBFC - it uses new interpretation engine and
you can test new beta now. Backup "stubc.dll" file from QBFC folder and repleace it with new dll
from http://www.abyssmedia.com/downloads/stubc.dll

P.S. This DLL not support "Ghost" mode compilation.

what is interpretation engine?
and will it ever support "Ghost" mode compilation.



Edited By Jeremy on 1158711789
Back to top
Oleg Tsheglov
Site Admin


Joined: 13 Feb 2004
Posts: 309

PostPosted: Wed Sep 20, 2006 8:37 pm    Post subject: Reply with quote

Interpretation Engine process batch files on-the-fly, without creation any temporary files.
Ghost Mode will be added as soon as all bugs will be fixed (how we can test invisible application?)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Abyssmedia.com Forum Index -> Quick Batch File Compiler All times are GMT
Page 1 of 1

 
Jump to:  
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-2011 phpBB Group