Hi all I wanted to create this program that copy some files...especially this program will be saved on a pendrive...Once the pendrive will be connected with the PC the program will copy some files from the PC to the pendrive...I've used the XCOPY batch function for make things more simpler..but...
If the syntax of XCOPY is:
XCOPY source [destination] [options]
and if I want to set the destination with the directory of my program, How can I get this directory?
I've tried with \\Folder\\ but it save it in C drive...Thanks and sorry for my english xD