Jump to content

Recommended Posts

Posted

Is there a way to make a .bat file so when I run it and insert a flash drive, it copies all the contents of the drive to the C:copied folder? or can this be done in C++... im still learning, so any help is appreciated.

Posted
Is there a way to make a .bat file so when I run it and insert a flash drive, it copies all the contents of the drive to the C:copied folder? or can this be done in C++... im still learning, so any help is appreciated.
yes there is a way
Posted

1. Open notepad

2. paste this in: xcopy f:* c:copied /EY

3. save it as something.bat

Please use a more descriptive thread title in the future, and you'll get better responses.

Posted

btw when you save it in notepad you need to put it in inverted commas ie "'s .. so "blahhhhhh.bat"

Posted
btw when you save it in notepad you need to put it in inverted commas ie "'s .. so "blahhhhhh.bat"

I didnt really get that statement...

Posted

well say you put in blah.bat .. it will save as blah.bat.txt but if you save it as "blah.bat" it will save blah.bat

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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