Stripping File Extensions

I need help stripping file extension.
(Example)
filename = filename (Good)
filename.extension needs to become just filename
filename.sub.extension needs to become filename.sub
I need a function that will achieve this, because when saving
files, I need to copy some additional files over that need to have
the same name as the saved file. This is the last bug I need to fix
in my app.

You're awesome. Thanks so much for the example.
Now I will be able to finally pull my application out of Beta
and into Release Candidate.

Similar Messages

  • Mail.app Stripping File Extensions

    Greetings,
    I have had a very odd issue with Apple Mail stripping away file extensions from the end of attachments. Several folks I send to have issues opening these attachments and have to add the suffix onto the end of the filename (and yes they were on the end when sent). They are using both Macs and Windows boxes.
    I have tried to correct the issue in numerous ways including:
    - Defaulting Mail to send Windows friendly attachments
    - Defaulting my OS to always show file extensions
    - Trying numerous SMTP servers
    - Trying both my .Mac account and Earthlink account
    - Using different ISPs to send on all of the accounts and servers listed above
    - Sending in both RTF and plain text messaging
    The only way I have been successful in retaining the suffix has been to send through both the Earthlink and .Mac webmail services. The test file I have been using then arrives with no issues.
    All of the above makes me pretty sure it is a Mail.app issue. I am about to install Entourage (ick) but would prefer to find a solution. After lots of searching I am throwing it out there to see if anyone else has had the same issue.
    Any thoughts?
    PPC iMac and MacBook Pro   Mac OS X (10.4.10)  

    OK, here is the latest. Anyone else feel free to pipe in with possible solutions!
    - Sending to a Mac and receiving in Mailsmith from Mail.app results in the file extension being stripped away. The person I sent to has no issues with anyone else sending her files
    - Sending to the same Mac and using Mail instead of Mailsmith results in the extension being preserved.
    - I set up Outlook Express on my Parallels partition and it seemed to preserve the extension when I sent it from Mail.
    So it looks like there is some issue with Apple Mail and some e-mail clients. The ones I know I have had problems sending to are Mailsmith on Mac and Goldmine on Windows. At this point I am thinking it is not a server based problem.
    If anyone has any possible solutions I would appreciate the input.

  • How to strip file extension off a filename NSString ?

    To retrieve file extension from NSString, we use "pathExtension".
    To retrieve the filename from NSString without the extension we use ?

    9 views any nobodies helping ?
    Oh well...
    I've created this function to achieve this:
    -(NSString *) returnfile_name_without_theextension:(NSString *)filename
    NSString *filename_extension = [filename pathExtension];
    NSInteger filenameextensionlength = [filename_extension length];
    NSInteger filename_length = [filename length];
    filename_length = filename_length - (1 + filenameextensionlength);
    return [ filename substringWithRange:NSMakeRange(0, filename_length) ];
    Hope someone might find this useful.

  • .txt file extension

    Labview automatically saves a text file as a readable text file but it has no .txt or .text file extension on.  Is there a way in which you can make labview save a file automatically with a .txt file extension so it can be opened directly by notepad.  Rather than having to choose aprogram to open it with every time I try to access one of the files.
    Thanks,
    Matt.
    Solved!
    Go to Solution.

    gilgad2000,
    It depends on your VI. If you are using the "Path Control" tool, you can open its "Browse Options" and write .txt at the Pattern box.
    If you are not using it, you can also concatenate a ".txt" string at the end of the file path (use "Strip Path", "Concatenate Strings" and "Build Path" functions) just before using it on the saving function.
    Message Edited by Danigno on 07-17-2009 03:18 AM
    Attachments:
    Snap1.png ‏3 KB

  • Bridge removing file extension after batch rename

    Hi All,
    I've been having trouble with what appears to be a problem with Bridge in Photoshop CS2. I'm well aware this is an older version but, in this case, I don't think that should matter. Here is my situation:
    After batch renaming jpeg files, I've had a problem with Bridge simply stripping off the file extension on all the newly renamed files. This never happens right away...always later. In other words, I'll batch rename a folder full of photos without issue, note that the rename was successful, and then return to that same folder a short time later to find white thumbnails and missing file extensions. This has happened exactly the same way on two different computers - and always with the delay.
    This is getting to be very annoying. Has anyone had or heard of a similar issue? Thanks very much...

    First use the menu tools / cache / purge cache for folder, if still in trouble restart Bridge holding down option key to refresh preferences

  • I am unable to open scanned documents (with .jpg file extension) in my e-mail inbox, on the Mail app on my iPad. Please provide a clear answer. Thanks a lot.

    I am unable to open scanned documents (with .jpg file extension) in my e-mail inbox, on the Mail app on my iPad. Please provide a clear answer. Thanks a lot.

    Can you actually see that the attachment has a .jpg extension?  Some mail systems strip it off (I've seen AOL do that) which makes the attachment difficult to open.

  • Photoshop cannot recognize the file extension

    I'm trying to batch convert BMP files to JPG. One file works fine, as I build the Action. But when I run the batch, I get the error:
    File: "/Users/bryan/7D FTP/Streak in 7D/Pyracantha 2/Strips - 2 wide/"
    Error: Could not complete your request because Photoshop cannot recognize the file extension. (-25600)
    I see that the file in question is a directory, not a file, but everything was set up correctly to override "open" commands etc.
    Any ideas?

    The file names are an image sequence, Strip0002.bmp, Strip0002.bmp, etc.
    But the file name never appears in the error message, only the path.
    I tried moving the folders to the desktop in case the filename and path was too long, but it had no effect. The Batch Action always does the first file without error and fails on the second, as if it has remembered the output type JPG and is then confused by the input type BMP.

  • Photoshop cs5 is not appending file extensions

    in previous versions, photoshop appended to the file extension in the fiel save/save as dialog box.  it no longer does this and when you save a file it does not append the file extension to the file name, resulting in unknown fiel type. 
    i am running windows 7 64-bit with photoshp cs5. 
    it does not make any since to have the option of appending the file extension if the program is not going to do it.
    system info from photosho:
    Adobe Photoshop Version: 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch]) x64
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:10, Stepping:7 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
    Physical processor count: 8
    Processor speed: 2195 MHz
    Built-in memory: 16361 MB
    Free memory: 11097 MB
    Memory available to Photoshop: 14709 MB
    Memory used by Photoshop: 74 %
    Image tile size: 1024K
    Image cache levels: 6
    OpenGL Drawing: Enabled.
    OpenGL Drawing Mode: Normal
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: False.
    OpenGL Crash File: Not Detected.
    OpenGL Allow Old GPUs: Not Detected.
    Video Card Vendor: NVIDIA Corporation
    Video Card Renderer: GeForce GTX 560M/PCI/SSE2
    Display: 2
    Display Bounds:=  top: 0, left: 1600, bottom: 1200, right: 3200
    Display: 1
    Display Bounds:=  top: 0, left: 0, bottom: 900, right: 1600
    Video Card Number: 1
    Video Card: NVIDIA GeForce GTX 560M
    Driver Version: 8.17.12.6837
    Driver Date: 20110427000000.000000-000
    Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
    Video Mode: 1600 x 900 x 4294967296 colors
    Video Card Caption: NVIDIA GeForce GTX 560M
    Video Card Memory: -2047 MB
    Serial number: 91198138241777799091
    Application folder: C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\
    Temporary file path: C:\Users\Owner\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      J:\, 440.8G, 301.0G free
      H:\, 931.5G, 745.1G free
      E:\, 232.9G, 59.9G free
      D:\, 232.9G, 129.3G free
      C:\, 440.8G, 301.0G free
    Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Plug-ins\
    Additional Plug-ins folder: not set
    Installed components:
       A3DLIBS.dll   A3DLIB Dynamic Link Library   9.2.0.112  
       ACE.dll   ACE 2010/10/04-23:36:11   64.441628   64.441628
       adbeape.dll   Adobe APE 2010/02/23-12:40:58   61.421986   61.421986
       AdobeLinguistic.dll   Adobe Linguisitc Library   5.0.0  
       AdobeOwl.dll   Adobe Owl 2010/06/03-13:43:23   3.0.93   61.433187
       AdobeOwlCanvas.dll   Adobe Owl Canvas   3.0.68   61.2954
       AdobePDFL.dll   PDFL 2010/12/13-23:37:10   64.341419   64.341419
       AdobePIP.dll   Adobe Product Improvement Program   5.0.0.2021  
       AdobeXMP.dll   Adobe XMP Core   5.0   61.134777
       AdobeXMPFiles.dll   Adobe XMP Files   5.0   61.134777
       AdobeXMPScript.dll   Adobe XMP Script   5.0   61.134777
       adobe_caps.dll   Adobe CAPS   3,0,116,0  
       adobe_OOBE_Launcher.dll   Adobe OOBE Launcher   1.0.0.64 (BuildVersion: 1.0; BuildDate: Mon Jan 26 2010 21:49:00)   1.000000
       AFlame.dll   AFlame 2010/02/23-17:27:33   61.421976   61.421976
       AFlamingo.dll   AFlamingo 2010/02/23-17:27:33   61.421978   61.421978
       AGM.dll   AGM 2010/10/04-23:36:11   64.441628   64.441628
       ahclient.dll    AdobeHelp Dynamic Link Library   1,5,0,30  
       aif_core.dll   AIF   2.0   53.422628
       aif_ogl.dll   AIF   2.0   53.422628
       amtlib.dll   AMTLib (64 Bit)   3.0.0.64 (BuildVersion: 3.0; BuildDate:  Mon Jan 26 2010 21:49:00)   1.000000
       amtservices.dll   AMTServices (64 Bit)   3.0.0.64 (BuildVersion: 3.0; BuildDate:  Mon Jan 26 2010 21:49:00)   1.000000
       ARE.dll   ARE 2010/10/04-23:36:11   64.441628   64.441628
       asneu.dll    AsnEndUser Dynamic Link Library   1, 7, 0, 1  
       AXE8SharedExpat.dll   AXE8SharedExpat 2010/02/23-17:27:33   61.421978   61.421978
       AXEDOMCore.dll   AXEDOMCore 2010/02/23-17:27:33   61.421978   61.421978
       Bib.dll   BIB 2010/10/04-23:36:11   64.441628   64.441628
       BIBUtils.dll   BIBUtils 2010/10/04-23:36:11   64.441628   64.441628
       boost_threads.dll   DVA Product   5.0.0  
       cg.dll   NVIDIA Cg Runtime   2.0.0015  
       cgGL.dll   NVIDIA Cg Runtime   2.0.0015  
       CoolType.dll   CoolType 2010/10/04-23:36:11   64.441628   64.441628
       data_flow.dll   AIF   2.0   53.422628
       dvaadameve.dll   DVA Product   5.0.0  
       dvacore.dll   DVA Product   5.0.0  
       dvaui.dll   DVA Product   5.0.0  
       ExtendScript.dll   ExtendScript 2010/10/19-10:22:12   61.445301   61.445301
       FileInfo.dll   Adobe XMP FileInfo   5.0   61.134777
       icucnv36.dll   International Components for Unicode 2009/06/17-13:21:03    Build gtlib_main.9896  
       icudt36.dll   International Components for Unicode 2009/06/17-13:21:03    Build gtlib_main.9896  
       image_flow.dll   AIF   2.0   53.422628
       image_runtime.dll   AIF   2.0   53.422628
       JP2KLib.dll   JP2KLib 2010/12/13-23:37:10   64.181312   64.181312
       libifcoremd.dll   Intel(r) Visual Fortran Compiler   10.0 (Update A)  
       libmmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   10.0  
       LogSession.dll   LogSession   2, 0, 1, 11  
       MPS.dll   MPS 2010/12/13-23:37:10   64.450375   64.450375
       msvcm80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcm90.dll   Microsoft® Visual Studio® 2008   9.00.30729.6161  
       msvcp80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcp90.dll   Microsoft® Visual Studio® 2008   9.00.30729.6161  
       msvcr80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcr90.dll   Microsoft® Visual Studio® 2008   9.00.30729.6161  
       pdfsettings.dll   Adobe PDFSettings   1.04  
       Photoshop.dll   Adobe Photoshop CS5   CS5  
       Plugin.dll   Adobe Photoshop CS5   CS5  
       PlugPlug.dll   Adobe(R) CSXS PlugPlug Standard Dll (64 bit)   2.0.0.746  
       PSArt.dll   Adobe Photoshop CS5   CS5  
       PSViews.dll   Adobe Photoshop CS5   CS5  
       SCCore.dll   ScCore 2010/10/19-10:22:12   61.445301   61.445301
       tbb.dll   Threading Building Blocks   2, 1, 2009, 0201  
       TfFontMgr.dll   FontMgr   9.3.0.113  
       TfKernel.dll   Kernel   9.3.0.113  
       TFKGEOM.dll   Kernel Geom   9.3.0.113  
       TFUGEOM.dll   Adobe, UGeom©   9.3.0.113  
       updaternotifications.dll   Adobe Updater Notifications Library   1.0.0.68 (BuildVersion: 1.0; BuildDate: BUILDDATETIME)   1.0.0.68
       WRServices.dll   WRServices Thursday January 21 2010 12:13:3   Build 0.11423   0.11423
       wu3d.dll   U3D Writer   9.3.0.113  
    Installed plug-ins:
       Accented Edges 12.0
       ADM 3.11x01
       Alien Skin Autolayer 4 4.0.0
       Alien Skin Blow Up 3 3.0.0
       Angled Strokes 12.0
       Average 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Bas Relief 12.0
       Blow Up 3.0.0
       BMP 12.0.2
       Camera Raw 6.6
       Chalk & Charcoal 12.0
       Charcoal 12.0
       Chrome 12.0
       Cineon 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Clouds 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Color Halftone 12.0.2
       Colored Pencil 12.0
       CompuServe GIF 12.0.2
       Conté Crayon 12.0
       Craquelure 12.0
       Crop and Straighten Photos 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Crop and Straighten Photos Filter 12.0.2
       Crosshatch 12.0
       Crystallize 12.0.2
       Cutout 12.0
       Dark Strokes 12.0
       De-Interlace 12.0.2
       Difference Clouds 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Diffuse Glow 12.0
       Displace 12.0.2
       Dry Brush 12.0
       Eazel Acquire 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Embed Watermark 4.0
       Extrude 12.0.2
       FastCore Routines 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Fibers 12.0.2
       Film Grain 12.0
       Filter Gallery 12.0
       Fresco 12.0
       Glass 12.0
       Glowing Edges 12.0
       Grain 12.0
       Graphic Pen 12.0
       Halftone Pattern 12.0
       HDRMergeUI 12.0
       IFF Format 12.0.2
       Ink Outlines 12.0
       JPEG 2000 2.0
       Lens Blur 12.0
       Lens Correction 12.0.2
       Lens Flare 12.0.2
       Lighting Effects 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Liquify 12.0.1
       Matlab Operation 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Measurement Core 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Mezzotint 12.0.2
       MMXCore Routines 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Mosaic Tiles 12.0
       Multiprocessor Support 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Neon Glow 12.0
       Note Paper 12.0
       NTSC Colors 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Ocean Ripple 12.0
       OpenEXR 12.0.2
       Paint Daubs 12.0
       Palette Knife 12.0
       Patchwork 12.0
       Paths to Illustrator 12.0.2
       PCX 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Photocopy 12.0
       Picture Package Filter 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Pinch 12.0.2
       Pixar 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Plaster 12.0
       Plastic Wrap 12.0
       PNG 12.0.2
       Pointillize 12.0.2
       Polar Coordinates 12.0.2
       Portable Bit Map 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Poster Edges 12.0
       Radial Blur 12.0.2
       Radiance 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Read Watermark 4.0
       Reticulation 12.0
       Ripple 12.0.2
       Rough Pastels 12.0
       Save for Web & Devices 12.0
       ScriptingSupport 12.0.4
       Shear 12.0.2
       Smart Blur 12.0.2
       Smudge Stick 12.0
       Snap Art 3 3.0.0
       Solarize 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Spatter 12.0
       Spherize 12.0.2
       Sponge 12.0
       Sprayed Strokes 12.0
       Stained Glass 12.0
       Stamp 12.0
       Sumi-e 12.0
       Targa 12.0.2
       Texturizer 12.0
       Tiles 12.0.2
       Torn Edges 12.0
       Twirl 12.0.2
       Underpainting 12.0
       Vanishing Point 12.0
       Variations 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Water Paper 12.0
       Watercolor 12.0
       Wave 12.0.2
       WIA Support 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Wind 12.0.2
       Wireless Bitmap 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       ZigZag 12.0.2
    Plug-ins that failed to load: NONE
    Flash:
       Yale
       Gallery Wrapper
       Edge FX CS5
       Analog Photo FX
       Mini Bridge
       Kuler
       Access CS Live
       CS Review
       CS News and Resources
    Installed TWAIN devices: NONE

    krwebb wrote:
    The operating system has no problems with the filenames ... it is Photoshop that is not handling the names correctly. 
    Just tried this out on my Windows 7 64 bit system, and I get the same results using Photoshop.
    When I save a file in Photoshop CS5 64 bit with the name 047. Crayon - Abstract the file is saved as 047. Crayon - Abstract without a file extension, no matter what document type I select in the drop-down.
    In Word I get the expected result:
    When I save a file in Word with the name 047. Crayon - Abstract the extension is automatically added (047. Crayon - Abstract.docx)

  • SSMS 2014 File Extensions

    Why can't I associate file extensions within SSMS 2014?  I want .TAB, .PRC, .UDF, etc. to open as a .SQL file would, i.e. connected to a server and with appropriate syntax colour coding.
    Adding an extension in Tools\Options\Text Editor\File Extensions has no effect.  This is using Microsoft SQL Server Management Studio 12.0.2000.8.
    Worth lodging a bug report?

    That's not the problem.  Files such as .PRC or .UDF will open within SSMS 2014 when double-clicked from Explorer, however they don't have syntax colouring, don't offer the option to specify a server connection and can't be executed, (not surprising
    if they're not connected to a server!).
    This looks like a bug that was previously reported in SQL 2012, which if this is the case, is frankly pathetic from MS.  Every organisation I've worked for differentiate their database object types by these kind of file extensions, so my current employer
    is certainly not unique in this.  IF this can't be resolved I'll have to pay for something that will work, such as Quest's Toad product, not ideal when I've already paid a huge sum of money for SQL Server.

  • Download ZIP file without changing file extension

    I regularly download a zipped csv file, of the format: "filename.csv.gz". As the name does not change, Firefox adds a digit to distinguish it, so for example I get "filename.csv-3.gz". This is a pain as it changes the file extension which means that I cannot open the extracted file without first renaming it. I want to keep an archive of all the files, so deleting them each time isn't really an option, and neither is moving them to a different location each time. Is there any way the naming convention for downloads can be changed?

    I think you have to disable it in your Operating system:
    8dot3NameCreation
    [http://support.microsoft.com/kb/121007]

  • I have many photos with file extension of .PDD and that Photo Deluxe 4 no longer will operate in Win 7. How can I open?  Next in Elements 11, how do I load and print different pictures and different sizes options on the same page?

    I have many photos with file extension of .PDD and that Photo Deluxe 4 no longer will operate in Win 7. How can I open?  Next in Elements 11, how do I load and print different pictures and different sizes options on the same page?
    Thanks,
    Shir

    sbmgrams wrote:
    I have many photos with file extension of .PDD and that Photo Deluxe 4 no longer will operate in Win 7. How can I open?
    See here:
    Reading PhotoDeluxe PDD Files

  • How do I add a movie from my laptop to iTunes, what should be the file extension.

    How do I add a movie from my laptop to iTunes, what should be the file extension.

    The extension is usually .mov, .m4v, or .mp4.   But you can't just change the extension.  The movies have to be encoded in a particular fomat.  Anything downloaded from iTunes or plays in Quicktime player will be fine.

  • How can you hide file extensions?

    Hello i have a ton of pictures in seperate folders with the extensions .JPEG and i really hate that it shows. I have tried going to the finder and unchecking the show all file extensions, but it does not fix that issue. I also saw this in another topic but i haven't been able to understand it.
    Open the Script Editor in the /Applications/AppleScript/ folder and paste in the following:
    tell application "Finder"
    set extension hidden of every file of entire contents of (selection as alias) to true
    end tell
    Select the folder enclosing the documents in the Finder, and press the Run button in the Script Editor. If they are enclosed by multiple folders or are at different levels in the folder structure, select the first folder which encloses all the documents.
    (22397)
    I don't know if it still works. Im also not sure where i put the folder. I have tried programs but they take away the extension and make the picture not open up then.
    Please if you can help

    yes i found it, but this is how i enter it i dont think its right:
    tell application "Finder"
    set extension hidden of every file of entire contents of (selection as alias) to true
    end tell
    /Users....
    then i get Syntax error "/"

  • How to Load the data from excel file(Extension is .CSV) into the temp.table

    Hi
    How to Load the data from excel file(Extension is .CSV) into the temporary table of oracle in Forms11g.
    My Forms Version is - Forms [64 Bit] Version 11.1.2.0.0 (Production)
    Kindly Suggest the Solution.
    Regards,
    Sachin

    Hello Sachin,
    You can use the following metalink note:How to Read Data from an EXCEL Spreadsheet into a Form Using Webutil Client_OLE2 (Doc ID 813535.1) and modify it a little bit.
    Instead of copy values into forms you can save them in your temporary table.
    Kind regards,
    Alex
    If someone's helpful or correct please mark it accordingly.

  • The filtering process could not be initialized when trying to process this item. Verify that the file extension is a known type and the item is not corrupt

    I am getting below error message while search crawl in sharepoint foundation 2010 search for only .VSD files and not for any other docs type.
    The filtering process could not be initialized when trying to process this item. Verify that the file extension is a known type and the item is not corrupt. 
    I have installed the Microsoft Filter Pack 2.0 in search server but still i am getting the same error.
    <//span>
    Any one's help will be appreciated.
    Regards,
    Rashmi
    Rashmi Singhal

    Hi Rashmi,
    1. Checked the file extension is added or not to the search file types.
    2. Checked file name has any invalid characters.
    3. Resetting the crawl index and run a full crawl .
    Best Regards.
    Kelly Chen
    TechNet Community Support

Maybe you are looking for