Guest Robert Posted January 7, 2008 Posted January 7, 2008 Hello, I'm looking for a solution or software which can help me to hide content of running batch file. I've a batch file which include a path to another batch file and some parameters (username, password, tcpip, ect). When I rn this batch file all content is visible in ms-dos window - username, password, ect. I'd like to hide those informations and not to allow everybody read it. Please, advice me, Regards, Robert Pater
Guest Pegasus \(MVP\) Posted January 7, 2008 Posted January 7, 2008 Re: Hide content of batch file "Robert" <Robert@discussions.microsoft.com> wrote in message news:080CDC26-0604-4880-9E25-29CC7C70CFBE@microsoft.com... > Hello, > I'm looking for a solution or software which can help me to hide content > of > running batch file. I've a batch file which include a path to another > batch > file and some parameters (username, password, tcpip, ect). When I rn this > batch file all content is visible in ms-dos window - username, password, > ect. > I'd like to hide those informations and not to allow everybody read it. > > Please, advice me, > > Regards, > Robert Pater > What exactly do you mean with "When I'm in this batch file"? When you edit it? When you run it? If it is the latter then adding @echo off as a first line will solve your problem. You write about an "MSDOS window". I suppose you're aware that MSDOS was an operating system introduced by Microsoft in about 1978, thirty years ago. It ain't no more. I suspect you mean the Command Prompt under Windows XP/2000.
Guest Robert Posted January 7, 2008 Posted January 7, 2008 Re: Hide content of batch file "Pegasus (MVP)" wrote: > > "Robert" <Robert@discussions.microsoft.com> wrote in message > news:080CDC26-0604-4880-9E25-29CC7C70CFBE@microsoft.com... > > Hello, > > I'm looking for a solution or software which can help me to hide content > > of > > running batch file. I've a batch file which include a path to another > > batch > > file and some parameters (username, password, tcpip, ect). When I rn this > > batch file all content is visible in ms-dos window - username, password, > > ect. > > I'd like to hide those informations and not to allow everybody read it. > > > > Please, advice me, > > > > Regards, > > Robert Pater > > > > What exactly do you mean with "When I'm in this batch file"? > When you edit it? When you run it? If it is the latter then adding > @echo off > as a first line will solve your problem. > > You write about an "MSDOS window". I suppose you're aware > that MSDOS was an operating system introduced by Microsoft > in about 1978, thirty years ago. It ain't no more. I suspect you > mean the Command Prompt under Windows XP/2000. > > > Hello, Of course the Command Prompt. When I run it. Rgds, Robert Pater
Guest Pegasus \(MVP\) Posted January 7, 2008 Posted January 7, 2008 Re: Hide content of batch file "Robert" <Robert@discussions.microsoft.com> wrote in message news:24E4795A-48BC-4CF2-AC90-C58DC95BCA2C@microsoft.com... > > > "Pegasus (MVP)" wrote: > >> >> "Robert" <Robert@discussions.microsoft.com> wrote in message >> news:080CDC26-0604-4880-9E25-29CC7C70CFBE@microsoft.com... >> > Hello, >> > I'm looking for a solution or software which can help me to hide >> > content >> > of >> > running batch file. I've a batch file which include a path to another >> > batch >> > file and some parameters (username, password, tcpip, ect). When I rn >> > this >> > batch file all content is visible in ms-dos window - username, >> > password, >> > ect. >> > I'd like to hide those informations and not to allow everybody read it. >> > >> > Please, advice me, >> > >> > Regards, >> > Robert Pater >> > >> >> What exactly do you mean with "When I'm in this batch file"? >> When you edit it? When you run it? If it is the latter then adding >> @echo off >> as a first line will solve your problem. >> >> You write about an "MSDOS window". I suppose you're aware >> that MSDOS was an operating system introduced by Microsoft >> in about 1978, thirty years ago. It ain't no more. I suspect you >> mean the Command Prompt under Windows XP/2000. >> >> >> > Hello, > Of course the Command Prompt. > When I run it. > > Rgds, > Robert Pater As I said, "@echo off" will fix it.
Guest Robert Posted January 7, 2008 Posted January 7, 2008 Re: Hide content of batch file "Pegasus (MVP)" wrote: > > "Robert" <Robert@discussions.microsoft.com> wrote in message > news:24E4795A-48BC-4CF2-AC90-C58DC95BCA2C@microsoft.com... > > > > > > "Pegasus (MVP)" wrote: > > > >> > >> "Robert" <Robert@discussions.microsoft.com> wrote in message > >> news:080CDC26-0604-4880-9E25-29CC7C70CFBE@microsoft.com... > >> > Hello, > >> > I'm looking for a solution or software which can help me to hide > >> > content > >> > of > >> > running batch file. I've a batch file which include a path to another > >> > batch > >> > file and some parameters (username, password, tcpip, ect). When I rn > >> > this > >> > batch file all content is visible in ms-dos window - username, > >> > password, > >> > ect. > >> > I'd like to hide those informations and not to allow everybody read it. > >> > > >> > Please, advice me, > >> > > >> > Regards, > >> > Robert Pater > >> > > >> > >> What exactly do you mean with "When I'm in this batch file"? > >> When you edit it? When you run it? If it is the latter then adding > >> @echo off > >> as a first line will solve your problem. > >> > >> You write about an "MSDOS window". I suppose you're aware > >> that MSDOS was an operating system introduced by Microsoft > >> in about 1978, thirty years ago. It ain't no more. I suspect you > >> mean the Command Prompt under Windows XP/2000. > >> > >> > >> > > Hello, > > Of course the Command Prompt. > > When I run it. > > > > Rgds, > > Robert Pater > > As I said, "@echo off" will fix it. > > > Thank's a lot, But I'd rather to have a soution that help me to hide cntent of this file. Regards, Robert Pater
Guest Pegasus \(MVP\) Posted January 7, 2008 Posted January 7, 2008 Re: Hide content of batch file "Robert" <Robert@discussions.microsoft.com> wrote in message news:7983EA2C-5ADF-4A12-B7D4-DF41CEAFD06B@microsoft.com... > > > "Pegasus (MVP)" wrote: > >> >> "Robert" <Robert@discussions.microsoft.com> wrote in message >> news:24E4795A-48BC-4CF2-AC90-C58DC95BCA2C@microsoft.com... >> > >> > >> > "Pegasus (MVP)" wrote: >> > >> >> >> >> "Robert" <Robert@discussions.microsoft.com> wrote in message >> >> news:080CDC26-0604-4880-9E25-29CC7C70CFBE@microsoft.com... >> >> > Hello, >> >> > I'm looking for a solution or software which can help me to hide >> >> > content >> >> > of >> >> > running batch file. I've a batch file which include a path to >> >> > another >> >> > batch >> >> > file and some parameters (username, password, tcpip, ect). When I rn >> >> > this >> >> > batch file all content is visible in ms-dos window - username, >> >> > password, >> >> > ect. >> >> > I'd like to hide those informations and not to allow everybody read >> >> > it. >> >> > >> >> > Please, advice me, >> >> > >> >> > Regards, >> >> > Robert Pater >> >> > >> >> >> >> What exactly do you mean with "When I'm in this batch file"? >> >> When you edit it? When you run it? If it is the latter then adding >> >> @echo off >> >> as a first line will solve your problem. >> >> >> >> You write about an "MSDOS window". I suppose you're aware >> >> that MSDOS was an operating system introduced by Microsoft >> >> in about 1978, thirty years ago. It ain't no more. I suspect you >> >> mean the Command Prompt under Windows XP/2000. >> >> >> >> >> >> >> > Hello, >> > Of course the Command Prompt. >> > When I run it. >> > >> > Rgds, >> > Robert Pater >> >> As I said, "@echo off" will fix it. >> >> >> > Thank's a lot, > But I'd rather to have a soution that help me to hide cntent of this file. > > Regards, > Robert Pater > Executing a file is equivalent to reading it. In other words, if you can execute it then you can read it. Here are a couple of options to conceal what you're doing: - You could "compile" your batch files with on of the many batch file compilers you can download from various sites. - You can rewrite your batch file in C++ or in some other language that generates an .exe file.
Recommended Posts