Search code examples
cmdmove

Command Prompt: Move a file to an Unknownly named folder


So, is there a possible way to move Test.txt to C:\ProgramData\CsD2\Tools\("Unknown Folder Name")\data\per Using command prompt?


Solution

  • using foxidrives solution for your previous question for detecting the correct directory, then just

    move test.txt "%folder%\"