Copying files into event browser

Hi all,
So if I copy my files into the event browser,
that means its duplicating the files and taking up more harddrive space.
Does this also mean I could delete the files outside of the program because
FCPX has its own copy within the application?
Thanks

If storage space is tight, you could trash them. Double check before you empty the trash to make sure the clip copies are actually in the event rather than aliases. And best practice would be to have a backup copy on a drive other than the media drive.
Russ

Similar Messages

  • I'm trying to invoke EXCEL or POWERPOINT file into the browser IE 6.0.  The

    I'm running TOMCAT locally on my PC (running Windows NT).
    I'm trying to invoke EXCEL or POWERPOINT file into the browser IE 6.0.
    The output is coming out all scrambled (almost like ASCII code or something),
    where it seems like the applications are not firing up.
    However, an MSWord file shows up fine. So I go to the WEB.XML file in the TOMCAT\CONF
    folder and notice that a MIME type has been set up for MSWord and not the other two.
    I set one up for EXCEL and POWERPOINT but the XLS or PPT files still don't work.
    So, just for kicks, I comment out the MSWord MIME definition but the MSWord file still worked!!!
    I can't figure out what's going on here.
    I'm stopping and starting the TOMCAT service each time I make changes to the WEB.XML file,
    but it seems like none of the changes are taking affect.
    I install all the viewers for MS-Word, ppt, and excell.
    But in Netscape it works fine.

    To support various file formats in IE browser while using window.open like .doc, .docx, .ppt, .pptx, .xls, xlsx etc.,
    The following code can also be used to force any format to get launch outside IE
    For these first configure a filter in web.xml and then include the filter class in given path
    <filter>
    <filter-name>MimeFilter</filter-name>
    <filter-class>com.srk.MimeFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>MimeFilter</filter-name>
    <url-pattern>*.xls</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>MimeFilter</filter-name>
    <url-pattern>*.xlsx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>MimeFilter</filter-name>
    <url-pattern>*.ppt</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>MimeFilter</filter-name>
    <url-pattern>*.doc</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>MimeFilter</filter-name>
    <url-pattern>*.docx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>MimeFilter</filter-name>
    <url-pattern>*.pptx</url-pattern>
    </filter-mapping>
    and then include the filter class in the declared path
    import java.io.*;
    import java.util.logging.*;
    import javax.servlet.*;
    import javax.servlet.Filter;
    import javax.servlet.http.*;
    public class MimeFilter implements Filter {
    public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws IOException, ServletException {
    HttpServletResponse httpResp = (HttpServletResponse) response;
    HttpServletRequest httpReq = (HttpServletRequest) request;
    String fileUrl = httpReq.getRequestURI();
    if(fileUrl.lastIndexOf(".xls")!=-1)
    fileUrl = fileUrl.substring(fileUrl.lastIndexOf("/")+1);
    httpResp.setContentType("application/vnd.ms-excel");
    httpResp.setHeader("Content-disposition", "attachment; filename="+fileUrl);
    if(fileUrl.lastIndexOf(".ppt")!=-1)
    fileUrl = fileUrl.substring(fileUrl.lastIndexOf("/")+1);
    httpResp.setContentType("application/powerpoint");
    httpResp.setHeader("Content-disposition", "attachment; filename="+fileUrl);
    if(fileUrl.lastIndexOf(".doc")!=-1)
    fileUrl = fileUrl.substring(fileUrl.lastIndexOf("/")+1);
    httpResp.setContentType("application/msword");
    httpResp.setHeader("Content-disposition", "attachment; filename="+fileUrl);
    chain.doFilter(request, response);
    public boolean isLoggable(LogRecord record) {
    return false;
    public void destroy() {
    public void init(FilterConfig arg0) throws ServletException {
    Please let me know your feedback.

  • Questions re moving files into Events folders

    If you move files into an FCP X Events folder, when you open FCP X will it recognize the new files?
    Or must FCP X import files into Events folder to recognize and use them?

    Great, thanks Tom.
    there are two situations where I am now 1st going to other folders, then importinging into an FCP X Events folder. This costs me drive space (duplicate files) and time (for importing):
    (1) Using Clip Wrap to convert AVCHD files from Sony FS100 cameras to Pro Res 422
    (2) Round-tripping from FCP X to DaVinci Resolve, then rendering the graded media files.

  • Trying to reset my password (which I have forgot) for elements 13 I have the serial no.  But I can't find the right website to reset? I have "copy & paste " into the browser.

    trying to reset my password (which I have forgot) for elements 13 I have the serial no.  But I can't find the right website to reset? I have "copy & paste " into the browser.

    Go to the main page of adobe.com and sign out if you're already signed in there. Then click Sign In at the upper right of the page. In the next page you will see a Forgot Password link:

  • Permission Error when copy files into cmsdk using NFS with non admin user

    Hi All,
    We are using CMSDK with NFS protocol and we have created different users with ACL to control different access for users.
    When we copy files into cmsdk folders using one of the admin user this works fine, even a multiple copy works fine. But when we use any non admin user , some time copy commands works but some time it throw a permission deny error. and this is happening very intermittently.
    when we use ftp protocol and ftp file it's all works fine for the both admin & non admin user. Is there any limitation in using CMSDK NFS protocol
    Did any one encouter any similar issue. Any pointers would be of great help.
    Thanks in advance
    Regards,
    Navin

    Hi All,
    We are using CMSDK with NFS protocol and we have created different users with ACL to control different access for users.
    When we copy files into cmsdk folders using one of the admin user this works fine, even a multiple copy works fine. But when we use any non admin user , some time copy commands works but some time it throw a permission deny error. and this is happening very intermittently.
    when we use ftp protocol and ftp file it's all works fine for the both admin & non admin user. Is there any limitation in using CMSDK NFS protocol
    Did any one encouter any similar issue. Any pointers would be of great help.
    Thanks in advance
    Regards,
    Navin

  • Copying files into site

    How can I create an extension that when added automatically
    adds a required file/folder to the current dreamweaver website?
    I've seen other extensions add javascript and .gif files and
    folders but I cannot find any tutorials on how to do this.
    Example is: I have an extension that places a link to a local
    file. I need to add that file into the users dreamweaver site so
    they can ftp it along with the webpage.
    Thanks in advance

    "gjhdigital" <[email protected]> wrote in
    message
    news:fcmiee$4mf$[email protected]..
    > thanks for responding, but what my extension is doing is
    adding some html
    > to
    > the page along with some javascript mouse events, and I
    am referencing a
    > seperate .js file that has the functions that will need
    to be added
    > automatically to the site in the same folder as where
    the webpage is. I
    > dont
    > want the developer using my extension having to go and
    search for my .js
    > file
    > and then add it to their site. I want it to copy their
    once they finish
    > using
    > the extension.
    >
    > Do you know how to do that?
    > thanks
    Sure, Dreamweaver CS3 introduces the function dom.copyAssets,
    http://livedocs.adobe.com/en_US/Dreamweaver/9.0_API/dwr_pagecontent_cn_088.html
    you pass it an array of AssetInfo objects, which are defined
    in
    Shared/Common/Scripts/AssetInfoClass.js
    for earlier versions of dreamweaver you'd have to create your
    own function
    using DWFile.copy
    http://livedocs.adobe.com/en_US/Dreamweaver/9.0_API/dwr_fileio_fi_04.html
    Joris

  • Since upgrading to OSX 10.6.8, I am unable to use scp on a remote machine to copy files into my iMac.

    Any suggestions?
    However, I can use scp to copy files out from my iMac (10.6.8) .
    I can ssh into the iMac OK.
    I created a .profile in my iMac home directory with the single line "export TERM=xterm-color".
    This makes a difference to how scp behaves when attempting to copy into the iMac, but it still fails.
    Thanks in advance for any help.  Peter R
    Here is the scp debug output (on the remote machine that I'm copying a file from, to the iMac):
    ===
    Executing: program /usr/bin/ssh host molika.ucsd.edu, user prowat, command scp -v -t Desktop/FromPelican/Outs201201.pdf
    Sun_SSH_1.1.3, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: Rhosts Authentication disabled, originating port will not be trusted.
    debug1: ssh_connect: needpriv 0
    debug1: Connecting to molika.ucsd.edu [137.110.243.133] port 22.
    debug1: Connection established.
    debug1: identity file /home/nona/.ssh/identity type -1
    debug1: identity file /home/nona/.ssh/id_rsa type -1
    debug1: identity file /home/nona/.ssh/id_dsa type -1
    debug1: Remote protocol version 1.99, remote software version OpenSSH_5.2
    debug1: match: OpenSSH_5.2 pat OpenSSH*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-Sun_SSH_1.1.3
    debug1: use_engine is 'yes'
    debug1: pkcs11 engine initialized, now setting it as default for RSA, DSA, and symmetric ciphers
    debug1: pkcs11 engine initialization complete
    debug1: Failed to acquire GSS-API credentials for any mechanisms (No credentials were supplied, or the credentials were unavailable or inaccessible
    Unknown code 0
    debug1: SSH2_MSG_KEXINIT sent
    debug1: SSH2_MSG_KEXINIT received
    debug1: kex: server->client aes128-ctr hmac-md5 none
    debug1: kex: client->server aes128-ctr hmac-md5 none
    debug1: Peer sent proposed langtags, ctos:
    debug1: Peer sent proposed langtags, stoc:
    debug1: We proposed langtags, ctos: i-default
    debug1: We proposed langtags, stoc: i-default
    debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
    debug1: dh_gen_key: priv key bits set: 124/256
    debug1: bits set: 1007/2048
    debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
    debug1: Host 'molika.ucsd.edu' is known and matches the RSA host key.
    debug1: Found key in /home/nona/.ssh/known_hosts:1
    debug1: bits set: 1043/2048
    debug1: ssh_rsa_verify: signature correct
    debug1: newkeys: mode 1
    debug1: set_newkeys: setting new keys for 'out' mode
    debug1: SSH2_MSG_NEWKEYS sent
    debug1: expecting SSH2_MSG_NEWKEYS
    debug1: newkeys: mode 0
    debug1: set_newkeys: setting new keys for 'in' mode
    debug1: SSH2_MSG_NEWKEYS received
    debug1: done: ssh_kex2.
    debug1: send SSH2_MSG_SERVICE_REQUEST
    debug1: got SSH2_MSG_SERVICE_ACCEPT
    debug1: Authentications that can continue: publickey,keyboard-interactive
    debug1: Next authentication method: publickey
    debug1: Trying private key: /home/nona/.ssh/identity
    debug1: Trying private key: /home/nona/.ssh/id_rsa
    debug1: Trying private key: /home/nona/.ssh/id_dsa
    debug1: Next authentication method: keyboard-interactive
    *** Password requested & supplied
    debug1: Authentication succeeded (keyboard-interactive)
    debug1: fd 5 setting O_NONBLOCK
    debug1: fd 6 setting O_NONBLOCK
    debug1: fd 7 setting O_NONBLOCK
    debug1: channel 0: new [client-session]
    debug1: send channel open 0
    debug1: Entering interactive session.
    debug1: ssh_session2_setup: id 0
    debug1: channel request 0: env
    debug1: Sending command: scp -v -t Desktop/FromPelican/Outs201201.pdf
    debug1: channel request 0: exec
    debug1: channel 0: open confirm rwindow 0 rmax 32768
    ~
    debug1: channel 0: read<=0 rfd 5 len 0
    debug1: channel 0: read failed
    debug1: channel 0: close_read
    debug1: channel 0: input open -> drain
    debug1: channel 0: ibuf empty
    debug1: channel 0: send eof
    debug1: channel 0: input drain -> closed
    debug1: channel 0: write failed
    debug1: channel 0: close_write
    debug1: channel 0: output open -> closed
    debug1: channel 0: rcvd eof
    debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
    debug1: channel 0: rcvd close
    debug1: channel 0: almost dead
    debug1: channel 0: gc: notify user
    debug1: channel 0: gc: user detached
    debug1: channel 0: send close
    debug1: channel 0: is dead
    debug1: channel 0: garbage collecting
    debug1: channel_free: channel 0: client-session, nchannels 1
    debug1: fd 0 clearing O_NONBLOCK
    debug1: fd 1 clearing O_NONBLOCK
    debug1: fd 2 clearing O_NONBLOCK
    debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.9 seconds
    debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
    debug1: Exit status 0

    On looking at the secure.log on the iMac with OSX10.6.8, I see these entries at each attempt to scp into the iMac:
    Dec 29 11:06:20 molika sshd[7248]: in pam_sm_authenticate(): Failed to determine Kerberos principal name.
    Dec 29 11:06:26 molika sshd[7246]: Accepted keyboard-interactive/pam for prowat from 137.110.243.132 port 35571 ssh2
    Dec 29 11:06:26 molika com.apple.SecurityServer[26]: Session 0x236a14 created
    Dec 29 11:06:26 molika com.apple.SecurityServer[26]: Session 0x236a14 attributes 0x20
    Dec 29 11:06:27 molika com.apple.SecurityServer[26]: Session 0x236a14 dead
    Dec 29 11:06:27 molika com.apple.SecurityServer[26]: Killing auth hosts
    Dec 29 11:06:27 molika com.apple.SecurityServer[26]: Session 0x236a14 destroyed
    I don't know what to make of this.
    Peter R

  • How do you get copied files into a folder of our choice?

    OK so this may sound like a very basic question, but it has been driving me nuts ever since I bought an Apple Mac some 3 years ago and I find it hard to believe there isnt a solution.
    Objective: to copy or import files into a folder previously created by me within Apples 'Pictures' folder. E.g. "Holiday 2012".
    Problem: on every program I have used, inc iPhoto, iMovie, and just now, Preview, when I get ready to copy or import say my photo files from my iphone, or an SD card or a network drive, it never gives me the option to navigate to my folder! How mad is this?! Instead I get teh choice of just Apples plain old Documents or Pictures folders but NEVER get given any opportunity via the dialog box to navigate to my "Holiday 2012" folder. There just is not any obvious way to do it. So instead I get my hundreds of pictures listed directly under Pictures folder, to therefore added to all the other hundreds of pictures listed there. A terrible way to kep pictures.
    What I need: someone to tell me how to do this or if its not possible then to tell me that. It is a basic operation that I have been able to do on Windows PC's since they were built. Wht not on Mac? Maybe the solution is right in front of me... if it is then its not intuitive, thats all I can say!
    Can you help please?

    Hi. Ok.
    I have just tried the process again in Preview and in desperation this time clicked on 'Other' in the dialogue box when trying to Import. Low and behold I found the way to navigate to my own folders instead of being forced to use Apples standard Folders called Documents and Pictures.
    So problem solved.
    Its daft that you cant click on the first folder names listed like you can in Windows so you can then reveal the  subfolders. I guess its just another Apple-ism. Too bad it took me three years to find it but then I suppose I gave up early.

  • After downloading music and dragging into iTunes I end up with multiple copies of the album on my hard drive. I do have the "copy files into iTunes library" checked. When I try to erase one of the copies I end up with red ! in iTunes library.

    Please Help!  After downloading an album and dragging it into itunes I end up having multiple copies of the album on my hard drive.  I do have (under Itunes preferences, advanced) copy songs into itunes library "checked".  I'm sure this is the reason for the multiple copies.  When I try to delete one of the copies of the album and go back to itunes and try playing a song, I get a red exclamtion point next to the song with an error message saying itunes cannot locate file. My questions are, Does Itunes literally make a copy of the song? If so , How do you know which file to delete?

    Sony's own entertainment software on the Vaio plays merry **** with iTunes, worse there's no telling when it will kick in.
    First head over to the Sony Vaio site and get the update for the software, that will stop it from messing with the iTunes database/library files when you connect your iPod.
    http://support.apple.com/kb/TS2715
    http://esupport.sony.com/US/perl/swu-download.pl?mdl=VGNP588EQ&updid=4526&osid=28
    With that stopped you can add the music back without fear of this happening again.

  • Does copying files into the iTunes library take up even more space?

    Hi everyone, I recently upgraded to Leopard and decided to give Boot Camp a try so I backed up everything onto my external hard drive using Time Machine and created my partition for Windows. In doing so, I know have an empty iTunes library.
    I just copied everything to my hard drive using Migration Assistant, and although all of the files were locked because I didn't have enough "permission", i fixed that problem. However, when I tried to copy all of my itunes folders into my library, it said that I did not have enough space on my computer for it.
    Dose copying music into the library use even more space than what it already is? I'm confused, because I thought that if i have the music files in my computer already I don't need to make another copy of it to place into iTunes...or maybe I'm just confusing myself.
    Could someone please just let me know how I can add my music into my library? I really don't think this should be so difficult, I'm just terrible with computers. Thanks!

    Under Preferences -> Advanced you can uncheck "copy music to iTunes folder", this should fix your problem.
    Hope this helps.

  • Copying files into output directory automatically

    Hi
    I got two font files (e.g. a.ttf and b.ttf) which I want to be copied inside ViewController\classes automatically when I run the application.
    I copied them into ViewController\src but it didn't work. What should I do? Is there anything to be set?
    Currently I do the copy manually each time I checkout a fresh copy of the project.
    Anyway, I am using JDev 11.1.1.4.0
    Thanks,
    Ferez

    Hi Timo
    I went to ViewController > project properties... > Deployment > Edit war file > WEB-INF/classes file group and added the font files there. Now the font files get copied into the proper directory in the ear file automatically when deploying the application but the main problem remains unsolved. I mean the files don't get copied into ViewController\classes directory yet.
    Regards

  • Can't import .mov files into event window in i movie

    took video on panasonic tz40 in progressive scan. the files are mts. converted these files to .mov hd files in wondershare video converter but they wont import into event window. it says they are going but nothing appears except one file appeared out of a group i tried to import.tried converting to mp4 as well but same thing. tried dragging into event tells me files incompatible any clues
    thanks

    I've seen where you've helped a lot of people and hopefully you can help me as I'm stumped. I have a Canon Vixia HFS200 and having trouble getting some movie clips to import from SD card. In the past, if a 'still' pic is taken on the same card, iMovie won't recognize anything as being importable. If I deleted the photos, I was able to import without a problem but this time, there are no stills on the card but still doesn't recognize anything importable, even though there are 140 or so .MTS files.
    I've tried a conversion software that I was able to view them but had the company logo over the top. I wasn't sure if there was a way to manually or 'force' them to import? Appreciate any suggestions.

  • Error when copying files into iTunes

    Been trying to copy some video files into iTunes. I have my iTunes library on an external hard drive. Haven't had any problems with this until today when I try copying videos into iTunes it pops up with an error saying:
    "Attempting to copy to the disk "OneTouch4" failed. The disk could not be read from or written to."
    I have had no problems with this before. I am running the latest version of iTunes. Any ideas?

    Hi.
    Tried both suggestions that have been made but the video files will still not copy into iTunes. Interestingly, when I copy podcast files into iTunes it works ok but when I tried the video files again they still get the same error.
    Any suggestions?
    Thanks.

  • Tried to Copy Files Into Home Folder

    I tried to drag all the folders into my Home Folder to clean things up. I copied my Pictures Folder, my Documents Folder, my Music Folder, my Movies Folder into the Home folder.
    Is there some place to read about what should be where and how to start to clean up my duplications and alias's
    I would like to thank you in advance for your help with this matter.

    I am sorry for the confusion...I don't know the correct terminology.
    I am calling the finder window the 'dock' and what is the dock I call the docking station.
    You are correct. I copied everything into the home folder trying to clean up the finder window
    So my trouble is with the Finder
    (this is what I see in the first column of the finder window after the list of hard drives on my system)
    Desktop
    Home Folder (whg2000)
    Documents (info says it is folder but wierd icon/logo - not a folder with a picture in it)
    Applications (with the A logo icon not the folder Icon) (inside this folder is all my apps but also an alias of the applications folder but when I highlight this alias I have a duplicate of all the contents of the applications folder)
    Library Folder (with the library logo icon on the folder)
    Pictures (just a folder no active logo or icon on folder)
    Music (just a folder no active logo or icon on folder)
    Sites (just a folder no active logo or icon on folder)
    Public (just a folder no active logo or icon on folder)
    Movies (just a folder no active logo or icon on folder)
    (and then if I click on the home folder this is what I have inside my home folder)
    Bill-Work-Folder (folder where I keep all my stuff)
    Burn Folder (with burn logo / icon)
    Desktop
    Documents ( folder with the active logo icon....the contents of this folder match the contents of the documents folder on the dock)
    home certify.txt (not a folder)
    Library Folder (with the library icon/logo)
    (and then this is what is in my Trash folder which is in the bottom of the dock, I had dragged stuff into the trash in attempt to clean it up)
    Sites Folder
    Public Folder (withthe logo/icon)
    Pictures Folder (just fodler no icon/logo)
    Movies Folder (with movies logo /icon)
    Music Folder (with music logo / icon)
    I hope this can still be fixed and cleaned up, thank you

  • Help with copying files into the the Start Menu

    I am trying to copy my application which tracks system usage, such as reboots, temps, etc, I want it when it first runs, to copy it self into the the programs folder and the start up folder. However I get the error ""FileCopy: destination file is unwriteable: ""......Anyone have an idea why I get this error? Is there away around it? Thanks for any and all help
    *Copying on a Mac works fine
    *I am currently Testing it on a copy of Windows Xp
    *I havenot Tested Vista or 7 Yet.
    Hers the class which I call to copy my program
    class FileCopy {
         String OS="";
         String username;
         String dir;
         String name="Test.jar";
         String MAC="Mac OS X";
         String WinXp="Windows XP";
         String WinVista="Windows Vista";
         String Win7="Windows 7";
         JFrame errorWin;
         FileCopy(){
              System.out.println("Enter Copy");
              OS= ManagementFactory.getOperatingSystemMXBean().getName();
              username = System.getProperty("user.name"); 
              if(MAC.compareTo(OS)==0){
                   copyMac();
              else if(WinXp.compareTo(OS)==0){
                   copyWinXp();
              else if(WinVista.compareTo(OS)==0){
                   copyWinVista();
              else if(Win7.compareTo(OS)==0){
                   copyWin7();
              else
                   return;
         private void copyMac(){          
              System.out.println("Enter Mac Copy");
              System.out.println("OS:"+OS);
              String s="/Applications/Solitaire.Jar";
              try {
                   copy(name, s);
              } catch (IOException e) {
                   System.out.println("Failed at Mac Copy new");
                   errorWin=new JFrame("Error: Failed at Mac Copy new ");
                   e.printStackTrace();
              } //Moves Jar File to Application Folder
         private void copyWin7(){
              String dir1="C:\\Documents and Settings\\All Users\\Start Menu\\Programs\\SolitaireWin7.Jar";
              String dir2="C:\\Documents and Settings\\All Users\\Start Menu\\Programs\\Startup\\SolitaireWin7.Jar";
              try {
                   copy(name, dir1);
              } catch (IOException e) {
                   System.out.println("Failed at Win7 Copy 1");
                   errorWin=new JFrame("Failed at Win7 Copy 1");
                   e.printStackTrace();
              } //Moves Jar File to Application Folder
              try {
                   copy(name, dir2);
              } catch (IOException e) {
                   System.out.println("Failed at Win7 Copy 2");
                   errorWin=new JFrame("Failed at Win7 Copy 2");
                   e.printStackTrace();
              } //Moves Jar File to Application Folder     
         private void copyWinVista(){
              String dir1="C:\\Documents and Settings\\All Users\\Start Menu\\Programs\\SolitaireVista.Jar";
              String dir2="C:\\Documents and Settings\\All Users\\Start Menu\\Programs\\Startup\\SolitaireVista.Jar";
              try {
                   copy(name, dir1);
              } catch (IOException e) {
                   errorWin=new JFrame("Failed at Winista Copy 1");
                   System.out.println("Failed at WinVista Copy 1");
                   e.printStackTrace();
              } //Moves Jar File to Application Folder
              try {
                   copy(name, dir2);
              } catch (IOException e) {
                   errorWin=new JFrame("Failed at WinVista Copy 2");
                   System.out.println("Failed at WinVista Copy 2");
                   e.printStackTrace();
              } //Moves Jar File to Application Folder     
         private void copyWinXp(){
              String dir1="C:\\Documents and Settings\\"+username+"\\Start Menu\\Programs\\Solitaire.Jar";
              String dir2="C:\\Documents and Settings\\"+username+"\\Start Menu\\Programs\\Startup\\Solitaire.Jar";
              try {
                   copy(name, dir1);
              } catch (IOException e) {
                   errorWin=new JFrame("Failed at WinXp Copy 1");
                   errorWin.setVisible(true);
                   errorWin.repaint();
                   System.out.println("Failed at WinXP Copy 1");
                   e.printStackTrace();
              } //Moves Jar File to Application Folder
              try {
                   copy(name, dir2);
              } catch (IOException e) {
                   errorWin=new JFrame("Failed at WinXp Copy 2");
                   errorWin.setVisible(true);
                   errorWin.repaint();
                   System.out.println("Failed at WinXP Copy 2");
                   e.printStackTrace();
              } //Moves Jar File to Application Folder     
         public void copy(String fromFileName, String toFileName) throws IOException {
           File fromFile = new File(fromFileName);
           File toFile = new File(toFileName);
           if (!fromFile.exists()){
                errorWin=new JFrame("FileCopy: " + "no such source file: "  + fromFileName);
                   errorWin.setVisible(true);
                   errorWin.repaint();
             throw new IOException("FileCopy: " + "no such source file: "  + fromFileName);
           if (!fromFile.isFile()){
                errorWin=new JFrame("FileCopy: " + "can't copy directory: "
                           + fromFileName);
                   errorWin.setVisible(true);
                   errorWin.repaint();
             throw new IOException("FileCopy: " + "can't copy directory: "
                 + fromFileName);
           if (!fromFile.canRead()){
                errorWin=new JFrame("FileCopy: " + "source file is unreadable: "
                           + fromFileName);
                   errorWin.setVisible(true);
                   errorWin.repaint();
             throw new IOException("FileCopy: " + "source file is unreadable: "
                 + fromFileName);
           if (toFile.isDirectory())
             toFile = new File(toFile, fromFile.getName());
           if (toFile.exists()) {
             if (!toFile.canWrite()){
                  errorWin=new JFrame("FileCopy: destination file is unwriteable: " + toFileName);
                   errorWin.setVisible(true);
                   errorWin.repaint();
               throw new IOException("FileCopy: destination file is unwriteable: " + toFileName);
             System.out.print("Overwrite existing file " + toFile.getName()
                 + "? (Y/N): ");
             System.out.flush();
             BufferedReader in = new BufferedReader(new InputStreamReader(
                 System.in));
             String response = in.readLine();
             if (!response.equals("Y") && !response.equals("y")){
                  errorWin=new JFrame("FileCopy: existing file was not overwritten.");
                   errorWin.setVisible(true);
                   errorWin.repaint();
                  throw new IOException("FileCopy: existing file was not overwritten.");
           } else {
             String parent = toFile.getParent();
             if (parent == null)
               parent = System.getProperty("user.dir");
             File dir = new File(parent);
             if (!dir.exists()){
                  errorWin=new JFrame("FileCopy: destination directory doesn't exist: " + parent);
                   errorWin.setVisible(true);
                   errorWin.repaint();
               throw new IOException("FileCopy: destination directory doesn't exist: " + parent);
             if (dir.isFile()){
                  errorWin=new JFrame("FileCopy: destination is not a directory: " + parent);
                   errorWin.setVisible(true);
                   errorWin.repaint();
               throw new IOException("FileCopy: destination is not a directory: " + parent);
             if (!dir.canWrite()){
                  errorWin=new JFrame("FileCopy: destination directory is unwriteable: " + parent);
                   errorWin.setVisible(true);
                   errorWin.repaint();
               throw new IOException("FileCopy: destination directory is unwriteable: " + parent);
           FileInputStream from = null;
           FileOutputStream to = null;
           try {
             from = new FileInputStream(fromFile);
             to = new FileOutputStream(toFile);
             byte[] buffer = new byte[4096];
             int bytesRead;
             while ((bytesRead = from.read(buffer)) != -1)
               to.write(buffer, 0, bytesRead); // write
           } finally {
             if (from != null)
               try {
                 from.close();
               } catch (IOException e) {
             if (to != null)
               try {
                 to.close();
               } catch (IOException e) {
    }

    That's clearly a security restriction then. You need to assign the JVM's user account enough rights to do so, or to configure any firewall/virusscanner which has possibly blocked it.
    Apart from this, are you aware of the fact that the OS root disk is not per se labeled "C:", that the location of documents is not per se "Documents and Settings", that there exist System#getenv() and System#getProperty() methods to find default system and environment variables and that there is the java.util.prefs API to access the registry? Your application is likely not going to run on any environment.

Maybe you are looking for

  • My WiFi crashes randomly and I need to reboot to get it working again

    So I got my Macbook Pro 15" late 2011 repaired two weeks ago. After that the Laptop worked okay and after a few days I upgraded to 10.9.3 (from 10.9.1) and now my WiFi crashes randomly. It just stopes working. It doesn't find the network anymore and

  • Clustering Problem

              Hi Guys ,           How should scaling of Weblogic applications being accessed by t3 protocol to be           done .           Consider the following scenario :           Weblogic server A hosts an application which in turn uses t3 protocol

  • Certain videos give me only a black screen

    Certain videos give me only a black screen, for example all CBS News or Cnettv videos. Most videos, including, for example, NBS News videos play fine, as do the commercials before CBS News videos, but when a CBS video is supposed to start the window

  • Zero amount payment

    Hello:    I am trying to automate a payment process from another system.    And in this particular case they have payment which sum total are 0. But positive and negative in invoice and credit memo. So you have 1000 in invoice and 1000 in credit memo

  • ALV report for individual fields (urgent...........)

    Hi all, using this ZUS_SDN_THREE_ALV_GRIDS program structure i have generated the all the fields from table. could you please guide me how to generate the ALV report for splecific fileds from  individual tables. if i click in click on grid1 (that is