You are here

Check this out [copy /B in cmd]

6 posts / 0 new
Last post
Nathan9222
Nathan9222's picture
Offline
Last seen: 1 year 4 months ago
Developer
Joined: 2007-12-06 22:35
Check this out [copy /B in cmd]

Has anybody ever used the

"copy /B" in cmd to make one exe??
I was messing around with recuva and I put every file in it and it works, plus settings are being saved. Im gonna check out and see where they are being put right now as I type I am searching for its recuva.ini that it makes. Just wanted to let you know about this and see if anyone else has done this.

Nathan9222
Nathan9222's picture
Offline
Last seen: 1 year 4 months ago
Developer
Joined: 2007-12-06 22:35
....

search just finished and didnt bring anything back, Ill check the temp and see what happens. This is pretty interesting. Somebody should try this out and see what else could be used from this.

An eye for an eye makes the whole world blind.
Mahatma Gandhi,
Indian political and spiritual leader (1869 - 1948)

Nathan9222
Nathan9222's picture
Offline
Last seen: 1 year 4 months ago
Developer
Joined: 2007-12-06 22:35
....

hmm recuva reverted back to saving to registry, but I changed it to save to its .ini, its still pretty cool, You can have one exe with its settings instead of all the .dll it has and all its other files everywhere.

An eye for an eye makes the whole world blind.
Mahatma Gandhi,
Indian political and spiritual leader (1869 - 1948)

dark_yux
Offline
Last seen: 9 years 1 week ago
Joined: 2007-10-23 11:23
Woah!!!

What did you do?

self.path = path if self.path == None else self.path

Nathan9222
Nathan9222's picture
Offline
Last seen: 1 year 4 months ago
Developer
Joined: 2007-12-06 22:35
i did this.......

went to start-->run-->Typed in "CMD"-->Hit enter-->

After that, lets say I had the files in a directory called "A"
I typed in "cd\a" Hit enter, then since I was in the directory I typed in the files to put into one by typing this.

copy /B Recuva.exe + Portable.dat RecuvaTest.exe

There was more files I wrote but that is the basic idea, anything with the + is to be joined and at the end without the + means that is the output file. You can actually use the above technique to hide files in pictures. bye doing this

copy /B pic.jpg + file.7z name.jpg

If you compress a few files with 7zip just put that .7z file in same directory as the picture. Then when you want them out find the file in 7z and extract it. Pretty neat huh!

An eye for an eye makes the whole world blind.
Mahatma Gandhi,
Indian political and spiritual leader (1869 - 1948)

hunted hawk
Offline
Last seen: 13 years 7 months ago
Joined: 2006-08-08 00:16
Is the file the right size

if not then your just using a trick in NTFS and it wont work anywhere else

Log in or register to post comments