Code Bank
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingCode Bank

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 15th, 2005, 03:14 PM
MrNorth MrNorth is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Location: Northern BC, Canada
Posts: 41 MrNorth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 2 m 38 sec
Reputation Power: 5
Question WINDOWS BATCH FILE - APPEND, add character return

First Question:
After appending information to a file.
how do you add a Character return at end of line.
instead of having all the information on one line.


Here's my example of what it is i'm going to build...

Begin
Set FTPVALUE = false
search for Source in immediate directory Source FILE1(*.PRC)
If SOURCE FILE FOUND THEN
Open SourceFile1
Open Target
IF line 1 inside sourcefile1 <> EOF.
Copy SourceFile1 into Target
Set FTPVALUE = True
If active line @ EOF then
Move SourceFile into Archive Folder
end if
end if
end if

Call search for Source

If Search for Source = Empty then
IF FTPVALUE = True then
Call FTP Application batch file.
end if
end if

End of Build Target

Last edited by MrNorth : February 15th, 2005 at 05:15 PM. Reason: Solved part of the problem.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingCode Bank > WINDOWS BATCH FILE - SEARCH, COPY, APPEND, call other batch file


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT