how do u make a batch file non-veiwable?

Hewlett-packard / Rc659aa-aba a1632x
June 28, 2009 at 20:11:28
Specs: Microsoft Windows Vista Home Premium, 2 GHz / 2045 MB
Hi
I recently made a batch file which displays
certain information for certain people only
when they type in their codename. (which only
they know)
however, i realized that they could easily right
click it and click edit, and see the information
that isnt for them. (they dont know
programming, but they could figure it out)


basically, im trying to make a batch file be
run-able, but have its code be completely non-
viewable.


See More: how do u make a batch file non-veiwable?

Report •


#1
June 28, 2009 at 20:18:03
Maybe try something like this: http://blog.bluebearr.net/2008/02/h...

-Ryan Adams
Free Computer Tips and more:http://RyanTAdams.com

Paid Tech Support: Black Diamond


Report •

#2
June 28, 2009 at 23:56:39
Hi,

btw, is it possible to make the batch file excutable file. So user will even no able to view the script written in the batch file!

ang


Report •

#3
June 29, 2009 at 00:07:42
Not really. Perhaps you should look learning c++ or c#. Both have free compilers, lots of resources online, and are relatively easy to learn (especially to do simple things). Plus, they can quickly compile into a EXE file.

-Ryan Adams
Free Computer Tips and more:http://RyanTAdams.com

Paid Tech Support: Black Diamond


Report •

Related Solutions

#4
July 1, 2009 at 15:29:08
thanks
i converted it into an .exe file and now it works great

Report •

#5
July 1, 2009 at 23:51:31
" i converted it into an .exe file and now it works great"

how?


=====================================
If at first you don't succeed, you're about average.

M2


Report •

#6
July 2, 2009 at 02:21:04
If you used one of the free batch/perl/VB/javascript to EXE converters, be careful. Many I have seen just "wrap" your code. What I mean, is that if you open the EXE file with a text editor, you can still find your plain-text passwords (or whatever it is you want to hide), sandwiched between other code.

-Ryan Adams
Free Computer Tips and more:http://RyanTAdams.com

Paid Tech Support: Black Diamond


Report •

#7
July 2, 2009 at 16:35:30
i used this:
"http://download.cnet.com/Bat-To-Exe-converter/3000-2069_4-10555897.html"

Report •

#8
July 3, 2009 at 02:09:42
That's far better than some of it's nominal predecessors.

First obvious snag is if your compiled bat sets vars they are lost when the compiled bat quits.


=====================================
If at first you don't succeed, you're about average.

M2


Report •

#9
July 3, 2009 at 03:57:58
I agree it's much better than the 1.4x versions. It is still a script wrapper, but I didn't expect password protection.....

Here's proof it's a script wrapper:

start notepad "%~f0"

Compile Wrap it up and give it a run..


There is a commercial product quick batch file compiler that is also a script wrapper but passes the .exe's file name(along with any other arguments) to the batch, which has a "shift" appended to the top to make %0 the exe name.

Of course it's probably more advantageous to be able to reference the actual script.

edit:
Anyhow it doesn't claim to be a compiler so I don't even know why I bothered to post at all.....


Report •


Ask Question