delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/02/12:12:28

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <EF53C29D0244D411A62A00508BAC6E5F7193EC@npathmsx1.navipath.net>
From: "Furmaniuk, Michael" <MFurmaniuk AT NaviPath DOT com>
To: "Cygwin (E-mail)" <cygwin AT sources DOT redhat DOT com>
Subject: Shell Script and DOS path
Date: Thu, 2 Nov 2000 11:55:12 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

  I have a shell script that is copying files to a DOS directory, this is to
check files out of Microsoft's VSS program and prepare the files for build
scripts, I am trying to use a utility on a shared network drive to change
the contents of one of the files.  The file takes the parameters

  utility.exe {original file name}  {output file name}

  I've mounted the network drive, since its static in our environment, and
can run the utility in the Bash shell using the DOS paths as long as they
are escaped, however, when I try to do the same in the Shell script using a
substitution for the variable {dos_path} I get the following error:

/r/Utilities/utility.exe {dos_path}\\folder\\folder\\file.inf
{dos_path}\\folder\\folder\\new_file.inf: not found

  I can see the file path appear correctly if I run in debug mode.  I'm
trying to understand if this is a DOS path problem, or the way the
parameters are being sent.  Has anyone tried anything similar with success?

  Thanks

  Michael



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019