Computing.Net > Forums > Disk Operating System > need help for DOS script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

need help for DOS script

Reply to Message Icon

Name: jds
Date: February 24, 2004 at 15:46:35 Pacific
OS: w2k
CPU/Ram: 256
Comment:

Hi,
I am new here. Can some one help me with this? I have a file "a.txt" like this:
"...
abc
def
ghi
1234567890abc000654321sdasdas
..."
I want query out the 4th line from line abc and cut out the position from 14 to 22, which is "000654321" and then write into a file like this: "abc 000654321"

Thanks in advance



Sponsored Link
Ads by Google

Response Number 1
Name: Wengier
Date: February 24, 2004 at 16:30:50 Pacific
Reply:

Please read this:

http://www.computing.net/dos/wwwboard/forum/14574.html

There is no DOS in Win2K, and Win2K uses NT scripts, not DOS scripts. DOS scripts and NT scripts are different script languages, though kind of similar in appearance.


0

Response Number 2
Name: Wengier
Date: February 25, 2004 at 09:12:30 Pacific
Reply:

OK, this thread has been redirected to the Programming Forum:

http://www.computing.net/programming/wwwboard/forum/9671.html


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


BIOS, boot options, no CD... How Can I Resolve This Pr...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: need help for DOS script

help for dos-nt scripting www.computing.net/answers/dos/help-for-dosnt-scripting/13582.html

need help and commands for ms-dos 4.9 www.computing.net/answers/dos/need-help-and-commands-for-msdos-49/7050.html

Looks like some of you need some special DOS programs... www.computing.net/answers/dos/looks-like-some-of-you-need-some-special-dos-programs/5367.html