0

Is it possible, in a batch file, to copy a file to the location of the batch file? For example: if I ran my batch file from the root of the F: drive (which is my USB thumb drive), I would like for the files in question to be copied to root of the F: drive as well. But if after I ran it from the C: drive, I would like those files to be copied to the C: drive. It seems like I would need an environment variable, but I couldn't find what I needed when I ran the SET command in CMD. Any ideas?

user1599051
  • 43
  • 1
  • 6

0 Answers0