|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Batch file
Hi!
I was just wondering if it would be possible to create a batch-file that paste a text last in two different text files. Right now I have to do this manually almost every day.. Mia |
|
#2
|
|||
|
|||
|
or maybe copying text from one file.. and pasting it in two different ones
|
|
#3
|
||||
|
||||
|
Quote:
What kind of Batch file? DOS BATCH? example.bat Code:
TYPE input.txt >> append1.txt TYPE input.txt >> append2.txt
__________________
Wolffy ------------------------ Teaching people to fish. Last edited by Wolffy : February 18th, 2008 at 09:08 AM. |
|
#4
|
|||
|
|||
|
it doesn't paste the text into the existing files.. it creates new ones with the same name.
Does that have to do with that the files are shortcuts ? If I remove the shortcuts.. Do the files have to be in the same direcotry as the bat file? or can you just write the "location" ? TYPE oranames.txt >> Tnsnames2.ora TYPE oranames.txt >> Tnsnames.ora Last edited by miiia83 : February 19th, 2008 at 02:29 AM. |
|
#5
|
|||
|
|||
|
ok nevermind.. It worked to put the whole adress in there!
thanks for the code! |
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > Batch file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|