From: Felix Karpfen Subject: Correct Syntax for Subst Date: Sun, 21 Apr 2002 04:27:41 +1000 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <20020421042741.A5086@smtp.webone.com.au> Reply-To: felixk@webone.com.au Mime-Version: 1.0 Return-path: Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-msdos@vger.kernel.org I have a very aged DOS program that uses data files which are stored in a separate directory but recognises only drives and not paths. When I run this program under DOS, I am able to solve this problem with the "subst" command - e.g. SUBST I: C:\path to desired directory. When I attempt to use a similar routine under dosemu, the syntax is not recognised and I get the following output instead: C:\>SUBST I: D:\mm_data (issued command) Resulting output: ================ Substitutes a path by a drive letter. SUBST [drive1: [drive2:]path] SUBST drive1: /D drive1: drive letter to substitute [drive2:]path drive and path to be accessed via drive1: /D breaks off the relation between drive1 and drive2:path ------ Replacing D: by LINUX\FS/home directory, achieves nothing. So what do I need to do to get the "subst" command to do what it should under dosemu? All help will be gratefully received. Felix Karpfen -- Felix Karpfen felixk@webone.com.au Public Key 72FDF9DF (DH/DSA)