Jump to content
  • Advertisement
Sign in to follow this  
gameplayprogammer

Batch file help....

This topic is 3333 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Anyone know how to go through a folder and it's sub-folders and copy across files of a certain type to another folder keeping the same folder structure but changing the name of the top directory. i have something like this, but it does not let me change to name os the folder to where the file should be copied, i want to copy to C:\data_temp folder... any ideas? for C:\data %%X in( .txt) do( copy %%X %%X )

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by gameplayprogammer
no, infact i find batch files a bit of pain. just want an easy scripting language that is flexiable. i will try the code suggested.
VBScript or JScript are generally less of a headache, for future reference (both are available on the majority of installations of Windows). xcopy or robocopy are probably what you need here, though, as mentioned above. [smile]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!