needs to create dummy copies of folder a folder with a bat file and add it to right click menu of the folder

Gurpreet 0 Reputation points
2024-12-25T06:25:23.2033333+00:00

so I want to right click on a folder and create the dummy copy of that folder with 0 byte files, i use robocopy command as Follows:-

For Folder:- Robocopy /Create /Purge /S "%cd%" "%cd% Dummy"

For File:- Robocopy /Create /Purge "%cd%" "%cd%/Dummy"

I create a .bat file with it put it in to one of the folder and add it to the registry to have it in right click menu of any folder or file

so now the problem is that bat file for the folder creates the dummy of the parent folder with all the subfolders and files and the bat file for files creates the dummies of all the files in the folder in to a dummy folder in the same folder Sorry my english is not that good hopefully I was able to explain it

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
40,599 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.