Path: number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!msrtrans!News.Dal.Ca!halifax!ak621
From: ak621@chebucto.ns.ca (Richard Bonner)
Newsgroups: alt.msdos.batch,alt.msdos.batch.nt,fidonet.batpower
Subject: Re: How To Get Filename Without The Extension!
Followup-To: alt.msdos.batch,alt.msdos.batch.nt,fidonet.batpower
Date: Mon, 11 Feb 2008 12:44:32 +0000 (UTC)
Organization: Chebucto Community Net
Lines: 28
Message-ID:
References:
NNTP-Posting-Host: chebucto.ns.ca
12:44:32 GMT)
NNTP-Posting-Date: Mon, 11 Feb 2008 12:44:32 +0000 (UTC)
Bytes: 2010
Xref: number1.nntp.dca.giganews.com alt.msdos.batch:93252
alt.msdos.batch.nt:42180 fidonet.batpower:569
FileGod (goto@mysite_on.error) wrote:
> Ahhhhhhhhhhhhh, I just a batch file that will be usefull for me, I am new to
> XP & I do not know where Delims is or if this would run on 95/98 DOS 6.22 or
> whatever but it sure will be a lot easier than creating a new program from
> scratch to replace one of my DOS program that does not work properly with XP!
> @echo off
> setlocal
> set List=C:\Temp\*.*
> for /f "delims=" %%a in ('dir /b "%List%"') do echo %%~na
*** For all versons of DOS, 4DOS or XSET will separate a filename and
extension.
> Oh, Todd, I know I need to get back to work on my site, when you use a
> text editor to work on a web page you do not see what it looks like, I
> have not been running XP for long so I am still learning more about it &
> Linux...) Speaking of working on websites this is old but lots of folks
> never seen how to use FTP with batch files...
(Snip)
*** It's not only the webpage, FileGod, it's also the grammar and
punctuation. You need to work on those, not just the webpage presentation
itself.
Richard Bonner
http://www.chebucto.ca/~ak621/DOS/
|