Help Needed Please - Copy/Paste Batch File - diyAudio
Go Back   Home > Forums > Design & Build > Software Tools
Home Forums Rules Articles diyAudio Store Gallery Wiki Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Software Tools SPICE, PCB CAD, speaker design and measurement software, calculators

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 2nd October 2016, 03:28 PM   #1
diyAudio Member
 
Max Headroom's Avatar
 
Join Date: Jan 2013
Location: West Australia, near to the beach, natural ambient sounds mostly.
Default Help Needed Please - Copy/Paste Batch File

Maybe some batch file kings here can solve this for me please.

I need a batch file that will copy a Folder or File from one drive to another and back, a defined number of times.

Something like....

Step 01.....Copy D:/Transfers - 00 to F:/ and rename to F:/Transfers - 01
Step 02.....Copy F:/Transfers - 01 to D:/ and rename to D:/Transfers - 02
and so on a defined number of times, and perhaps with a defined time delay between transfers.

So the same Folder or File is copied back and forth between the drives and builds numbered directory lists, with odd numbers of transfers stored on F:, and even numbers of transfers stored on D:.
I have tried doing this manually but it becomes tedious and is prone to error, and there seems to be an issue with the clipboard writing the new file and not actually a drive to drive data transfer.

Any help will be very much appreciated.

Dan.
  Reply With Quote
Old 4th October 2016, 11:39 PM   #2
diyAudio Member
 
Max Headroom's Avatar
 
Join Date: Jan 2013
Location: West Australia, near to the beach, natural ambient sounds mostly.
Bump.

Dan.
  Reply With Quote
Old 5th October 2016, 12:11 AM   #3
diyAudio Member
 
Join Date: May 2011
Location: Silicon Valley
Methinks you're going to need the MSDOS commands set and if . You'll probably use the /a flag with the set commend ... tells DOS the right hand side of the equals sign is a numerical quantity, i.e., this is an arithmetic set. a is the flag for arithmetic.
  Reply With Quote
Old 5th October 2016, 03:16 AM   #4
diyAudio Member
 
Max Headroom's Avatar
 
Join Date: Jan 2013
Location: West Australia, near to the beach, natural ambient sounds mostly.
Thanks Mark, I do understand that a DOS routine is the deal.
Trouble is I have never bothered to learn msdos properly, let alone higher languages.
I need all the help I can get .

Dan.
  Reply With Quote
Old 5th October 2016, 03:35 AM   #5
DUG is offline DUG  Canada
diyAudio Member
 
Join Date: Jan 2003
Location: mississauga ontario canada
Here?

MS-DOS copy command help

or

DOS Command: COPY

(first two google search results)
__________________
Doug We are all learning...we can all help
"You can't stop the signal, Mal. Everything goes somewhere..."
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PDF layouts: copy/paste, multiple on a single page TroelsM Construction Tips 3 19th April 2015 12:37 AM
Help with SPL COPY and .frd file extraction iFearFractals Multi-Way 5 1st July 2014 05:50 PM
notes / copy+paste tomtt The Lounge 4 31st March 2010 03:30 AM
Triangle audio file needed Bernhard Digital Source 1 17th July 2006 09:38 AM
Traxmaker copy paste problem? promitheus Everything Else 2 22nd January 2004 10:23 AM


New To Site? Need Help?

All times are GMT. The time now is 09:20 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Copyright 1999-2017 diyAudio

Content Relevant URLs by vBSEO 3.3.2
Wiki