Multi Copy - TC 6
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 67
- Joined: 2003-02-09, 23:38 UTC
Multi Copy - TC 6
Good day to all.
Running win98se - Mozilla 1.5f
When Icopy from the mail directory I can edit the target filename.
e.g.
Copy "Misc_Received" to
C:\temp\Old_Misc_Received
And it will copy correctly.
If I try and select two files in the source directory:
"drafts" and "important"
I get:
Copy (2) files to
C:\temp\*.* - (I Edit to read "C:\temp\old_*.*)
And the resulting target files are:
"old_rtant" and "old_ts"
I know I can Multi rename prior to copying.
I seem to recall this working in previous TC.
Any assistance appreciated.
regards:cptjlddavis
Running win98se - Mozilla 1.5f
When Icopy from the mail directory I can edit the target filename.
e.g.
Copy "Misc_Received" to
C:\temp\Old_Misc_Received
And it will copy correctly.
If I try and select two files in the source directory:
"drafts" and "important"
I get:
Copy (2) files to
C:\temp\*.* - (I Edit to read "C:\temp\old_*.*)
And the resulting target files are:
"old_rtant" and "old_ts"
I know I can Multi rename prior to copying.
I seem to recall this working in previous TC.
Any assistance appreciated.
regards:cptjlddavis
- sqa_wizard
- Power Member
- Posts: 3893
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
-
- Junior Member
- Posts: 67
- Joined: 2003-02-09, 23:38 UTC
sqa_wizard
Thank you for your reply.
I could very well be wrong about previous ability to do this.
Perhaps I was not very clear, I do not want to append the file ( although that might be a good idea) I just wanted to copy existing source files to another directory under a different name:
"Drafts" to "old_Drafts"
"important" to "old_important"
etc.
Thank you again.
regards:captjlddavis
Thank you for your reply.
I could very well be wrong about previous ability to do this.
Perhaps I was not very clear, I do not want to append the file ( although that might be a good idea) I just wanted to copy existing source files to another directory under a different name:
"Drafts" to "old_Drafts"
"important" to "old_important"
etc.
Thank you again.
regards:captjlddavis
-
- Junior Member
- Posts: 67
- Joined: 2003-02-09, 23:38 UTC
-
- Junior Member
- Posts: 67
- Joined: 2003-02-09, 23:38 UTC
-
- Junior Member
- Posts: 67
- Joined: 2003-02-09, 23:38 UTC
Boofo,
I am sure that others will have a solution from within TC.
This simple batch file will copy the wincmd.ini file to a destination of your choice. You may have to edit the source to reflect the location of your .ini file
and edit the target directory.
This seems to work for me on Win98se - TC 6.0 - No guarantees on other OS. (no guarantee on Win98se either)
You can create a button to call the file.
Hope this helps.
regards:captjlddavis
I am sure that others will have a solution from within TC.
This simple batch file will copy the wincmd.ini file to a destination of your choice. You may have to edit the source to reflect the location of your .ini file
and edit the target directory.
Code: Select all
:: winbak.bat
::***********************************************************
::* Simple batch file to backup wincmd.ini to a directory of*
::* your choice. It will create a backup directory with *
::* the name that you enter below and a sub-directory with *
::* your system date. *
::* Edit the:[set where="E:\winbak\"] line to reflect your *
::* destination drive/directory. *
::* +++++++++ NO GUARANTEE - IT WORKS FOR ME++++++++++ *
::* *
::***********************************************************
cls
echo off
@echo %dbgt% off
%3 echo %0 %%3 %%4 :: %1 %2> {a}.bat
%3 dir {a}.bat | find "{A} " > {t}.bat
%3 {t}
del {?}.bat
if [%4]==[] echo Date: %1
if not [%4]==[] set %4=%1
if not [%5]==[] set %5=%2
set where="e:\win_bak\"
set date = %1
set when=%1
xcopy "c:\WINDOWS\wincmd.ini" %where%\%when%\ /q /-y
:: The "/-y" string prompts for overwrite confermation.If you
:: remove it, it will overwrite
:: existing file.
You can create a button to call the file.
Hope this helps.
regards:captjlddavis
-
- Junior Member
- Posts: 67
- Joined: 2003-02-09, 23:38 UTC
-
- Junior Member
- Posts: 67
- Joined: 2003-02-09, 23:38 UTC
- Boofo
- Power Member
- Posts: 1431
- Joined: 2003-02-11, 00:29 UTC
- Location: Des Moines, IA (USA)
- Contact:
Ok, we're close. It makes the back directory, but also makes a directory called "C:\win_bak\ wincmd_Fri 11" and underneath that one: C:\win_bak\ wincmd_Fri 11\28\ and finally underneath that one: a file called "2003.ini". The date is messing it up somehow.Coco wrote:echo set date=%%4
set bkpdir=c:\win_bak\
set where="%bkpdir%wincmd_%date%.ini"
xcopy "c:\program files\totalcmd\wincmd.ini" %where% /q /i /-y
