🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #2702

Re: problem with int 21,5D00

#2702
From: Klaus Hartnegg
Date: Thu, 18 Oct 1990 10:26
33 lines
2041 bytes
hartnegg@sun1.ruf.uni-freiburg.de (Klaus Hartnegg) writes:

>Now I noticed that Function AX=5D00 is intended to do this job
>for me and can even do it MUCH faster because only ONE directory
>access is neccesary. Until now one access per file is done.

>But it always returns error code 5 (access denied) when I try to
>move ALL files from one directory to another. I finally found
>that the source is allowed to be "*.*" but not the destination.
>Examples:
>mv 1\*.dat 1\*.bak  ok
>mv 1\*.dat 2\*.dat  ok
>mv 1\*.dat 2\*.bak  ok
>mv 1\*.*   2\*.dat  ok  (but renaming all files to ".dat"!)
>mv 1\*.*   2\*.*    Access denied - nothing done
>mv 1\*.dat 2\*.*    Access denied - nothing done

I got two suggestions to try
mv 1\*.* 2
mv 1\*.* 2\
but I'm afraid: it doesn't work. Instead I get the error "path not found".
What Msdos 5D00 does is expand the wildcards of the first name
to all matching files and then expand the wildcards of the second
name in a way that the corresponding part is taken from the first
name. So there have to be wildcards in the second name.

Any other suggestions? Is there nobody out there who has experience
with using this interrupt??
-- 
---------------------------------------------------------------
Klaus Hartnegg, Kleist-Str. 7, D-7835 Teningen, Tel 07641/48652
BITNET   : HAKL@DFRRUF1
Internet : HAKL@ibm.ruf.uni-freiburg.de
Technical Details
Message-ID: <1990Oct18.102643.4205@sun1.ruf.uni-freiburg.de>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!unido!ira.uka.de!sun1.ruf.uni-freiburg.de!hartnegg
References: <1990Oct13.182440.9035@sun1.ruf.uni-freiburg.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!unido!ira.uka.de!sun1.ruf.uni-freiburg.de!hartnegg
From: hartnegg@sun1.ruf.uni-freiburg.de (Klaus Hartnegg)
Newsgroups: comp.os.msdos.programmer
Subject: Re: problem with int 21,5D00
Keywords: interrupt 5D00 server-function
Message-ID: <1990Oct18.102643.4205@sun1.ruf.uni-freiburg.de>
Date: 18 Oct 90 10:26:43 GMT
References: <1990Oct13.182440.9035@sun1.ruf.uni-freiburg.de>
Reply-To: HAKL@ibm.ruf.uni-freiburg.de
Distribution: comp
Organization: Rechenzentrum der Universitaet Freiburg, Deutschland
Lines: 34