Autocopy
Autocopy
does any one knows a code for copy a file itself to USB drive everytime when our usb drive is plugged
Re: Autocopy
Sounds like trying to make a virus
However, which language you are going to write the program (or service) ?

Re: Autocopy
EXPERTCORE will not help you to create virus!
Re: Autocopy
As RkskEkanayaka who is a team members of ROBOT.LK stated, ROBOT.LK can't support development of viruses, spyware, etc... However you brought my memories to 1993. It was about when I was a kid (13 years) I used to write Terminate Stay Resident (TSR) programs for DOS using Turbo C and make codes hidden in boot sectors, partition sectors, etc... and distribute. All these were done for my own learning purposes and I have taken extra care to control things within my house. Similarly, if you are going to do such things for learning purposes, make sure you take extra care to only blow up your own computer, not someone else's.
Follow these instructions to build what you want.
Step 1: Build an application using a programming language of your preference to detect USB drives at the time of connection.
You can see a C# tutorial at https://robot.lk/viewtopic.php?f=10&t=1472.
See attached SimpleDetector.zip which has compiled version of the source under BIN folder.
Step 2: At the time of detection, now you can write coding to copy the files you want
Step 3: Improve the application to a Windows Service so it runs from background and starts windows or whatever
Step 4: Techniques to auto execute that file at the time of insertion on another computer (this is out of my business)
As I said before, only do these things for learning. Not to have fun by harming people to get popular. If you do so, keep my word, that's the end of your computing career.

Follow these instructions to build what you want.
Step 1: Build an application using a programming language of your preference to detect USB drives at the time of connection.
You can see a C# tutorial at https://robot.lk/viewtopic.php?f=10&t=1472.
See attached SimpleDetector.zip which has compiled version of the source under BIN folder.
Step 2: At the time of detection, now you can write coding to copy the files you want
Step 3: Improve the application to a Windows Service so it runs from background and starts windows or whatever
Step 4: Techniques to auto execute that file at the time of insertion on another computer (this is out of my business)

As I said before, only do these things for learning. Not to have fun by harming people to get popular. If you do so, keep my word, that's the end of your computing career.
