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

Invisible text in batch file

Reply to Message Icon

Original Message
Name: matty1404
Date: September 21, 2007 at 06:19:26 Pacific
Subject: Invisible text in batch file
OS: Windows Vista Business
CPU/Ram: 1 gb ram
Model/Manufacturer: 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


Report Offensive Message For Removal


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

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.


Report Offensive Follow Up For Removal

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

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


Report Offensive Follow Up For Removal

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

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


Report Offensive Follow Up For Removal

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

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



Report Offensive Follow Up For Removal

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

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


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Invisible text in batch file

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge