Jump to content

Recommended Posts

Hi,

anyone can help me write batch files?

What I need?

For example extract from pc folder all .dds files with same structure

Input: pc/ymir work/etc (just all folders)
Output: pc/ymir work/etc (just all folders) but only .dds content or any .file what I for now want..

Simply I want Only extract some files with same structure of pack.

Link to comment
https://metin2.dev/topic/30255-batch-script/
Share on other sites

On 1/26/2023 at 12:21 PM, PetePeter said:
@echo off
set "search_folder=C:\pc\ymir work\etc"
set "extension=.dds"
set "output_folder=C:\output_folder"

xcopy "%search_folder%\*%extension%" "%output_folder%\" /s /i

 

Cool! Thank you so much

Link to comment
https://metin2.dev/topic/30255-batch-script/#findComment-154760
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.