Getting access to files

I am using RAD 7.0 as IE
I want to access all the files under a directory of my project using Java
BUt my project cud be deployed at any location or path
so How do I get the relative path using Java?
My files are under this path
C:\SDP70\workspace_autoMember\FBAutoMemberWebProject\WebContent\properties
Plzz help
Edited by: Anuj79 on Jun 19, 2008 6:58 AM

harinibiligiri wrote:
Is it the only way? No. Just a way.
My server in windows 2000 server.Pretty much irrelevant. And don't get too hung up on this word "server"

Similar Messages

  • How do I get access to files that I transfered from migration assistant

    Help?  I had to do an erase and reloaded the software on my 2008 imac, and did a file transfer from my time capsule using the migration assistant.  I see where the files are, but have no access...can anyone help me ?  how do I now get access to the files that I transfered?

    maedi wrote:
    I realize it is not good to get time-machine created files back by going through finder, but that seems like that is my only option.
    Were you trying to access it via either Setup Assistant or Migration Assistant?  If those don't work, you still may be able to use the "Star Wars" display to see and restore some data.  It all depends on just what and where the damage is.
    If you can get into the display, you may be able to restore the iPhoto Library; start with the most recent backup, and work back in time. 
    the  problem now is the folder is locked with a big red no go sign, and command-i cannot change it (not even when i do it on the computer on which the file was created).
    Correct; Time Machine protects it's backups with very restrictive ACLs, basically "nobody can do anything," so us mere mortals won't damage them. 
    If you use the same user account on the same Mac that did the backup, via the Finder, you should have read rights, and you may be able to copy from the backups.   
    if i succeed, am i going to see my iphoto library file in that folder?
    Yes.  Each of those date-stamped backup folders should contain a set of "hard links" to the backup copies of everything that was on your system at the time of that backup, no matter when each item was actually backed-up.  If you can copy the most recent one successfully, that will get everything.
    The iPhoto Library looks like a file; but it's actually a special kind of folder called a "package."  If you can't copy it, right-click it and select Show Package Contents to see inside it, but don't copy individual items except as a last resort -- at best, you'll recover raw photos, with no organization or data, and probably no editing, either.

  • How do I get access to files backed up with time machine on another computer?

    Hi. I recently migrated to a new macbook air. got most of the data across, but not my iphoto library, which exists now only on an external harddrive onto which i backed it up using time machine.
    I had to delete the iphoto library from my old computer before migration.
    The harddrive doesnt work on my old computer anymore (says the disk is damaged. Im currently trying to repair it, but no luck so far, disk utility says it cannot repair it.)
    I can get the harddrive to work on my new computer.However, the folder i want to access is inside a time machine backup folder (made on my old machine) and it is locked. I tried to unlock it using command+ i but that did not work.
    How can i access such a locked folder?

    maedi wrote:
    I realize it is not good to get time-machine created files back by going through finder, but that seems like that is my only option.
    Were you trying to access it via either Setup Assistant or Migration Assistant?  If those don't work, you still may be able to use the "Star Wars" display to see and restore some data.  It all depends on just what and where the damage is.
    If you can get into the display, you may be able to restore the iPhoto Library; start with the most recent backup, and work back in time. 
    the  problem now is the folder is locked with a big red no go sign, and command-i cannot change it (not even when i do it on the computer on which the file was created).
    Correct; Time Machine protects it's backups with very restrictive ACLs, basically "nobody can do anything," so us mere mortals won't damage them. 
    If you use the same user account on the same Mac that did the backup, via the Finder, you should have read rights, and you may be able to copy from the backups.   
    if i succeed, am i going to see my iphoto library file in that folder?
    Yes.  Each of those date-stamped backup folders should contain a set of "hard links" to the backup copies of everything that was on your system at the time of that backup, no matter when each item was actually backed-up.  If you can copy the most recent one successfully, that will get everything.
    The iPhoto Library looks like a file; but it's actually a special kind of folder called a "package."  If you can't copy it, right-click it and select Show Package Contents to see inside it, but don't copy individual items except as a last resort -- at best, you'll recover raw photos, with no organization or data, and probably no editing, either.

  • System memory show 0KB available. Finder will not open. How can I get access to files in order to delete them without using finder?

    My friend is running OS X Yosemite. Her kid used up all the memory on minecraft/word of warcraft files. Now no app will open including Finder to even access files for deletion. Is there a way to access any apps/files to clear space without using finder?

    Step 1   
    The first step is to secure the data. If you want to preserve the contents of the startup drive, and you don't already have at least one current backup, you must try to back up now, before you do anything else. It may or may not be possible. If you don't care about the data that has changed since the last backup, you can skip this step.
    There are several ways to back up a Mac that is not fully functional. You need an external hard drive to hold the backup data.
    a. Start up from the Recovery partition, or from a local Time Machine backup volume (option key at startup.) When the OS X Utilities screen appears, launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.” The article refers to starting up from a DVD, but the procedure in Recovery mode is the same. You don't need a DVD if you're running OS X 10.7 or later. 
    b. If Step 1a fails because of disk errors, and no other Mac is available, then you may be able to salvage some of your files by copying them in the Finder. If you already have an external drive with OS X installed, start up from it. Otherwise, if you have Internet access, follow the instructions on this page to prepare the external drive and install OS X on it. You'll use the Recovery installer, rather than downloading it from the App Store.
    c. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, start the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    d. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.
    Step 2
    You might be able to run in safe mode even though you can't run normally. Otherwise, start up from an external drive, or else use the technique in Step 1b, 1c, or 1d to mount the internal drive and delete some files. According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation.

  • How to get access to the local file system when running with Web Start

    I'm trying to create a JavaFX app that reads and writes image files to the local file system. Unfortunately, when I run it using the JNLP file that NetBeans generates, I get access permission errors when I try to create an Image object from a .png file.
    Is there any way to make this work in Netbeans? I assume I need to sign the jar or something? I tried turning "Enable Web Start" on in the application settings, and "self-sign by generated key", but that made it so the app wouldn't launch at all using the JNLP file.

    Same as usual as with any other web start app : sign the app or modify the policies of the local JRE. Better sign the app with a temp certificate.
    As for the 2nd error (signed app does not launch), I have no idea as I haven't tried using JWS with FX 2.0 yet. Try to activate console and loggin in Java's control panel options (in W7, JWS logs are in c:\users\<userid>\appdata\LocalLow\Sun\Java\Deployment\log) and see if anything appear here.
    Anyway JWS errors are notoriously not easy to figure out and the whole technology in itself is temperamental. Find the tool named JaNeLA on the web it will help you analyze syntax error in your JNLP (though it is not aware of the new syntax introduced for FX 2.0 and may produce lots of errors on those) and head to the JWS forum (Java Web Start & JNLP Andrew Thompson who dwells over there is the author of JaNeLA).

  • I have a new Apple TV which is working fine except that I cannot access .mov files which are in my iTunes Library. How can I get to these? I can run them on my computer and select Apple TV on the screen, but the Apple TV goes to a black screen

    I have a new Apple TV which is working fine except that I cannot access .mov files which are in my iTunes Library. How can I get to these? I can run them on my computer and select Apple TV on the screen, but the Apple TV goes to a black screen

    Mov is a container format, you'd need to look at the codec used by the movie file inside the container to know whether it will work with the Apple TV or not.

  • I have purchased Adobe XI Pro and created a form for entering bowling scores to submit to newspaper for my high school team.  I can not figure out how to get pdf's into my documents folder on my iPad so that I can access the files in bowling alleys where

    I have purchased Adobe XI Pro and created a form for entering bowling scores to submit to newspaper for my high school team.  I can not figure out how to get pdf's into my documents folder on my iPad so that I can access the files in bowling alleys where I do not have a Wi-Fi connections.  I need to be able access files without going to acrobat.com.  Help!!!@

    Post the PDF files to a web site. The browse to them in Safari on the iPad.  When you Open the files specify the Open to occur in Adobe Reader.  Then you can have/Save them in your Documents folder on the iPad.   An iPad has limited access to files otherwise.

  • Any ideas why I can no longer access shared files on networked PC's in my office? I keep getting a "server not exist or unavailable" error.

    I have been able to access the files in the past. Actually when I've had this problem before a restart has solved it. Not this time. And it keeps happening. Even more strange, Filemaker is able to access shared databases stored on the same PC's. Why can Filemaker see these computers? Both also show up in the finder but when I try to connect I get the error. I also tried "connect as" with no success. Any ideas?

    Thanks Barney, I am now using pages to open exisiting Word documents. and then saving in the new format. I then trash the old incompatable (.doc) file.
    This works OK, but it will be a time consuming operation to be repearted on each file that I use.
    Is there any shortcut to enable sync all of the .doc files to Page?
    I have not managed to recover Entourage email files . But now use Mail application, which is fine.
    Encountered problems are ongoing.
    I have an Epson Epson Stylus Photo Rx430 printer.
    Since upgrading to OSX10.7 print files do not load to the printer. The Epson job box shows data is being sent to printer but it the task is never completed.
    I take this to be a Printer  Driver issue.
    Today, I have been in contact  with Epson Printer support, enquiring if they have any driver updates for RX430 that would be compatable with OSX10.7 Lion.
    I was notified by Epson that they do not have any drivers for any of their printers for the new OSX 10.7.
    How may I  continue using my now unsupported Epson printer? 

  • I cant figure out what is wrong i keep getting this an OIEception that says "{"The process cannot access the file because it is being used by another process."}

    I am trying to move a file from a folder to another folder.
    here is my code:
    //storage of the all files
    string[] folderContentNames = Directory.GetFiles(@"C:\Users\Jonah\Desktop\Test Pictures");
    private void historyPictureBox_Click(object sender, EventArgs e)
    destinationFile = @"C:\Users\Jonah\Desktop\Test Test";
    File.Move(folderContentNames[1], destinationFile);
    updateListBoxFileName();
    updateImageBox();
    each time I hit the bolded underlined part I get that error message.
    if you need anything else just ask.
    Thanks in advance,
    Thor Orb

    Hi Thor,
    If you want to move a file from a folder to another folder, I think you could get the sourcePath and TargetPath. The code below shows a simple demo:
    string[] folders = Directory.GetFiles(@"D:\Test\VSC#\01\WindowsFormsApp\WindowsFormsApp\Test");
    string desFile =Path.Combine( @"D:\Test\VSC#\01\WindowsFormsApp\WindowsFormsApp\Test - Copy\"+Path.GetFileName(folders[1]));
    File.Move(folders[1], desFile);
    In addition, the link below might be useful to you:
    # How to: Copy, Delete, and Move Files and Folders (C# Programming Guide)
    >> The process cannot access the file because it is being used by another process
    The message seemed that the file was opened in other process. Did you operate the file with other code?
    I think you could check if the files and the folders were opened, and review your codes if they were used in other places.
    If you have any further questions, please feel free to post in this forum.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.
    Ya, Thanks I figured about the path and destation. yes I am using the file in another area, the file is an image jpg and I am displaying it in a picture box. Now I have been doing a little research I see a command called Dispose() and this is suppose to
    release the handle on the image, but I can seem to figure out have to use it correctly.
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Collections;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.IO;
    namespace Scanned_Picture_Ogranizer
    public partial class Form1 : Form
    //storage of the all files
    string[] folderContentNames = Directory.GetFiles(@"C:\Users\Jonah\Desktop\Scan Project Testing\Test Pictures", "*.jpg");
    //List<string> folderContentList = folderContentNames.ToList();
    private List<string> folderContentList = new List<string>();
    Bitmap currentImage;
    Bitmap placeHolder;
    public Form1()
    InitializeComponent();
    convertingArrayToList();
    startUpData();
    string sourceFile = @"C:\Users\Jonah\OneDrive\My Programming Projects\Scanned Picture Organizer Project\Test Pictures";
    string destinationFile = "";
    private void moveButton_Click(object sender, EventArgs e)
    private void startUpData()
    //placeHolder = new Bitmap(folderContentList[0]);
    //currentImage = (Bitmap)placeHolder.Clone();
    // Image loadImage = new Bitmap(pictureClones[0]);
    // currentFilePictureBox.Image = loadImage;
    int numberOfFilesLeft = folderContentNames.Length;
    foreach (string name in folderContentNames)
    fileNamesListBox.Items.Add(name);
    fileNameTextBox.Text = folderContentNames[0];
    numberOfFilesLeftTextBox.Text = numberOfFilesLeft.ToString();
    ///loadImage.Dispose();
    //FileStream currentImage = new FileStream(folderContentList[0], FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
    private void convertingArrayToList()
    foreach (string listName in folderContentNames)
    folderContentList.Add(listName);
    private void selectingImageFromListBox()
    private void updateImageBox()
    Bitmap currentImage = new Bitmap(folderContentList[0]);
    currentFilePictureBox.Image = currentImage;
    currentImage.Dispose();
    private void updateListBoxFileName()
    fileNamesListBox.Items.RemoveAt(0);
    fileNameTextBox.Text = folderContentList[0];
    // numberOfFilesLeftTextBox.Text = numberOfFilesLeft.ToString();
    private void historyPictureBox_Click(object sender, EventArgs e)
    destinationFile = @"C:\Users\Jonah\Desktop\Scan Project Testing\Test Test\";
    File.Move(folderContentList[0], destinationFile + System.IO.Path.GetFileName(folderContentList[0]));
    folderContentList.RemoveAt(0);
    updateImageBox();
    updateListBoxFileName();
    when I first start the program the first picture displays, but when I trigger historyPictureBox_Click(), it does that error again. Another things is that I already looked at that link and it didn't help.
    I just super confused, I would like your help on this.
    Thanks,
    Thor Orb

  • Hi, I have a macbook pro with a new hard drive installed. My WD external drive backup on time machine now wont let me access the files. I get a prompt saying 'you do not have permission to access the files'

    hi, I have a macbook pro with a new hard drive installed and restored. My WD external drive backup on time machine now wont let me access the files. I get a prompt saying 'you do not have permission to access the files' After my new drive was installed I plugged in time machine and it started backing up. I paused it when I realised that it was running for more than a few minutes. I now realise that it probably started backing up the new hard drive all over again. Which makes me think that the original back up must be on the WD back I cant seem to access it. Any ideas would be helpful.

    See E-10 in the first link.
    Time Machine Troubleshooting
    Time Machine Troubleshooting Problems

  • Can´t access my files on Creative Cloud. "Page temporarily unavailable. We will return soon." "We are working quickly to resolve the problem and apologize for the delay. Check back later or visit our website for status updates. In addition, you can get he

    Hello,
    For a few days I have been trying to access my files on Creative Cloud web without success. I´ve got this message only:
    "Page temporarily unavailable. We will return soon."
    "We are working quickly to resolve the problem and apologize for the delay.
    Check back later or visit our website for status updates.
    In addition, you can get help in the forums of the Creative Cloud.
    Thank you for understanding!"
    (I used Google Translate)
    Somebody help?

    You do not need ?&promoid=KRUVP at the end of the url but it should not matter.
    One thing to check is if your hosts file is modified. Open the Command Prompt and type: notepad %systemroot%\system32\drivers\etc\hosts
    This will open a read-only copy of your host file in Notepad. Are there any entries in this file regarding adobe.com?
    The other thing you can do is open the Developer Tools in the Chrome browser. On Windows press Ctrl + Shift to open them. Switch to the Network tab. Reload the page by pressing Ctrl + r. Check for any 4xx or 5xx errors which should be colored red.
    Post screenshots of your results or send me a private forum message with the information.

  • SOLVED: Getting an Input/Output error when accessing certain files

    My system started failing a few days ago because of sudden Input/Output errors when trying to access certain files. It was running fine until various applications started crashing like for example Pidgin (in retrospect probably because of DBus crashing). I decided to reboot and now can't login anymore because the DBus module fails to load which in turn means that HAL doesn't load either and so I can't use my keyboard to login.
    The error message I get from DBus is that it can't access the file /etc/dbus-1/system.d/org.freedesktop.PolicyKit.conf because of an Input/Output error. I tried to fix/see what was wrong using the arch livecd. Because I thought my problem had to do with a pacman update that had failed before I'd rebooted, I updated my system and I noticed that when pacman tried to access other files it came back with the same error message. The files seemed pretty random, one of them was fakeroot.conf and then several library files like libfaad (sorry this is kind of vague but I'm away from home right now and can't go online very often so I'm writing this from memory).
    I'm guessing its a hard drive problem because checking the filesystem for errors came back with nothing. I was just wondering whether anyone had any other ideas before I go and reinstall. I'm going back home tomorrow so I'll be able to follow any advice/reinstall then.
    Last edited by siell (2010-04-08 17:01:37)

    UPDATE
    It seems to be fixed! The second run of e2fsck fixed some more issues and the files that were causing the problems earlier seemed to have bad inodes. Boots fine now and I can get into my system. I checked and I still have a reasonable amount of free space so I don't think that was the reason ... I have no idea how the filesystem got so corrupted out of nowhere.
    A few things are different, for example, it asked me to unlock the keyring and I couldn't mount my external encrypted drive anymore and had to do it manually with cryptsetup. e2fsck made quite a few changes so I imagine it's due to that. Shouldn't be to hard to fix though.
    Thanks for your help!

  • Could not save Preferences because the file is locked, you do not have necessary access permissions, or another program is using the file. Use the 'Get Info' command in the Finder to ensure the file is unlocked and you have permission to access the file.

    I have this massage every time close ps cc
    Could not save Preferences because the file is locked, you do not have necessary access permissions, or another program is using the file. Use the ‘Get Info’ command in the Finder to ensure the file is unlocked and you have permission to access the file. If the problem persists, save the document to a different file or duplicate it in the Finder.

    You may get better help in Photoshop General Discussion
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll
    If FINDER means Mac, read below (and try to give more information when asking a question)
    Mac 10.9.3 workaround https://forums.adobe.com/thread/1489922
    Enable Mac Root User https://forums.adobe.com/thread/1156604
    -more Root User http://forums.adobe.com/thread/879931
    -and more root user http://forums.adobe.com/thread/940869?tstart=0

  • Why can I not access internet files in mail. I get a "plug in failure" message.

    Why can I not access internet files in mail. I get a "plug in failure" message.

    ATTENTION MAC CUSTOMERS - Flash Player 13 "Plugin Failure" Workaround

  • I accidentally deleted an Application on my iphone 5 and with it lost important files. How do i get back these files. The last iphone backup sync was after this so I cant even access an older back up as I cannot find them. How do I get back my Lost files.

    I accidentally deleted an Application on my iphone 5 and with it lost important files. How do i get back these files. The last iphone backup sync was after this so I cant even access an older back up as I cannot find them. How do I get back my Lost files.

    On your iMac launch iTunes and at the top next to the Apple symbol click iTunes > Preferences > Devices and tell me what you see. You last sync should be there showing only a device name. If you have an older backup it will be there as well the difference is it will be the device name with a date and time stamp. Sync and backups are two different things and there is a chance iTunes made a backup the first time you hooked up your iPhone 5. 

Maybe you are looking for