AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to Computer Support/Help/Discussion...  <--  <--- Return to Home Page
   Networked Database  Computer Support/Help/Discussion...   [1604 / 1624] RSS
 From   To   Subject   Date/Time 
Message   Shurato    All   Batch File...   October 23, 2024
 11:42 AM *  

What's wrong with this batch file?  It only appears to grab the first
directory, instead of all subdirs.  Sometimes it doesn't even do that.. f

for %%i in (*.) DO (
cd %%i
del shortlist.bbs
for %%j in (*.zip) DO (
pkunzip -o %%j file_id.diz %temp%
set /p output=<%temp%\file_id.diz
echo %%j     %output%>>shortlist.bbs
)
cd ..
)

I'm sure I missed something obvious, but I can't figure it out.  Can I not
nest for do loops?  This is to grab the first line of file_id.diz files, put
the filename a few spaces, then the description into a file for my ftp server
to display descriptions.  pkunzip and set are working.  It's not looping
though.

--
Shurato, Sysop Shurato's Heavenly Sphere (ssh, telnet, pop3, ftp,nntp,
,wss) (Ports 22,23,110,21,119,8080) (ssh login 'bbs' pass 'shsbbs';).


*** THE READER V4.50 [freeware]
---
 * Origin: Shurato's Heavenly Sphere telnet://shsbbs.net (618:300/50)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to Computer Support/Help/Discussion...  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0162 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.1.241108