Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Reply
 
LinkBack Thread Tools Display Modes
Old 25-11-2010, 01:41 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Jun 2005
Posts: 44
Question vbscript query


need help with vbscript code to read specific number of characters from a text file and save them to another file

For example : read all the characters from 10th character to the 20th character and write these characters to another text file

I know its simple but i cant seem to figure it out.

code needs to be in vbscript not vb6 or .net

Can anybody help?

Thanks
__________________
AMD X2 240, GA-MA78GM-S2H, OCZ 2GB DDR2, HD4850 512MB, Seagate 500GB Barracuda 7200.12,Gigabyte Superb 460W, CM Elite 335, AL BXR1221, AOC 2236VW,
PSP 2004,Kindle 3g,Sansa Clip+ 8 GB,PL-30
anuragingle is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 30-11-2010, 11:16 AM   #2 (permalink)
In The Zone
 
Join Date: Mar 2004
Location: Welcome to the Matrix
Posts: 215
Default Re: vbscript query

Are you stuck at a certain issue or you want somebody to write it completely for you.

It should be pretty easy.
Read the file. Use Mid function ( mid(str, 10,20) )and save in other file.
__________________
----
enjoy is offline   Reply With Quote
Old 23-12-2010, 10:00 PM   #3 (permalink)
Right Off the Assembly Line
 
logicsync's Avatar
 
Join Date: Dec 2010
Posts: 9
Default Re: vbscript query

this should completely help you out:

Text File Scripting using VB and VBScript
logicsync is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Charan

Advertisement




All times are GMT +5.5. The time now is 03:24 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2