Is it possible to exclude CMD\BAT file?
Posted: Wed Mar 30, 2011 12:19 am
Hi, first of all, please forgive me for asking such a stupid question. I am computer illiterate and my English is very poor (not my native language), so please go easy on me. I have been using JPE to portablized software for a while now and I have to say that it is a great software and it works most of the time. However, there are certain things\behavior about JPE that really annoy me and one of them is the impossibility of it to exclude cmd\bat files. Here is my case: I usually use JPE to build portable packages( or portable suits, i.e. couple of software under one sandbox) and normally I find that it is desirable to include a file manager in those packages. Problems arise when I try to run a cmd\bat under JauntePE-ized file manager; JPE immediately give me an error saying that I am trying to run a non-Win32 applications and it is not supported. What amazed me is that, AFAIK, cmd should be a Win32 application and therefore it should be supported. What puzzled me even more, is that I can actually run those cmd files under JPE if I make a cmdportable launcher and pass those cmd files as a parameter to the launcher. But of course, I am computer illiterate and so I may be seriously wrong here. Anyway, as usual, I thought it should be a piece of cake and I should be able to remedy this problem by editing the ini file. First, I tried to exclude the cmd.exe as a child process (under [ChildExclude], 1=cmd.exe), no go; same error pop up immediately. OK, fine, no big deal; I can do it in another way. So I tried to exclude everythings (under [ChildExclude], 1=*) and ONLY include those applications that I want to run as child process (under [ChildInclude], 1=blah, 2= blah blah, etc...). Theoretically, this should give me what I wanted because JPE should only monitor those processes under [ChildInclude] and should let other process pass through without doing anything. Unfortunately, still no go and the same error still pop up.
OK, TBO, I admit that I haven't finished reading the whole documentation and most of what I have read I don't pretend to understand. Can any experts here help me out on this issue? Did I do anything wrong? I'm currently running the old jauntePE.dll 0.5.x\0.3 under XP SP2. Any help or advice will be greatly appreciated. TIA.
PS. It is weird that most software that I have tried work right out of the box under JPE (kind of, with some tweaking), but this little cmd problem has bugged me for several months. But a portable file manager is USELESS, if it can not run a cmd\bat file, imho.
OK, TBO, I admit that I haven't finished reading the whole documentation and most of what I have read I don't pretend to understand. Can any experts here help me out on this issue? Did I do anything wrong? I'm currently running the old jauntePE.dll 0.5.x\0.3 under XP SP2. Any help or advice will be greatly appreciated. TIA.
PS. It is weird that most software that I have tried work right out of the box under JPE (kind of, with some tweaking), but this little cmd problem has bugged me for several months. But a portable file manager is USELESS, if it can not run a cmd\bat file, imho.