Re: Un-erasable folder



Hi, gcorvera.

You're welcome. And thanks for the report back! ;<)

RC
--
R. C. White, CPA
San Marcos, TX
rc@xxxxxxxxxxxx
Microsoft Windows MVP

"gcorvera" <gcorvera@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CAEB8783-4541-4E86-8FCC-AB3D95A0E564@xxxxxxxxxxxxxxxx
>I already had tried using wildcard combinations, since I knew that what was
> happening was the command interpreter messing up with the dots. But I
> never
> thought of using the 8.3 directory name, that worked simply and
> beautifully,
> thanks.
>
> By the way, the only way I can replicate the error is inserting the disk
> and
> having MusicMatch copy it, if I use iTunes it will strip the periods from
> the
> end of the title, and I can find no way of creating it from cmd.exe
>
> Thanks again
>
>
> "R. C. White" wrote:
>
>> Whoops...
>>
>> > Since the folder/file name has a space character within it, you'll need
>> > to
>> > enclose the entire filename (including the path if you are not in its
>> > parent directory).
>>
>> Enclose IN QUOTES, of course. ;^}
>> "Y:\My Music\Supertramp\Even in the Quietest Moments.."
>>
>> As you may know, "DOS" often uses . and .. to refer to the current
>> directory
>> and its parent. If you are in your Supertramp directory, then . means
>> Supertramp and .. means "My Music"; cd .. moves the focus up to the
>> parent
>> directory. In some versions of DOS, ... would mean Y:\, but other
>> versions,
>> including WinXP's cmd.exe, don't allow more than two periods. Also, of
>> course, the period is used as a separator between the filename and the
>> extension, so the use of one or more periods in a filename can get very
>> confusing! Especially if the dots are at the end. Was your original
>> 3-dot
>> filename actually a no-dot name with a 2-dot extension? Or a one-dot
>> name
>> and a one-dot extension? ???
>>
>> (When I try to md "test folder..." on my computer I get a new folder
>> named
>> "test folder", without the dots. Then, of course, rd "test folder"
>> removes
>> it. That doesn't help you, but I learned something by trying it. But I
>> can't create a 3-dot foldername to see if I can remove it.)
>>
>> Some other commands do accept wildcards, so you may be able to:
>> ren "Even*.*" Even
>>
>> or maybe:
>> ren "Even*.*.*" Even (to take care of what might be interpreted as
>> multiple
>> extensions - experiment to see if you can find a combination that works)
>>
>> and then:
>> rd Even
>>
>> RC
>>
>> "R. C. White" <rc@xxxxxxxxxxxx> wrote in message
>> news:O$nvXCZrFHA.904@xxxxxxxxxxxxxxxxxxxxxxx
>> > Hi, gcorvera.
>> >
>> > Rather than del, use rd (or rmdir, both mean Remove Directory). And
>> > add
>> > the /s switch to remove the entire directory tree, including all files
>> > and
>> > subdirectories in it. Like the former deltree command.
>> >
>> > Since the folder/file name has a space character within it, you'll need
>> > to
>> > enclose the entire filename (including the path if you are not in its
>> > parent directory). Or first use the dir command with the /x switch to
>> > see
>> > the SFN (Short File Name, also known as the 8.3 filename), then rd
>> > <SFN>.
>> > The rd command won't let us use wildcards but insists that we type the
>> > entire folder name, so the second method may be easier.
>> >
>> > In the "DOS" window, of course, you can type /? after any command to
>> > see a
>> > mini-help file showing the switches and parameters available with that
>> > command: dir /?
>> >
>> > RC
>> >
>> > "gcorvera" <gcorvera@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> > news:7EB4E3C0-4C78-4AB4-B5C5-7CDBB5B69CD5@xxxxxxxxxxxxxxxx
>> >>I was ripping mp3 files from an audio CD using MusicMatch Jukebox. I
>> >>have
>> >> Jukebox set up so it creates subdirectories directories named as the
>> >> album,
>> >> so it should have created a folder named "Even in the Quietest
>> >> Moments...";
>> >> instead it created one missing a period, thus: "Even in the Quietest
>> >> Moments.."
>> >>
>> >> The problem is that although MusicMatch does find the files, the
>> >> folder
>> >> appears empty to Windows Explorer. If I try to rename or delete it I
>> >> receive
>> >> an error message: "Cannot rename/delete file: Cannot read from the
>> >> source
>> >> file or disk", if I click on the folder I get an error message "..
>> >> refers
>> >> to
>> >> a location that is unavailable. etc", and what is REALLY interesting
>> >> is
>> >> using
>> >> the command prompt (cmd.exe), I got the following:
>> >> Y:\My Music\Supertramp>del "Even in the Quietest Moments.."
>> >> Y:\My Music\Supertramp\Even in the Quietest Moments.\*, Are you sure
>> >> (Y/N)?
>> >>
>> >> I answered 'y' and it deleted the files, but I still can't delete the
>> >> directory. I also tried deleting it through the Jukebox interface, and
>> >> it
>> >> doesn't do it.
>> >>
>> >> I tried chkdsk (through the "tools" tab on My computer/properties" and
>> >> it
>> >> didn't find anything wrong.
>> >>
>> >> The result on cmd.exe made me realize it had something to do with the
>> >> periods at the end of the file name, so I removed them and it worked
>> >> fine,
>> >> but I still have the "Even in the Quietest Moments.." directory that I
>> >> can't
>> >> delete on my system.
>> >> Does anybody know of a way to delete it?
>> >>
>> >> Thanks


.



Relevant Pages

  • Re: Gpsbabel - how to do all files in a directory
    ... gpsbabel doesn't seem to support filename wildcards, so you have to do this ... ".mps" as the extension. ... The "FOR" command then processes that list, one file at a time, each time ...
    (sci.geo.satellite-nav)
  • Re: How to add a command to right click in Windows Explorer
    ... I tried this, and I did see a command window pop up, but it did not compile. ... I think it needs the full filename and extension passed to it. ... Click the File Types tab. ...
    (microsoft.public.windowsxp.general)
  • Re: Want some info about find command
    ... I have little idea about "find" command. ... Why wouldn't you just ls -al filename? ... That will start at root and look everywhere. ... It will only look in the parent and childreen of the directory you are ...
    (comp.unix.solaris)
  • how to test extension of file
    ... i just wanted to know whether the "test" command has ... an option for testing the extension of file. ... i wanted to know if $x is of the form *.swp ... where $x has the filename. ...
    (comp.unix.shell)
  • Re: Unable to delete folder
    ... Before the Long File Names should be a column showing the SFN (Short File Name, also known as the 8.3 filename) for each file whose LFN does not qualify as ... Then just use the Del command with the SFN: del endtro~1, for example - but the actual SFN might be something unexpected! ... Even with LFNs, each file has only a single extension, although many appear to have multiple extensions. ... Either Move it into another folder or Move everything except this file out of this folder. ...
    (microsoft.public.windows.file_system)