TIP: Click on subject to list as thread! ANSI
echo: batpower
to: ALL
from: 0@0.0 (FileGod)
date: 2008-04-02 21:46:17
subject: Re: CDLister.bat

Path: number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!newsdst01.news.prodigy.net!prodigy.com!postmaster.news.prodigy.com!newssvr25.news.prodigy.net.POSTED!eadf9591!not-for-mail
From: 0@0.0 (FileGod)
Newsgroups: alt.msdos.batch.nt,fidonet.batpower
Subject: Re: CDLister.bat
Lines: 34
Message-ID: 
NNTP-Posting-Host: 71.142.199.140
 02 Apr 2008 21:46:17 EDT)
NNTP-Posting-Date: Wed, 02 Apr 2008 21:46:17 EDT
Organization: SBC http://yahoo.sbc.com
Date: Thu, 03 Apr 2008 01:46:17 GMT
Bytes: 1917
Xref: number1.nntp.dca.giganews.com alt.msdos.batch.nt:42651
 fidonet.batpower:600

 I just checked out one of my file lists & found a bug in my CDLister.bat, I
had to add %1 to the dir/s/b so it now gets all the file listed, witout the
%1 it would list the files in the directory the batch file was ran in. This
still will not in DOS or Win 9x.

@echo off
if (%1)==() goto Begin
if (%1)==(?) goto Syntax
if (%1)==(/?) goto Syntax
if exist %1\nul goto Begin
echo Drive "%1" does not exist
goto End
:Syntax
echo Syntax: %1 [d:]
goto End
:Begin
vol %1
echo.
vol %1|find "drive">~.bat
echo set vsdrv=%%3>volume.bat
echo set vsvol=%%5>>volume.bat
call ~.bat
echo set vsser=%%4>volume.bat
for %%x in (call del) do %%x ~.bat
del volume.bat
if (%vsvol%)==(no) set vsvol={none}
rem echo.
set cmdline=
:End
echo %vsvol%
FOR /r %1 %%i IN (files.bbs) DO type %%i >>%vsvol%.lst
FOR /r %1 %%i IN (files.htm) DO type %%i >>%vsvol%.lst
dir/s/b %1>>%vsvol%.lst

SOURCE: echoes via archive.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.