From: "Peter Cassidy" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: DOS 8 levels deep workaround? Date: Thu, 6 Jun 2002 16:33:57 +0930 Lines: 12 Organization: Rocksoft Limited X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: eth1083.sa.adsl.on.net Message-ID: <3cff0963$1@duster.adelaide.on.net> X-Trace: duster.adelaide.on.net 1023347043 eth1083.sa.adsl.on.net (6 Jun 2002 16:34:03 +0950) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > It's a basic limitation of DOS. The only workaround is to use SUBST to > create a drive letter every 8 levels of subdirectories, so that each > d:/foo/bar path is never longer than 8 levels. How can I do this inside an application? i.e. what is the 'system call' that implements SUBST? Thanks, Peter