Easy A
Would you like to react to this message? Create an account in a few clicks or log in to continue.


 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  

Share
 

 Append increments of 50 to end of lines of text

View previous topic View next topic Go down 
AuthorMessage
Momment
Member
Member
Momment

Posts : 19
Join date : 2011-03-09

Append increments of 50 to end of lines of text Empty
PostSubject: Append increments of 50 to end of lines of text   Append increments of 50 to end of lines of text EmptySun May 15, 2011 2:04 am

I'm trying to mirror a server but only specific urls. Trying to backup a box at home.

Problem is, i have to manually add over 509 urls..

Example:
Code:

url.com/forum/mod_m/
url.com/forum/mod_m/25
url.com/forum/mod_m/50
url.com/forum/mod_m/75
url.com/forum/mod_m/100
url.com/forum/mod_m/125.. and so on

Is there any easy way to append those increments of 25 to the end of each line? I have limited knowledge in programming.. and i cant seem to this with notepad++'s macros or built in tools..
Back to top Go down
Vugto
Member
Member
Vugto

Posts : 6
Join date : 2011-04-18

Append increments of 50 to end of lines of text Empty
PostSubject: Re: Append increments of 50 to end of lines of text   Append increments of 50 to end of lines of text EmptySun May 15, 2011 2:05 am


No programming required here. Open up Excel. Type the value 25 in a cell, followed by value 50 in the cell below. Select both of those cells. Move mouse cursor to the bottom-right corner of the selection (that's bottom-right of 50). The cursor will turn into a small plus sign...drag it towards the bottom. Watch what happens.

Back to top Go down
Momment
Member
Member
Momment

Posts : 19
Join date : 2011-03-09

Append increments of 50 to end of lines of text Empty
PostSubject: Re: Append increments of 50 to end of lines of text   Append increments of 50 to end of lines of text EmptySun May 15, 2011 2:06 am

Vugto wrote:

No programming required here. Open up Excel. Type the value 25 in a cell, followed by value 50 in the cell below. Select both of those cells. Move mouse cursor to the bottom-right corner of the selection (that's bottom-right of 50). The cursor will turn into a small plus sign...drag it towards the bottom. Watch what happens.


haha nice timing.. just figured it out using simple MSDOS command.

Code:

for /l %i in (0,25,317500) do echo WEBURL=%i^&print=true >>urls.txt

Thanks anyways, ill know for next time.
Back to top Go down
Yola
Member
Member
avatar

Posts : 12
Join date : 2011-03-09

Append increments of 50 to end of lines of text Empty
PostSubject: Re: Append increments of 50 to end of lines of text   Append increments of 50 to end of lines of text EmptySun May 15, 2011 2:10 am

nice.
Back to top Go down
Sponsored content




Append increments of 50 to end of lines of text Empty
PostSubject: Re: Append increments of 50 to end of lines of text   Append increments of 50 to end of lines of text Empty

Back to top Go down
 

Append increments of 50 to end of lines of text

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» C++ Text Adventure assistance?
» Problem w/ text adventure
» text set to x number of pixels.
» creating formattable text input script
» Add a custom string property to a linklabel?Dear all I am totally new to visual C#. Whilst I can sort of manage console apps, I easily get lost when it comes to coding forms. I am currently making an "app launcher" which reads a text file line by line.

Permissions in this forum:You cannot reply to topics in this forum
Easy A :: Append increments of 50 to end of lines of text Edit-trash Useless :: Trash-