Problem with locating file with windows

Hi,
I tried to use SAX parser to read some files through network using windows 2000.
I use parser.parse("\\\\Some directory\\some file");
when I try to execute program, SAX translates \\ to / and it can't locate the file.
Is there solution for this problem or should I install http server on far end machine and use http:....
Thanks.

use this syntax:
parse("file:////server_name/share_name/path/your.
ml");
I came to the same conclusion. But the "file://" prefix may only be present in front of a UNC file spec (\\server\share\...). If I use a drive letter (c:\mydir), it works without (and only without!)the "file://" prefix.
I am also using NT4, but would be very interested:
a.) if this is the same for Win2000 and XP
b.) if this is documented somewhere (I find this behavious rather strange)
Regards,
Bernhard

Similar Messages

  • Problem about locating file with similar filename "Info_*.dat"

    Dear all,
    I am a big problem in file locating and reading, please help and greatful to reply me with sample code.
    How can I locate and read in files with similar file name ( Info_*.dat ) one-by-one. For example , Info_AAA.dat, Info_BBB.dat, Info_CCC.dat. I want to read in Info_AAA.dat first, and then Info_BBB.dat , and lastly Info_CCC.dat, where AAA, BBB and CCC are random number. These files are stored in the same directory.
    How can I make use of * ? such as Info*.dat . Is that possible to use * with java ? Please show me a sample if possible.
    help Help..Urgent !
    Thanks a lot.
    MRW.

    That's easy with PathPattern class from JRegex:
    import java.util;
    import jregex.util.io.PathPattern;
      Enumeration files=new PathPattern("Info_*.dat").enumerateFiles();
      while(e.hasMoreElements()){
         File f=(File)e.nextElement();
         doWhatever(f);
    ...There are also any-char "?" and any-directory "**" wildcards.
    See http://jregex.sourceforge.net/gstarted.html#filesystem

  • Problems with compressing  files with right hand click. it does not work.

    Problems with compressing files with right hand click.
    I am using the compress function in the Mac OS (File > Compress XX) from time to time. Today it does not work anymore. OS 10.5.6
    I get a message: The content list cannot be created for compressing.
    I tried it with files and folders and keep getting this message. Anybody any idea as to how to fix this

    Thanks I love my macbook!!!!
    I also got further problems such as copy-paste not working etc.
    so I fixed it just this morning by running Applejack 1.5 and am back up running noticing your post.
    thanks for helping though!

  • I keep getting the message: "what should firefox do with this file" in Windows XP every time I want to download a file, e.g., adobe, excel, etc. How can this annoying message be deleted? The check box to "open file automatically" does not work!

    I keep getting the message: "what should Firefox do with this file" in Windows XP every time I want to download a file, e.g., adobe, excel, etc. How can this annoying message be deleted? The check box to "open file automatically" does not work!

    cor-el,
    Thanks for your prompt reply. However, the sources you gave do not seem to apply exactly to my situation. I have attached some screenshots that show what the dialogue box looks like for a pdf download, and what my settings in the Apps panel of Options are. You will note in the first screenshot that I have checked the box to handle this file type automatically; however, the next time I try to download a file of that type, the same dialogue box appears looking exactly like the one shown, so checking the "automatic" option appears to do nothing. The files to be downloaded from my Gmail messages are not generic or altered file types - they are shown as pdf, doc, docx, etc. So while your intent was good, your post did not help. Thanks anyway.

  • Problem opening PDF files with adobe

    I cannot get adobe to open my pdf files. Not from internet nor from desktop.
    I downloads fine,. I have installed and reinstalled several times.
    If I try to open it looks like it opens but closes immediately. I tried to open adobe, but nothing. A grey screen and that's it. I cannot access the help button

    Yes, I finally got it working using number 2:-) Thank you very much
    2013/8/1 Pat Willener <[email protected]>
       Re: Problem opening PDF files with adobe  created by Pat Willener<http://forums.adobe.com/people/pwillener>in
    Adobe Reader - View the full discussion<http://forums.adobe.com/message/5557146#5557146

  • White screen with flashing file with ?

    had trouble with iMac not booting up. Read disk and did the hold the D down at start up. fixed the problem for about 30min. then got the gray screne that said I needed to shut down and restart my iMac. Did as told now have a white screen with blinking file with ? on it.
    new to mac not sure what OS X I have.
    Please help, thanks

    Thanks for your help ok I got more infor off my iMac
    It is
    iMac5,1
    OS X 10-6.3 but I put snow leopard on it
    2.16 GHZ intel Core
    16B 667 HHZ DDR2 SDRAM
    The problem started about two weeks ago but I have been away from home to try to fix it. My son has informed my that you can be working on the computer when screen becomes shadded over then that message in a large squar come up that saids You need to turn off your computer by holding the button till all turns off the push the button again to turn it back on.
    I have done this and that when the white screen with the blinking file with ?. If you turn off the computer for a few hours it might start back up but some times you just get a white screen like it is trying to log on but never does. you just have to turn the computer off again.
    When it does come back up it works great for about an hour then the same thing happens again.
    please tell me it something simple

  • Hi can anyone help with a mac that had magnet put on it. I turned it on and then off but a white screen appears with a file with a question mark on it?

    Hi can anyone help with a mac that had magnet put on it. I turned it on and then off but a white screen appears with a file with a question mark on it?

    File icon with ? mark on it means it can't read from the hard drive. The hard drive is now wiped or bad. If just wiped then you will need to reinstall your operating system, OS X. If bad you will need to replace the drive.
    Start with booting the computer from the OS X install DVD that came with your system. If the Mac came with Lion Pre-Installed then you use the Lion internet recovery system to reinstall (Hold down Command+r keys or Command+Option+r keys to boot the computer from over the internet to the Lion recovery HD system).
    Good Luck.

  • Problem opening pdf files with Adobe Reader in Windows 7

    I bought a new Dell (Inspiron 5110) with pre-installed Windows 7 Home Premium (Version 6.1 SP1, 64 bit) and pre-installed Adobe Reader X (10.1.1). I cannot open ANY of my old pdf files with the Adobe reader (even after I re-installed the Adobe Reader). On another computer with Windows 7 I get the same error message. When I installed several other pdf-readers (Sumatra, Foxit, ..) I can still not open the pdf's -- but all the pdf's still open under Windows XP on my old computer and they also open on all my colleagues' non-Windows 7 computers. So it appears to be a Windows 7 problem. The Adobe error message says 'Adobe Reader could not open _.pdf because it is either not a supported file type or because the file has been damaged (…..).
    N.B.: I can download pdf files from the internet and can then open these 'new' pdf files with Adobe Reader X.
    N.B.2.: Most of the 'old' pdf files are scientific articles downloaded from various journal websites 2002-2011, so their quality should be out of question.
    N.B.3.:I've transfered the files via memory stick and portable HD.
    N.B.4.: If I try to open the pdf's via 'Open with' the problem remains the same.
    N.B.5.: When, on my Win7 Dell, I've uploaded/attached one of these old pdf files to an email the rtecipient could not tead it. But he could read it when I'd sent the same file from my old Win XP computer.
    N.B.6.: I have repeated this last observation: When I upload an old pdf file on my Win7 Dell to my email account and then send it to myself, I cannot open/read it on my Win XP (nor on the Dell, of course). Although the file size is precisely the same.
    N.B.7.: When I download a new pdf on my Dell, then upload/attach it to an email also on the Dell and send it to myself, I can download and read the attached pdf on both computers.
    Would be grateful for any suggestions.

    This is really strange.
    Please correct me if I am wrong, but from what I can understand, any PDF which is launched on your Win 7 OS fails to open, even though the same file works perfectly fine on your Win XP machine?
    Could you please run a full system anti virus scan on the said PDFs that are present on your local system. It could be a case of infected PDFs.
    Also, it would be great if you could try and download some of the erroneous PDFs from the web again, and see if you experience the same behavior.
    Thanks
    Ankit

  • Excel 2010 changes relative link paths to absolute in files synced with Offline Files in Windows 7

    Hello! I'm wondering if anyone else has seen this problem: I have a large number of Excel 2010 and 2003 files in a folder on my file server. This whole folder is also synced to my computer using Offline Files in Windows 7. I have a lot of references between
    cells in different Excel files, and all referenced workbooks are physically in the same folder. This all works nicely when I create these files at work - all file paths referenced in the cells are created as relative paths and the documents open correctly.
    This is, I understand, the expected and default behavior when Excel creates links. When I edit these files at home, nothing seems odd until I get back to work and sync these files back to the file server. At this point, I discovered that Excel 2010 has, when
    I saved the files while away from the corporate network, changed /all/ the cell references in any offline-edited Excel files to point at absolute paths, and that these absolute paths point to somewhere in my %APPDATA% structure. So whenever I come to work
    and I try to open an Excel file that I have recently worked with offline, I get a bunch of error messages about referenced files that are missing, although clearly they exist in the same folder as the file I've opened, and I must edit all the file references
    again, whereupon they are again created correctly as relative paths (since all files exist in the same folder), which are promptly mangled into absolute C:\....\Offline Files\.....\..... paths whenever I save them at home (and since that works too, I don't
    notice it again until I come back to work and the offline files are synced back to the real network location). This seems to be a case of Windows 7's Offline Files not being able to fool Excel 2010 into believing it is working on a file server - apparently
    Excel 2010 can see through the fakery and decides on it's own to "fix" the problem (which obviously isn't a problem since the paths are relative to begin with) by saving the paths as absolute paths instead. Yes, really clever, Excel. The exepected behavior
    according to MSKB is that links are created as relative paths, so why does it change to absolute whenever Offline Files are involved? I know Offline Files only syncs, it doesn't actually change the files, so I can conclude that Excel is the program at fault
    here. Is there a fix for this, or a known workaround? Because frankly, this bug makes it impossible for me to work in any advanced manner with linked Excel files. The sad thing is that this worked perfectly fine with Office 2003 and Windows XP. Is there a
    patch for this problem that I might have missed (I am running the latest Service Pack and I get Office updates from Microsoft Update). If not, is there a workaround I can use to prevent Excel from corrupting my links when I edit the files offline?

    Hello danceswithwindows,
    Thank you for your post.
    This is a quick note to let you know that we are performing research on this issue.
    Sincerely
    Rex Zhang
    Rex Zhang
    TechNet Community Support

  • [File] Problem while creating files with long pathnames

    Hello everybody
    I'm trying to create File objects corresponding to physical files. These files have very long pathnames because they are located in directories tree with large depth. So, my pathname conatins a lot of directories plus the name of the file itself.
    It seems, that there is a limitation in the length of the pathname that I pass to the File constructor because files with small pathnames are OK bu the ones with very large pathnames cannot be created.
    I tried the different File constructors (File(String pathname) and File(File parent, String childname)) but it still does not work. Even if the second constructor is a little bit better as it succeeds on files where the first constructor failed. But still, it's not enough.
    Please Help!
    Thank you
    Hugo

    RESOLVED!
    The problem was from the OS itself (Windows XP) which accepts at most 255 characters long path names.

  • Problem with Offline Files with Cisco NSS322 (firmware 1.3)

    Hi
    We've recently bought a new NSS322 NAS box to replace an ageing Windows SBS 2003 file server. We've upgraded the firmware to 1.3, and begun moving files across from the Windows server to the new NAS box. However, we're having a problem with Offline Files on the NAS, as attempting to make directories available offline on Windows clients (only tried Vista Business 32-bit so far) we get loads of errors stating that these files cannot be made available offline "because they are in use" (or something like that).
    Any suggestions as to why this might be? It doesn't appear to affect all files, but most of them.
    I've read somewhere that the "allow oplocks" setting can affect this if disabled, but it is already enabled on the device, so this can't be the cause of the problem.
    Any help you could provide would be much appreciated, as at the moment this issue is rendering our NAS unusable as we rely heavily on the offline files functionality.
    Thanks in advance.
    I have some more information - this appears to be related to the ownership permissions of the files on the NAS. New files created on the NAS can be made available offline, and have the ownership of the person who created the file, however, the files we moved across from the server are all listed as being owned by the user "guest" (I think this may be related to the fact that when we moved the files over, the user was logged in as "admin" rather than a user on the AD Domain). I should be able to resolve this through changing the owner of the files on the NAS, but I can't seem to do this, as I get an "access denied" error each time I try to change ownership.
    Message was edited by: redcitrus
    Is there any chance someone's going to be able to help me with this? I've currently spent £500 on a box that I can't use. If it can't handle Offline Files satisfactorily, it's no use to us.
    I've been looking at this a bit more - if appears that each user can make files they have created available offline, but files created by other people cannot - the error message that appears is: "The process cannot access the file because it is being used by another process".
    I'm getting desperate here...can anyone help?
    Message was edited by: redcitrus

    Sorry, but I don1 speak very good english..
    I was Try this quick test: As a quick test, you can do a forward all and make sure you can get into the ftp server.
    but result it is to same.
    I think, that problem is in firmware, becasue I know more people who own this router with to same firmware version (2.0.1.3), and have they to same problem how I.
    I have DISABLED FIREWALL on my router and problem hold over.
    If I replace router Cisco Linksys WRVS4400N by Ovislink router or any other, issue (problem) already no is.
    Configuration in Cisco Linksys WRVS4400N and configurations in any other router is to same, but FTP connection via Cisco Lynksys always will crash.
    If I connect to any other FTP server, sometimes requieres from me ftp login and password. It is OK, but if I assign login and password, after connect me to this FTP server, i see folders and files on this server, but without reason connecting fall down.
    Few seconds later if I connect to the to same FTP server, sometime either not request login and password and connection fall down.

  • Permission issue with moving files for windows

    We run Quickbooks Enterprise on Macs. Parallels / Window 7 on iMacs for the client and data is on a Mac Pro. I am trying to move the data to an xserve, but the permissions get modified and quickbooks does not work, it gives me a -6000, -83 error.
    The permissions on the Pro have "nobody Read & Write" and after the move to the Xserve they become "ghoberg Read & Write". I tried the following methods to move the data and all of them had the same results:
    1) Copy;
    2) ditto /Volumes/ghoberg/QuickBooks /Shared\ Points/Windows/Quickbooks
    3) ditto -rsrcFork /Volumes/ghoberg/QuickBooks /Shared\ Points/Windows/Quickbooks
    4) ditto /Volumes/ghoberg/QuickBooks /Users/graysonh/Documents/test
    Any advise on coping the data over and keeping all the same permissions, etc?
    Any other thoughts on moving Quickbooks over to the the xserve?
    I can't get support from Quicken, because this is a windows software. We have been running windows quicken on macs for 4 or 5 years
    Thank you
    Grayson
    My email is wrong, this is right
    [email protected]

    Ask your host.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "TSemmes" <[email protected]> wrote in
    message
    news:fvamu9$97i$[email protected]..
    >I am having a problem uploading files with Dreamweaver.
    > The strange thing is I am able to upload existing files,
    even if they have
    > been modified, but not new files.
    >
    > for example I created a page
    >
    http://www.washpsa.org/test/events/test.html
    > If you go to the page you will find it is blank. That is
    the file is there
    > but
    > it is empty.
    >
    > I get this error message:
    >
    > An FTP error occurred - cannot put test.html. Access
    denied. The file
    > may
    > not exist, or there could be a permission problem. Make
    sure you have
    > proper
    > authorization on the server and the server is properly
    configured.
    >
    > The people who I work with who use Contribute also get
    the same message
    > and
    > are not able to upload files.
    >
    > Nothing has changed that I am aware of when this started
    happening.
    >
    > Any ideas what is going on?
    >
    >
    >
    >

  • Problem with uploading files with DMR (rights management) included in them to a Zen Visio

    Hi,
    I though I had got this fixed but nope still having problems so hope you clever people can help me out.
    I have the ZVM and it is great, I have been able to transfer movies, CD's, photos all with no problem with a music track taking approx 2-3 seconds. However when using music files with DMR (those from HMV's music rental - this is the reason I bought the player) have big problems in transferring. I have been in touch with the tech guys at HMV and they took me through a firmware upg, re-installation of the Creative software updating the licenses in the music files and then lastly a format. Just after the format it looked as if everything was working fine however things started to slow down and now I am struggling to get tracks over. Again this is only those with DMR and all normal files (music, video, photo) go on fine. I only have 4Gb used so I can't see it is down to that.
    Are there any other things I can look at doing or is the player useless for the reason I bought it's
    Thanks,
    Mark

    Thanks Jason that seems to have helped a bit. I can now transfer using the Creative M Series Media Explorer software but not with Windows Media Player. Also when I try to use the Creative Sync Manager it is crashing out every time. My concern is that without the latter working how will I easily get the files on the ZVM updated so that the DRM does not stop the files playing (also I would just like everything working properly!!). Any further suggestions?

  • Problem processing multiple files with dll

    I'm using a function in a dll that turns a binary data file into a TSV file with actual numbers.  The function takes three inputs, a pointer to a string for the input file path, a pointer to a string for the file to write and an integer for "integrity check" which as far as I can tell does nothing.  I have the dll in a subvi, pass it a string corresponding to the input file path and let it convert the file.  This works but will only convert the first 254 files then errors out.   The only way I can get it to work again is to close labview completely and reopen it.  My experiment requires the conversion of literally thousands of files so closing and reopening labview gets old real quick.  I have tried creating a reference to the subvi and closing it for each file but this still does not work, I have also tried on windows xp and windows 7.  When the new files are created they have a size of 0 kB and are empty until I close labview then they assume a reasonable size (few kB) and have data in them.  Additionally if I try to delete one of the newly created files while labview is open I get an error saying the file is open in labview.  I can delete the files when labview is closed.  I have also tried opening each file and closing it after the conversion but that does not work either.
    I believe this is some sort of file open limitation but I don't know how to get around it, I'm almost to the point of writing one of those mouse move/button click macros nerds use for games to convert the files because this is driving me insane.

    I managed to get the c code for the dll (it was somewhere on the computer). I can only pass an integer to validity otherwise it errors, is there an unsighed char in labview?
    _declspec (dllexport) int converting(char *filetoRead, char *filetoWrite, unsighed char validity)
    FILE *fpin, *fpout;
    int result;
    int records=0;
    int valid=0;
    unsigned long MTOFL=0;
    unsigned long MT;
    struct {unsigned ADC:12;
    unsigned INVALID
    unsigned MTOV:1;
    unsigned GAP:1;
    unsigned ZERO:1;
    unsigned MTHIGH:
    unsigned R:8;
    unsigned MTLOW:
    } DataRecord;
    fpin=fopen(filetoRead,"rb");
    fpout=fopen(filetoWrite,"w");
    while(1)
    result = fread( &DataRecord,
    if (result!= 6)
    return(0);
    records++;
    if(DataRecord.MTOV)
    MTOFL += (unsign
    if(validity==1)
    if(DataRecord.INVA
    continue; // don't sav
    valid++;
    MT = (((unsigned long)Data
    fprintf(fpout,"%11lu",MTOF
    fprintf(fpout,"%5u",DataRec
    fprintf(fpout,"%4u",DataRec
    fprintf(fpout,"%6u",DataRec
    fprintf(fpout,"\n");
    fclose(fpin);
    fclose(fpout);
    return 0;

  • Problem in jar file with respect to operating systems

    Hi all,
    I am creating a jar file in windows operating system, When I deploy it in AIX machine the application is not starting up? There is any operating system specific commands to create jar files?
    Any ideas.
    Thanx in advance for your help.
    Sekhar

    I am starting the application through websphere admin
    console. When I am starting it is showing error
    message that the application unable to start.That you are using WebSphere is a very important bit of information you failed to provide!
    WebSphere can be configured to be very picky about what it allows! If your program does not require WebSphere to run then try running it outside of WebSphere.
    Also, make sure that the WebSphere container is executing using a version of Java that is compatible with your Application.

Maybe you are looking for

  • Can you export images which have been pasted into an Illustrator document as separate files?

    I have a multi-page Illustrator document (over 50 artboards) which contains lots of images that are all saved within the document (not linked in from seperate files) and all the images need to be exported as separate image files (similar to when you

  • Importing is taking too much time (2 DAYS)

    Dear All, I'm Importing below support packages together in a queue @ SAP Solution manger 4  . SAPKB70015             Basis Support Package 15 for 7.00 SAPKA70015             ABA Support Package 15 for 7.00 SAPKITL426             ST 400: Patch 0016, C

  • Form Field Value

    Hi, Currently we have a huge folder with allot of pdf files in it and we are running an index service on it. The index service is used on a couple of web sites that searches inside the documents for key words. It works fine with pdf's,word etc. We re

  • Using Text Predicates with table aliases

    Is there any way to use text predicates with the CONTAINS operator against an event based on a table alias? Just trying to add the function "Contains" to the event struct doesn't work, and reading through the developer's guide, it looks like I need t

  • Diamond Plus- Silicon Image controller set up single SATA 2 non raid "HELP"

     Could somebody please tell me what drivers exactly do you have to load for Windows install off of the floppy? I loaded the silcon image 32 drivers at the install but the boot into windows takes a long time ! In bios SATA 1 SATA 2  are enabled -non r