remove unwanted file extension!!! help!
Posted: 03 Apr 2010 05:56
hi dostips batch scripters,
is it possible to remove unwanted file extension in a text document?
for example,
ref.txt
---------------content-----------------
123.jpg
456.jpg
789.jpeg
def.bmp
ghi.bmp
jkl.pdf
abc.pdf
*.*etc
--------------content end--------------
i use the notepad replace feature & it works but for large number of
different file extensions, it is quite time consuming!!
can bat remove those file extension with ease???
so that the result will be as below,
ref.txt <- filter out
---------------content-----------------
123
456
789
def
ghi
jkl
abc
--------------content end--------------
thanks in advance!!
is it possible to remove unwanted file extension in a text document?
for example,
ref.txt
---------------content-----------------
123.jpg
456.jpg
789.jpeg
def.bmp
ghi.bmp
jkl.pdf
abc.pdf
*.*etc
--------------content end--------------
i use the notepad replace feature & it works but for large number of
different file extensions, it is quite time consuming!!
can bat remove those file extension with ease???
so that the result will be as below,
ref.txt <- filter out
---------------content-----------------
123
456
789
def
ghi
jkl
abc
--------------content end--------------
thanks in advance!!