Computing.Net > Forums > Programming > Invisible text in batch file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Invisible text in batch file

Reply to Message Icon

Name: matty1404
Date: September 21, 2007 at 06:19:26 Pacific
OS: Windows Vista Business
CPU/Ram: 1 gb ram
Product: Dell optiplex 740
Comment:

Is there a way that in a batch file script if you have a password you dont want people to see can you somehow mask it.

Thanks, Brent



Sponsored Link
Ads by Google

Response Number 1
Name: Shr0Om
Date: September 21, 2007 at 06:38:34 Pacific
Reply:

Not really. Everyone can read the source of a batch file.
Best option is to convert the batch to an .exe file (google "bat2exe" or something).
This doesnt make it impossible to read the source, but at least much harder.


0

Response Number 2
Name: matty1404
Date: September 21, 2007 at 06:44:45 Pacific
Reply:

I tried that and it seems to work but I want to be able to run the batch file invisible or at least minimized and the start /min doest seem to work with exe's. Any ideas?

Thanks, Brent


0

Response Number 3
Name: Shr0Om
Date: September 22, 2007 at 18:39:24 Pacific
Reply:

With Bat2exe you can make the script run minimized (invisible). Read the faq


0

Response Number 4
Name: Mechanix2Go
Date: September 23, 2007 at 02:45:27 Pacific
Reply:

LOL bat2exe will only complie the most trial of BATs.

I think you'll need real code. Like BASIIC or c/c++.


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

M2



0

Response Number 5
Name: matty1404
Date: September 24, 2007 at 06:48:05 Pacific
Reply:

I have tried pretty much every free batch file compiler and there is always something that doesnt work on it that I need. I have a call file and i have my batch file. I put the batch file in a folder that has permissions on it so you cant view it. Thanks for all the help.

Thanks, Brent


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

Batch file to replace a w... Better Algorythm



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Invisible text in batch file

Find and Replace text in Batch File www.computing.net/answers/programming/find-and-replace-text-in-batch-file/12413.html

Select text within batch file www.computing.net/answers/programming/select-text-within-batch-file/17891.html

Date Routines in Batch Files www.computing.net/answers/programming/date-routines-in-batch-files/15590.html