🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #162479

Re: Can I purge temp folder on exit?

#162479
From: /betty/
Date: Sat, 12 Feb 2005 05:53
31 lines
2510 bytes
On 11 Feb 2005 23:43:50 GMT, PhilM used 16 lines to assert:

> thanks for the explanation Martin.
> 
> Here's a copy & paste of the .bat file that I created
> @echo off
> cd \xnews
> start /wait xnews.exe
> del /f /q ..\temp2\*.*
> 
> The actual folder I use for the saving of these files, as you can see, is 
> temp2, but though the shortcut starts up xnews for me, it doesn't flush the 
> temp2 folder on exit of xnews!!
> When the bat file does it's job and starts up xnews,the command prompt 
> window also minimises to the taskbar with the message
> 'The system cannot find the path specified.'
> Any ideas what I've done wrong?

Like Barry said, make it specific by using absolute paths, not relative
ones, to address your target objects.
Or use a fully qualified change directory before each command.

It was only an example waiting for your own adaptive creativity.

> Thanks for your patience, as you can tell I'm a DOS-nophobe :)

Being raised on a crayons computing diet would be like being blessed
with a thalidomide birth.

-- 
/betty/ [2005-02-12 16:36:26]
Technical Details
Message-ID: <hwt9wltoylto$.dlg@betty.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed2.easynews.com!easynews.com!easynews!easynews-local!news.easynews.com.POSTED!not-for-mail
References: <Xns95F9B0572F815PhilM.nospamaddress.@195.129.110.67> <pdh85x9qbmav$.dlg@betty.invalid> <Xns95FA9A04B3D5BPhilM.nospamaddress.@195.129.110.68> <420d12c0$0$13941$892e0abb@auth.newsreader.octanews.com> <Xns95FAF164FB207PhilM.nospamaddress.@195.129.110.68>

Show Full Headers
Complete Article Headers
Message-ID: <hwt9wltoylto$.dlg@betty.invalid>
Subject: Re: Can I purge temp folder on exit?
Date: Sat, 12 Feb 2005 05:53:44 GMT
From: /betty/ <no.addr.4.u.equals.no.spam.2.me@simple.isnt.it.invalid>
References: <Xns95F9B0572F815PhilM.nospamaddress.@195.129.110.67> <pdh85x9qbmav$.dlg@betty.invalid> <Xns95FA9A04B3D5BPhilM.nospamaddress.@195.129.110.68> <420d12c0$0$13941$892e0abb@auth.newsreader.octanews.com> <Xns95FAF164FB207PhilM.nospamaddress.@195.129.110.68>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed2.easynews.com!easynews.com!easynews!easynews-local!news.easynews.com.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Reply-To: zero.tolerance@here.invalid
Organization: Pet Rocks Inc.
Archive: no
X-Answer-To-Spam: 42
X-No-Archive: yes
X-No-Google-Store: yes
Lines: 31
X-Complaints-To: abuse@easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise
 we will be unable to process your complaint properly.