Home / Microsoft / Microsoft DOS / VBS to EXE
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: VBS to EXE  (Read 422 times)
TheHoFL
Topic Starter
Intermediate



Thanked: 5
Posts: 174


« on: November 19, 2009, 02:21:34 PM »

Hello!

I have a file that i need to save as an exe so it can not be edited at or and/or so users are not getting our passwords... i have been searching for some time now and cannot find freeware that will let me convert and also append an icon... does anyone know of any free software that will let me perform these tasks?

Thanks for the assistance!

HoFL
IP logged

All your dreams can come true if you have the courage to pursue them.  - Walt Disney
Geek-9pm
Sage



Thanked: 327
Posts: 8,047

Computer: Specs
Experience: Familiar
OS: Windows XP


Geek After Dark

« Reply #1 on: November 19, 2009, 02:36:42 PM »

From your information iut is hard to understand what you want to do.
Do you intend to prevent the use of VBS to protect your system?
Dio you have a script that must be protected?
Is the script part of a web page?
Can you program in another language instead of VBS?

IP logged
TheHoFL
Topic Starter
Intermediate



Thanked: 5
Posts: 174


« Reply #2 on: November 19, 2009, 03:36:40 PM »

I want to convert the following script into an ".exe" file. I just cannot seem to find a free app that actually works. One of the takes i need to be able to do is append an icon to the newly created ".exe".

Code: [Select]
Dim WshShell
Set WshShell = CreateObject("WScript.Shell")
WshShell.run ("runas /env /user:administrator fluidpower.exe")
WScript.Sleep (100)
WshShell.AppActivate "C:\windows\system32\runas.exe"
WScript.Sleep (100)
WshShell.SendKeys "password"
WScript.Sleep (100)
WshShell.Sendkeys "~"
WScript.Sleep (100)

Thanks for he help!

HoFL
IP logged

All your dreams can come true if you have the courage to pursue them.  - Walt Disney
Pages: [1] - (Top) Print 
Home / Microsoft / Microsoft DOS / VBS to EXE « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.094 seconds with 20 queries.