MIDRANGE dot COM Mailing List Archive

Home » MIDRANGE-L » August 2014

Stream file name of asterisk


Let's say you have a directory called '/Mydir'
and underneath this directory you have
Object link Type
.. DIR
somefile.txt STMF

Notice the file with a name of an asterisk?
While one coworker tries to figure out why his qsHell sftp session is now
doing this with an old script that's worked for years, I've been tasked
with trying to figure out how to rename this to something usable.

Here's my attempt..
ren '/Mydir/"*"' 'x'
Object not found. Object is /Mydir/*.
Argh! I think the coworker just figured it out.
Object link Type
.. DIR
asterisk STMF
somefile.txt STMF

Rob Berendt

Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2015 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact