🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.misc
Article #2889

minus sign in file names?

#2889
From: Juergen Koslowski
Date: Mon, 16 Nov 1992 22:59
17 lines
1310 bytes
Hello there,

Yesterday I encountered a strange behaviour of MS-DOS 5.0. I tried to write a
batch file that takes a string as input, adds an extension to it (.tex in my
case), and then processes the corresponding file further. One of my files is 
called cc-1.tex. When calling the batch file with the argument "cc-1" only the
"cc" was recognized, and the "-1" was ignored. On the other hand, strings of the
form "cc0-" is processed correctly, as is a string of the form "cc_1". 

Could anybody please shed some light on this strange behaviour? Thanks!

-- J"urgen
-- 
J"urgen Koslowski         | If I don't see you no more in this world
Department of Mathematics | I meet you in the next world
Kansas State University   | and don't be late!
koslowj@math.ksu.edu      |                         Jimi Hendrix (Voodoo Chile)
Technical Details
Message-ID: <1e994bINNohv@hilbert.math.ksu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!wupost!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!math.ksu.edu!deadend

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!wupost!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!math.ksu.edu!deadend
From: koslowj@math.ksu.edu (Juergen Koslowski)
Newsgroups: comp.os.msdos.misc
Subject: minus sign in file names?
Date: 16 Nov 1992 16:59:23 -0600
Organization: Dept. of Mathematics, Kansas State University
Lines: 17
Message-ID: <1e994bINNohv@hilbert.math.ksu.edu>
NNTP-Posting-Host: hilbert.math.ksu.edu
Keywords: batch file parameters and filenames with minus sign