Hi,

I have a script that has the following line which is not working.

File.Copy File.ParentFolder & "\", False
What I basically want is, copy a file and paste it there (In the folder where the original file is) itself.

The motive behind this is to create a copy of the file.

However, when I change the path to some place else, it works, but it does not create a copy in the same folder itself. Can anyone guide.

To understand what I mean, put a dummy file is a folder. Copy the file, and paste it there itself. This is the action I am trying to automate.