Shell.Run
-
My question is related with VBScript. But i didn't saw any topic with that one. I have a small problem with a script. Used this command : ret=objShell.run (strCommand ,0 ,true). Where strCommand runs 7-zip to do an archive. The problem appears if some files are in use by another process. 7-zip return and error code and the program stops there. I want the program to continue the execution because even with this error. If I put the last parameter false the problem is that that the program doesn't wait for the archive to be done. I searched for some hours on the net but didn't find anything so I'm a little desperate. I really appreciate any help, Thanks
-
My question is related with VBScript. But i didn't saw any topic with that one. I have a small problem with a script. Used this command : ret=objShell.run (strCommand ,0 ,true). Where strCommand runs 7-zip to do an archive. The problem appears if some files are in use by another process. 7-zip return and error code and the program stops there. I want the program to continue the execution because even with this error. If I put the last parameter false the problem is that that the program doesn't wait for the archive to be done. I searched for some hours on the net but didn't find anything so I'm a little desperate. I really appreciate any help, Thanks
Why don't you use a
GZipStream
and cut 7zip out altogether? Scott P"Run for your life from any man who tells you that money is evil. That sentence is the leper's bell of an approaching looter." --Ayn Rand
-
Why don't you use a
GZipStream
and cut 7zip out altogether? Scott P"Run for your life from any man who tells you that money is evil. That sentence is the leper's bell of an approaching looter." --Ayn Rand
-
My question is related with VBScript. But i didn't saw any topic with that one. I have a small problem with a script. Used this command : ret=objShell.run (strCommand ,0 ,true). Where strCommand runs 7-zip to do an archive. The problem appears if some files are in use by another process. 7-zip return and error code and the program stops there. I want the program to continue the execution because even with this error. If I put the last parameter false the problem is that that the program doesn't wait for the archive to be done. I searched for some hours on the net but didn't find anything so I'm a little desperate. I really appreciate any help, Thanks
Please do not post questions in multiple forums when it is not necessary.Link[^]
Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios[^]