www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/24/21:10:00

Date: Wed, 24 Apr 1996 20:48:48 -0400
From: dj (DJ Delorie)
Message-Id: <199604250048.UAA21817@delorie.com>
To: wklein AT acs DOT ryerson DOT ca
CC: djgpp AT delorie DOT com
In-reply-to: <4llnru$188n@ns2.ryerson.ca> (wklein@acs.ryerson.ca)
Subject: Re: Remove bad directory

Try writing a djgpp program that calls remove(), and then you can
quote the command line.  Use ALT-Keypad-0-9 to enter characters by
ASCII value.

You can even use findfirst/findnext to get the names (with bogus
characters), and prompt the user (yes/no) for each file.  That way,
you don't have to figure out the ascii codes.

A djgpp port of "rm -i *" would do this also, but I'd back up the
system first.

- Raw text -


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