Shell Script and DOS path
Furmaniuk, Michael
MFurmaniuk@NaviPath.com
Thu Nov 2 08:56:00 GMT 2000
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@sourceware.cygnus.com
More information about the Cygwin
mailing list