Article View: news.software.readers
Article #121241Re: [slrn] can slrn make a dir?
From: Jens Wahnes
Date: Tue, 04 Mar 2003 14:12
Date: Tue, 04 Mar 2003 14:12
22 lines
1798 bytes
1798 bytes
natex wrote:
> I need slrn to make the directory that I tell it to download to.
> I am aware of the "set save_directory" option for .slrnrc, but this
> doesn't quite accomplish what I need. If I choose a directory to
> downlaod to, slrn complains that it does not exist. I need slrn to make
> the directory.
You could write a macro that makes the directory first (e.g., using
system("mkdir "+directoryname)) and then sets save_directory accordingly
(i.e., set_string_variable("save_directory", directoryname)).
directoryname should probably be an absolute path so that it won't
matter which directory you started slrn from.
Jens
--
"What is robbing a bank compared with founding a bank?"
- Bertolt Brecht
Technical Details
Message-ID:
<slrnb69d2b.g2.nsr@message-id.wahnes-world.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!news.belwue.de!wahnes-world.de!not-for-mailReferences:
<slrnb6884k.p1n.natex@smithling.homelinux.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnb69d2b.g2.nsr@message-id.wahnes-world.de> Subject: Re: [slrn] can slrn make a dir? Date: Tue, 04 Mar 2003 14:12:27 +0000 From: Jens Wahnes <jewa@gmx.net> References: <slrnb6884k.p1n.natex@smithling.homelinux.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!news.belwue.de!wahnes-world.de!not-for-mail Newsgroups: news.software.readers Organization: Wahnes World Lines: 21 NNTP-Posting-Host: talkline42.rhrk.uni-kl.de X-Trace: news.BelWue.DE 1046788723 25864 131.246.65.42 (4 Mar 2003 14:38:43 GMT) X-Complaints-To: news@news.belwue.de NNTP-Posting-Date: Tue, 4 Mar 2003 14:38:43 +0000 (UTC) Cancel-Lock: sha1:ezQRWdAcqla4LHUURTI8N/Lasqo= User-Agent: slrn/0.9.7.4pl2 (Linux)