crals icon indicating copy to clipboard operation
crals copied to clipboard

Add a section for Windows/shell commands

Open dd388 opened this issue 9 years ago • 1 comments
trafficstars

Here is a place to brainstorm ideas for Windows commands to include on the resource. Thanks to @kieranjol for the suggestion!

dd388 avatar Jun 27 '16 17:06 dd388

I think we should definitely have a Robocopy example here. I've only used it once or twice, though.

From my colleague:

for /f %%i in (Move_List.txt) do move %%i DESTINY_FOLDER I think this will take a list of files referenced in a text file and move them into a specified folder, but it'll probably be good to verify that. I'm also not sure how the %% notation works, so it would be good to have an explanation of that.

FOR %%A IN (*.txt) DO REN "%%~fA" "%%~nA1.*" I'm not 100% sure how this rename works, but it's probably because I'm not familiar with the %% notation. @kieranjol -- can you review and provide explanations? Thank you!

dd388 avatar Jun 27 '16 17:06 dd388