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
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.
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.
Summary: I need to figure out a method to find and replace text within a text file. I have a file named, "myfile.txt" that has the following; testing=1 database=500 rules=30 I want the batch file to find datab...
Summary: Hi, I have a text file that has hundreds of lines of text. I need to create a batch file that reads all the lines in the text and then switches the 2 lines around. So i have Text A and Text B in this...
Summary: Hi These subroutines may be useful for calculating date issues in Batch File coding. The sub-rountines use variables a-f so best to not to use them in your calling code. Main varables returned are... ...