| View previous topic :: View next topic |
| Author |
Message |
jray
Joined: 19 Jul 2005 Posts: 7
|
Posted: Sun Jul 24, 2005 7:59 pm Post subject: |
|
|
There are two Tabs, Include and Resources and here is my question. If I want to inclued a COM or other BAT files in my compilation and save the project, why does not the program save this information?
I have to add there everytime I open my project. Am I doing something wrong?
Thank you for the information
Jim |
|
| Back to top |
|
 |
|
|
Oleg Tsheglov Site Admin
Joined: 13 Feb 2004 Posts: 309
|
Posted: Mon Jul 25, 2005 12:10 am Post subject: |
|
|
No, compiler save only main batch script opened at editor.
We will add "projects" to compiler later... |
|
| Back to top |
|
 |
jray
Joined: 19 Jul 2005 Posts: 7
|
Posted: Mon Jul 25, 2005 6:33 pm Post subject: |
|
|
Oleg,
Thank you again and I look forward to the update. Also, help me understand something. If I have multi BAT files do I use the Include section to add these so they will be compiled with the main BAT file?
Thanks again and this is making my life easy.
Jim |
|
| Back to top |
|
 |
Oleg Tsheglov Site Admin
Joined: 13 Feb 2004 Posts: 309
|
Posted: Mon Jul 25, 2005 8:35 pm Post subject: |
|
|
| No, Jim. Included files will not be compiled, but will be compressed. |
|
| Back to top |
|
 |
jray
Joined: 19 Jul 2005 Posts: 7
|
Posted: Mon Jul 25, 2005 9:06 pm Post subject: |
|
|
Thank you Oleg,
So it is better for me to keep what I am doing in the same BAT file so I can have it in one EXE file This is ok and understanding this helps me design what I am doing. I need to be able to protect the BAT files so the user can't see what I am doing.
Thanks again,
Jim |
|
| Back to top |
|
 |
cforn
Joined: 29 Jul 2005 Posts: 2
|
Posted: Fri Jul 29, 2005 9:50 pm Post subject: |
|
|
Hi All,
New to this board, so please forgive me if I step wrong.
Also new to programming, so I beg your indulgence when I ask what is bound to be a dumb question:
- W2k server
- ftp script that uploads files beautifully as a .bat.
- Trying to hide the pwds from casual inspection, so would like to compile into an .exe. So, I added the ftp script file as an Include File.
- .exe works great locally. When copied to another machine, it throws "error opening /<script filename>".
Any troubleshooting tips would be greatly appreciated! |
|
| Back to top |
|
 |
Oleg Tsheglov Site Admin
Joined: 13 Feb 2004 Posts: 309
|
Posted: Fri Jul 29, 2005 11:02 pm Post subject: |
|
|
First, use ralative paths for all external commands.
Seconds, don't forget about Windows Filrewall - it may block access to FTP for compiled EXE |
|
| Back to top |
|
 |
cforn
Joined: 29 Jul 2005 Posts: 2
|
Posted: Sun Jul 31, 2005 4:49 pm Post subject: |
|
|
Many thanks for the response, Oleg.
Firewall is not an issue inthis case, but the change to a relative path seems to have done the trick.
Again, Many thanks! |
|
| Back to top |
|
 |
jsmith
Joined: 22 Jun 2006 Posts: 2
|
Posted: Thu Jun 22, 2006 1:42 am Post subject: |
|
|
Any idea when I include an exe file, eg. test.exe, and build a new file, when I run the new file, I always get test.exe is not a valid Win32 application. And the Test.exe file size is 0. What happened to the include file? How can I fix it?
If not convert, the batch file run well with test.exe file. |
|
| Back to top |
|
 |
|