Home All Groups Group Topic Archive Search About


Author
28 Oct 2007 10:31 PM
NW
I guess this will take regular expressions.

Would appreciate help to do the following:

rename a file that has a GUID appended to the base name.  This happened
after (arrrhhg!)  DFSR blew up and moved thousands of files to the
DFSRPrivate\Preexsing folder, and it renames the files with a GUID!  I need
to rename them and  move them back.

99631P1.pdf-{BBFBDD79-5069-49C3-A8D6-C88D557A9113}-v4376300

to

99631P1.pdf

Once I've done that I can continue beating up some of MS Support technicians
over this daggone DFSR issue :)

Author
29 Oct 2007 3:34 AM
McKirahan
Show quote
"NW" <inter***@yahhoo.com> wrote in message
news:O0OYOJbGIHA.280@TK2MSFTNGP03.phx.gbl...
> I guess this will take regular expressions.
>
> Would appreciate help to do the following:
>
> rename a file that has a GUID appended to the base name.  This happened
> after (arrrhhg!)  DFSR blew up and moved thousands of files to the
> DFSRPrivate\Preexsing folder, and it renames the files with a GUID!  I
need
> to rename them and  move them back.
>
> 99631P1.pdf-{BBFBDD79-5069-49C3-A8D6-C88D557A9113}-v4376300
>
> to
>
> 99631P1.pdf
>
> Once I've done that I can continue beating up some of MS Support
technicians
> over this daggone DFSR issue :)

Might this work from the command line:

Show quote
    >ren *.pdf.* *.pdf
Author
29 Oct 2007 12:48 PM
NW
Show quote
"McKirahan" <N***@McKirahan.com> wrote in message
news:idmdnfyz2rN027janZ2dnUVZ_hWdnZ2d@comcast.com...
> "NW" <inter***@yahhoo.com> wrote in message
> news:O0OYOJbGIHA.280@TK2MSFTNGP03.phx.gbl...
>> I guess this will take regular expressions.
>>
>> Would appreciate help to do the following:
>>
>> rename a file that has a GUID appended to the base name.  This happened
>> after (arrrhhg!)  DFSR blew up and moved thousands of files to the
>> DFSRPrivate\Preexsing folder, and it renames the files with a GUID!  I
> need
>> to rename them and  move them back.
>>
>> 99631P1.pdf-{BBFBDD79-5069-49C3-A8D6-C88D557A9113}-v4376300
>>
>> to
>>
>> 99631P1.pdf
>>
>> Once I've done that I can continue beating up some of MS Support
> technicians
>> over this daggone DFSR issue :)
>
> Might this work from the command line:
>
>    >ren *.pdf.* *.pdf
>

That's a huge help!

The elusive obvious!

Thanks,

NW

AddThis Social Bookmark Button