| 1. |
Solve : [need help] unzip the binary file copy /b in bat/vbs? |
|
Answer» hello everyone, then i rename "result.jpg" to "result.zip"Quote from: mroilfield on February 06, 2011, 07:33:11 AM You do realize that just remaining the file from "result.jpg" to "result.zip" doesn't make it a zipped file right? If it isn't an actual zipped file then no matter what you do you won't be able to "unzip" it. Read his post. You can use the COPY command with the /b switch to join a jpg and a zip together into a third file, which you can give any extension you like. If you give it a .jpg extension, a jpeg viewer will see the jpg part and display it normally. It will not see the zip part. If you change the extension to .zip, an archive manager (Winzip, WinRar, etc) will see the zip part, but not the jpg, and process it normally. Thus you could hide a zip in a jpg or vice versa. What he does not seem to realise is that using wildcards and copying multiple jpegs and then multiple zips will not result in multiple hidden but accessible files. Only the first jpg and the first zip will be available, and only to a Zip program. Also that unlike proper Zip archive apps, the VBS unzip ROUTINES 1. Are really "copy from compressed folder" routines, and require compressed folders to be enabled. 2. Unlike WinZip, etc, won't like the fake "compressed folder" (zip file) resulting from the copy, and will copy nothing. Quote from: polle123 on February 06, 2011, 04:57:03 AM
thank you very much...my problem solve now....i use RAR file and everything solve.... ACTUALLY im do a program security call "4 gate folder security" like this :- first folder do a basic security like hidden folder or partition drives second folder do medium security like change extension of folder third folder do hard security like desktop.ini write extension of control panel(every time someone click it, it will go to control panel, if someone rename the file it will never change) forth folder do very hard security like hidden file inside jpg maybe next time i'll add one more security with make a password in the rar file.. |
|