Login | |
|
 |
RE: VBS to EXE - 12/20/2005 4:37:46 AM
|
|
 |
|
| |
mbouchard
Posts: 1906
Score: 14
Joined: 5/15/2003
From: USA
Status: offline
|
I have not seen any freeware to do this with Vbscript. But you can get one of the shareware's or look at AdminScriptEditor which essentially wraps a script in an exe.
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
 |
RE: VBS to EXE - 12/20/2005 5:51:53 AM
|
|
 |
|
| |
Cybex
Posts: 412
Score: 0
Joined: 9/14/2005
From: Florida
Status: offline
|
It all depends on what you mean when say VBS to EXE... If you mean like Ebgreen said, cramming the script into a self -extracting executable then there are applications that do that. I don't know what the price ranges are but they are out there. Now if you are talking about an actual executable that will run in a non-runtime manner than this is not a solution. When the executable runs it dumps the VBS out to a temp folder and runs the VBS. In secure systems that have locked down their systems to prevent the execution of mobile code this approach will not work. In this case you must slip and convert if necessary your VBS into VB and compile. This is really easy for basic scripts and is now free thanks to MS releasing VB Express (and others). http://msdn.microsoft.com/vstudio/express/ Cybex
_____________________________
Common sense is not so common.
|
|
| |
|
|
|
 |
RE: VBS to EXE - 12/20/2005 8:58:10 AM
|
|
 |
|
| |
kirrilian
Posts: 628
Score: 3
Joined: 3/15/2005
From:
Status: offline
|
granted it isnt freeware, but primal script pro seems to be able to do a true executable rather than a self-executing zip
_____________________________
Have you searched here ? VBScript Fundamentals My Site
|
|
| |
|
|
|
 |
RE: VBS to EXE - 12/20/2005 11:33:24 AM
|
|
 |
|
| |
Cybex
Posts: 412
Score: 0
Joined: 9/14/2005
From: Florida
Status: offline
|
Not unless it converts it into another language, VBScript is a runtime language that must be passed into the wscript or cscript engines for compilation and execution. Cybex Addition: If it is written in the VBScript language then is as far as I have know and/or have ever seen returned back into a normal readable .VBS file prior to execution. So no matter how you encrypt or sudo-compile it, it is always placed somewhere on the system in it's original form and the ran through a script engine.
< Message edited by Cybex -- 12/20/2005 11:40:04 AM >
_____________________________
Common sense is not so common.
|
|
| |
|
|
|
 |
RE: VBS to EXE - 12/21/2005 6:30:46 AM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1171
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
|
ebgreen is correct. To test it, do this: Write a vbs that contains wscript.echo "test" "compile" it into an exe with primalscript, and then run the exe. When the popup rears its head, open explorer and go looing in your %temp% folder. YOu will see a file with a .vbs extensiont aht contains the script you just wrote. This file vanishes after finishing.
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
 |
RE: VBS to EXE - 12/21/2005 5:02:09 PM
|
|
 |
|
| |
kirrilian
Posts: 628
Score: 3
Joined: 3/15/2005
From:
Status: offline
|
well just bust my bubble then source code is meant to be free anyways
_____________________________
Have you searched here ? VBScript Fundamentals My Site
|
|
| |
|
|
|
 |
RE: VBS to EXE - 12/22/2005 2:28:32 AM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1171
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
|
quote:
ORIGINAL: kirrilian source code is meant to be free anyways Try telling that to all the small software developers out there that make their livings through their code. :) I know that I certainly wish I had the source to a NUMBER of apps!! Would save me thousands of dollars!
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
 |
RE: VBS to EXE - 12/22/2005 4:40:05 AM
|
|
 |
|
| |
kirrilian
Posts: 628
Score: 3
Joined: 3/15/2005
From:
Status: offline
|
quote:
ORIGINAL: DiGiTAL.SkReAM quote:
ORIGINAL: kirrilian source code is meant to be free anyways Try telling that to all the small software developers out there that make their livings through their code. :) I know that I certainly wish I had the source to a NUMBER of apps!! Would save me thousands of dollars! true dat!
_____________________________
Have you searched here ? VBScript Fundamentals My Site
|
|
| |
|
|
|
 |
RE: VBS to EXE - 1/16/2006 10:03:53 AM
|
|
 |
|
| |
Fredledingue
Posts: 370
Score: 0
Joined: 5/9/2005
From:
Status: offline
|
For those who never used VB, I don't think that's that easy, but of course not that difficult if you want to learn VB and already know VBS. But what we want is an app that translate VBS to VB for us because we have no time learning another language. Such an app could be done easily since translating from VBS to VB is so easy. The problem is that not every VBS methods are available in VB. So some VBS lines will have to be replaced by more complex VB lines.
_____________________________
Fred
|
|
| |
|
|
|
 |
RE: VBS to EXE - 5/7/2007 12:51:12 AM
|
|
 |
|
| |
4scriptmoni
Posts: 192
Score: 0
Joined: 5/3/2007
Status: offline
|
hello, I am trying to get a working version of exescript? even 2.1 would be good, anyobdy can help me out????????
_____________________________
Enterprise Microsoft Scripts Exchange, Login/Logout Monitor,TS, Monitoring, Security, AD, etc... http://www.felipeferreira.net
|
|
| |
|
|
|
 |
RE: VBS to EXE - 5/7/2007 1:30:47 AM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1171
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
|
The link at the top of this page works. Go there and download the trial.
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
|
|