Get all file names in a folder, set each as text variable

First off, I do not know if this is possible.
For an app I'm writing, I need it to get a list of all the file names inside of a folder, then set a text variable for each of the file names. The app will then display a list of those items, which I know what to do from there.
If anyone knows how I would be able to do this, or alternatives, I would be extremely grateful.
Thanks in advance!

just use any colon separated path (i.e., the desktop would be {color:blue}HD:Users:yourname:Desktop:{colors}) basically, path specifiers come in a number of types:
# text designations - HD:Users:yourname:Desktop (just a normal text line)
# posix designations - /Users/yourname/Desktop (how unix expects paths to be written)
# alias designations - alias "HD:Users:yourname:Desktop" (a pointer to an actual, existing file system element
# file system referents - file "HD:Users:yourname:Desktop:somefile", folder "HD:Users:yourname:Desktop", etc -
# file system objects - Folder "Desktop" of folder "yourname" of folder "Users" of disk "HD"
each has its advantages and disadvantages, and you can coerce between them (though not completely - you need to convert #5 to text before you can convert it to #3, for instance.

Similar Messages

  • Method to get all File names in a directory

    Hallo together,
    has Java any method, to get the file names in a specific directory?
    Regards,
    Martin

    ... or simply list() if you're interested in file names only.

  • How to get the file name from downloads folder with the applescript??

    Hi All..
    I am downloading an application to downloads folder, I need to install the same application after downloading programatically.
    So how do I get the filename in runtime while downloading or after downloading from downloads folder with Applescript or Java?
    Also my download URL link doesnot contain full name of the download file.
    Pls suggest.

    Hi,
    The best method is to use curl.
    Other methods are not reliable, but can work, it depends on several factors (what the script does, what the user does).
    Here is an example with the curl command:
    set tUrl to "http://sourceforge.net/projects/vlc/files/2.0.4/macosx/vlc-2.0.4.dmg/download?ac cel_key=60%3A1350656196%3Ahttp%253A//www.videolan.org/vlc/download-macosx.html%3 A7233e4e9%245818d66f39b0576e1e9c4a0f3b46b1991180bfdd&click_id=976a88ee-19f7-11e2 -9a21-0200ac1d1d8e&source=accel"
    set dFolder to path to downloads folder
    tell application "Finder" to set newFolder to (make new folder at dFolder) as string
    set f to quoted form of POSIX path of newFolder
    do shell script "cd " & f & " && curl -L " & tUrl & " -o 'vlc.dmg'" -- download  to file "vlc.dmg"
    set downloadedFile to newFolder & "vlc.dmg" --<-- HFS path
    --do something with the downloadedFile

  • Get file name of one folder

    Hi
    I want to know all file names of one folder which is on the presentation server.
    I dont want to use FM: TMP_GUI_DIRECTORY_LIST_FILES.
    because it wont work in background.
    Regards,
    Vishwa.

    Similar Post,
    Link:PROBLEM IN FM TMP_GUI_DIRECTORY_LIST_FILES

  • How to set file name and destination folder without user interaction

    how can I set the file name and destination folder to generate a pdf file like "c:\myfolder\document.pdf" in this folder automatically.
    Is there a tag in .joboptions ?
    Goal: User click print button. In the background a pdf will be generated in e.g. "C:\myfolder\document.pdf".
    that`s it.
    I know that the query dialog for save as can be turned off. But the file name depends on the application.
    Thanks for your help.
    TK

    Hello,
    Please post this  in  PI forums
    Regards, Anil

  • I've just purchased an ipad2 and have synced it with outlook to get all contacts.  I've also set up my earthlink mail account and it sends/receives fine.  IS there a way to sync it so I get all of the legacy emails sitting in the OUtlook inbox?

    I've just purchased an ipad2 and have synced it with Outlook to get all contacts, etc.  I've set up the mail account and it is working just fine.  The sync doesn't pull over legacy emails from Outlook and my Outlook has been set up to remove them from the webmail server therefore they aren't available from webmail anymore.  Is there anyway to pull them over to the iPad? 

    But is there a way (simple or not-so-simple) to find
    out EVERY SINGLE FILE that's referenced on a
    timeline? (I have lots of stuff imported into the
    project that I know isn't used on any timeline, but
    I'm afraid of moving or deleting things for fear of
    never finding it again.)
    I'd love to get some sort of "printout" (a list or
    something) of every single file.
    There is, go to browser and cntrl click on any one of the columns,
    and select - show/source. A new column named "source" will pop up and will show where everything "lives". Click on the header at the top and it will justify the column as well. You'll notice this won't show anything for your seq.'s. of course, but will show stills/audio/motion files...
    Once you have the new column, you can drag it next to the "name" column and get a grab of it and print it if you like, or whatever.
    If you want to do this for just 1 seq., then can create a new bin and double click it to open it. Cntrl-A (select all) in your main seq. and just drag all into the new bin. You will see only what's in that seq. with the "source" column right next to it.
    From what I've read, you seem to get the MM thing and it's obviously what you'll need to do to archive as the guys said. But what your missing is a file path system to where everything resides.
    Hope this helps and that I've read you properly,
    Peace
    P-Book 1.5, 17" 2gsRAM   Mac OS X (10.4.4)   FCStudio

  • Load all file names in a directory to a SQL Table

    I need to load all the file names in a directory to a SQL table. It must be done via TSQL or SSIS. If using TSQL cannot use xp_cmdshell or any undocumented sprocs. So I am guessing it will be SSIS. But still open to suggestions. I am an SSIS newbie and need
    a nudge in the right direction of how to get the file names into a SQL table.
    Thanks

    Let me add a bit of background. We are sent a group of files. Each file has the ccyymmdd date attached to the name. Possible that we miss processing one day and the next day there are two sets of files in the directory. file1_20140101, file2_20140101,
    file1_20140102, file2_20140102. I cannot guarantee what the file names will be. Just know that i need to process the 20140101 files in one batch, and then the 20140102 files in the next batch. So thinking that i could read all the file names into a SQL table,
    distinct on the date and then sort by the date and pull off those files to process first. Thinking this will be done in SSIS. Open to any ideas or suggestions.

  • Getting absolute file name using af:inputFile

    Hi all,
    Can you help me how to get absolute file name (e.g., C:\Documents\file.txt) using <af:inputFile> component or using any another JSF component.
    Thanks in advance :)))

    we can't get absolute path using inputFile, we can get only the file name. as per my knowledge we don't have any other component also.
    i have one of my requirement i need to read file from specified folder, so i have hard coded my folder name in my managed bean.

  • File Adapter - how to get the file count from a folder

    Hi All,
    I have a requirement that have to poll a directory when the file count is reached to number N (ex:number of files avilable in folder is 5) otherwise it should wait and not pick any of the files. Is it possible to get the file count from a folder using file adapter ?? otherwise please suggest me an approach to achieve this requirement.
    Thanks,
    JJ

    Hi Sarath,
    Thank you for your reply.
    Go with the list files operation of file adapter it will gives you the number of files in the specified folder as you given. . - this step is already done.
    When the number of files reaches your count startup your webservice that which can polls the files. . . - how can i acheive this?? Have to poll the directory and process the number files - please let me know, what could be added to the webservice which is being invoked after cheking file count from parent process.
    The reason for the above question is - we cannot use ReadFile operation in second webservice because it will be automatically triggered when the file is avilable. Also SyncRead operation supports reading one file in b/w bpel process. Kindly explain me the implementation steps.
    Thanks,
    JJ

  • How is it posible to get the File name, size and type from a File out the H

    How is it posible to get the File name, size and type from a File out the HttpServletRequest. I want to upload a File from a client and save it on a server with the client name. I want to conrole before saving the name, type and size of the file.How is it posible to get the File name, size and type from a File out the HttpServletRequest.
    form JSP
    <form name="form" method="post" action="procesuploading.jsp" ENCTYPE="multipart/form-data">
    File: <input type="file" name="filename"/
    Path: <input type="text" readonly="" name="path" value="c:"/
    Saveas: <input type="text" name="saveas"/>
    <input name="submit" type="submit" value="Upload" />
    </form>
    proces JSP
    <%@ page language="java" %>
    <%@ page import="java.util.*" %>
    <%@ page import="FileUploadBean" %>
    <jsp:useBean id="TheBean" scope="page" class="FileUploadBean" />
    <%
    TheBean.doUpload(request);
    %>
    BEAN
    import java.io.*;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletInputStream;
    public class FileUploadBean {
    public void doUpload(HttpServletRequest request) throws IOException
              String melding = "";
              String filename = request.getParameter("saveas");
              String path = request.getParameter("path");
              PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter("test.java")));
              ServletInputStream in = request.getInputStream();
              int i = in.read();
              System.out.println("filename:"+filename);
              System.out.println("path:"+path);
              while (i != -1)
                   pw.print((char) i);
                   i = in.read();
              pw.close();
    }

    Thanks it works great.
    Here an excample from my code
    import org.apache.commons.fileupload.*;
    public class FileUploadBean extends Object implements java.io.Serializable{
    String foutmelding = "geen";
    String path;
    String filename;
    public boolean doUpload(HttpServletRequest request) throws IOException
         try
         // Create a new file upload handler
         FileUpload upload = new FileUpload();
         // Set upload parameters
         upload.setSizeMax(100000);
         upload.setSizeThreshold(100000000);
         upload.setRepositoryPath("/");
         // Parse the request
         List items = upload.parseRequest(request);
         // Process the uploaded fields
         Iterator iter = items.iterator();
         while (iter.hasNext())
         FileItem item = (FileItem) iter.next();
              if (item.isFormField())
                   String stringitem = item.getString();
         else
              String filename = "";
                   int temp = item.getName().lastIndexOf("\\");
                   filename = item.getName().substring(temp,item.getName().length());
                   File bestand = new File(path+filename);
                   if(item.getSize() > SizeMax && SizeMax != -1){foutmelding = "bestand is te groot.";return false;}
                   if(bestand.exists()){foutmelding ="bestand bestaat al";return false;}
                   FileOutputStream fOut = new FileOutputStream(bestand);     
                   BufferedOutputStream bOut = new BufferedOutputStream(fOut);
                   int bytesRead =0;
                   byte[] data = item.get();
                   bOut.write(data, 0 , data.length);     
                   bOut.close();
         catch(Exception e)
              System.out.println("er is een foutontstaan bij het opslaan de een bestand "+e);
              foutmelding = "Bestand opsturen is fout gegaan";
         return true;
         }

  • How to get Sequence File Name ?

    Hello everybody !!
    I'm using TestStand 3.1 and i would like to get sequence file name. I've tried to use NameOf() function, but without success.
    Of course, I've searched previous posts about the same question, but nothing works.
    Is there someone able to tell me how to get sequence file name ?
    Thanks a lot.
    MrOrange

    MrOrange,
    first of all, the solution i will present only works for saved sequence files.
    you got all information you need within TestStand itself, just browse for RunState.SequenceFile.Path. here you can find the filename. but the path of the file is also included in the string, so this is a part you have to get rid off.
    you can use statements to extract the filename from the path. just search the string for the last occurence of "\\" (searchinreverse!) and then you can retrieve the right() part of the path. beware that right() needs the number of characters you want to extract, not the startindex!!
    hope this helps,
    Norbert B.
    NI Germany
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Get image file name

    Hi ALL,
    I want all image file naming like a caption in my source document. Source document contains more than 100 images.
    But i got a script through the forum and tuned for my script. Still, the file naming comes for the Ist page image only.
    From second page onwards the file naming not comes like a caption.
    Trying script:
    //To Get image file name
    var tgt = app.activeDocument.rectangles;
    for (i=0;i<tgt.length;i++){
        myCaption = app.activeDocument.textFrames.add();
        myCaption.textFramePreferences.verticalJustification = VerticalJustification.TOP_ALIGN
        myCaption.contents = tgt[i].graphics[0].itemLink.name
        myCaption.paragraphs[0].justification = Justification.CENTER_ALIGN;
        bnds = tgt[i].visibleBounds;
        myCaption.visibleBounds =
            [bnds[2]+12, bnds[1], bnds[2]+4,bnds[3]];
            //[bnds[0]-6, bnds[1], bnds[0]-1,bnds[3]];
            myCaption.fit(FitOptions.FRAME_TO_CONTENT);
    Thanks in advance
    BEGINNER

    If you use the add() method in conjunction with the document without specifying the page or better the spread, all objects added will end up on the first spread of your document.
    But your testing scenario is also too narrow. You are expecting:
    1. All your graphics are sitting in Rectangle objects (what about Ovals or Polygons?)
    Therefore: All graphics placed in ovals or polygons are left out.
    2. That really ALL rectangles in your document contain graphics
    You are in trouble, if there happen to be empty rectangles on a page. I would suggest to test that with your script. It will give you an error, because there is no graphics[0] for this specific rectangle, where you can draw the "name" for the "itemLink".
    3. That there are no graphics in anchored objects or pasted inside other objects; left alone graphics inside table cells.
    And who can say that thiese three restrictions exist in all documents you want to run this script against?
    So, if you want to get to all image files in the document, why don't you start with the images in the first place?
    Let's see:
    the Document object has an "allGraphics" property.
    Use that as a starting point and you will not missing a single graphic.*
    Iterate through "allGraphics" will get you:
    the "name" of the placed image through its itemLink.name property;
    the container of the graphic, that's the "parent" of the graphic.
    Now you need one other thing:
    the page, or even better(!) the spread where the graphic is located. Imagine a graphic sitting outside of a page.
    If you want to handle thiese, you must know the spread.
    If  writing this script for InDesign CS5 or above, you are in luck. There is a "parentPage" property of the "Graphic" object, you could use for your add() method. For graphics outside of pages this property will be "null".
    And another important thing:
    if a graphic is copy/pasted from e.g. PhotoShop to InDesign, the "itemLink"  property of that graphic is also "null".
    We can handle that in a try/catch scenario…
    //Scope: all graphics on all pages
    //(that includes graphics of anchored objects, active states of MSOs, graphics in table cells as well)
    var tgt = app.activeDocument.allGraphics;
    for(var i=0;i<tgt.length;i++){
        //Narrow the scope to all graphics on pages only:
        if(tgt[i].parentPage != null){
            //What to do with graphics, that are pasted directly from none-InDesign files:
            //the caption will read "Undefined"
            try{
            var myName = tgt[i].itemLink.name;
            }catch(e){var myName = "Undefined"};
            //targets the page of the graphic:
            var myPage = tgt[i].parentPage;
            //adds a text frame to the page of the graphic:
            var myCaption = myPage.textFrames.add();
            myCaption.textFramePreferences.verticalJustification = VerticalJustification.TOP_ALIGN;
            myCaption.contents = myName;
            myCaption.paragraphs[0].justification = Justification.CENTER_ALIGN;
            //Why visible bounds and not geometric bounds?
            var bnds = tgt[i].parent.visibleBounds;
            myCaption.visibleBounds = [bnds[2]+12, bnds[1], bnds[2]+4,bnds[3]];
            myCaption.fit(FitOptions.FRAME_TO_CONTENT);
    *Not exactly true, because it is missing graphics in not-active states of  MultiStateObjects.
    Since MSOs were introduced in InDesign CS5 the DOM documentation left out this fact so far.
    //EDIT: in the first version I had a comment on a different scope. Since  Document Objects have no "graphic" property, I removed that comment. Sorry.
    Uwe
    P.S. And a Happy New Year to all!
    Message was edited by: Laubender

  • Listing of all file names in a directory

    Hello everyone,
    Is there a way to get the listing of all file names in a directory
    pointed by an entry in dba_directory in oracle into a collection in
    pl/sql procedure.
    Thank you.
    Tuncay

    this is the same problem I am trying to solve now. I found some ehlp in Tom Kyte articles on java stored procedures.
    create global temporary table DIR_LIST
    ( filename varchar2(255) )
    on commit delete rows;
    create and compile java source named "DirList" as
    import java.io.*;
    import java.sql.*;
    public class DirList
    public static void getList(String directory)
    throws SQLException
    File path = new File( directory );
    String[] list = path.list();
    String element;
    for(int i = 0; i < list.length; i++)
    element = list;
    #sql { INSERT INTO DIR_LIST (FILENAME)
    VALUES (:element) };
    create procedure get_dir_list( p_directory in varchar2 )
    as language java
    name 'DirList.getList( java.lang.String )';
    then you call in your pl/sql and fill your collection from the DIR_LIST table:
    get_dir_list('the name of the directory' );
    ---then you fill the collection by fetching the DIR_LIST table
    good luck,
    Florin

  • Get All instance names in the stage

    hi,
    is there any way to get all instance name of the objects presents on the stage ? trace them for example
    thank you

    thank you, it's the correct answer but i still can't solve my problem ,
    the thing is that am using a code from http://www.freeactionscript.com that make enemie follow the player, but i need to do some modification, i need to detect collision between enemies so they will not get the one into the other and the thing that i cannot found their instance name, even when i used your function i only get "player_mc : _level0.player_mc" at the output,
    here is the code, i will be really greatful if you can find a way to help me solve this problem .
    ps :
    am trying to write my own code that make enemie follow the player, coz this one looks very complicated
    thank you
    the code :
    * Game Enemy AI Behavior - Run Away & Follow Player
    * Version:           1.0
    * Author:           Philip Radvan
    * URL:                     http://www.freeactionscript.com
    var enemiesArray:Array = new Array();
    var radians:Number = 180/Math.PI;
    createEnemies(5, "typeA", "e1");
    createEnemies(5, "typeB", "e2");
    createEnemies(5, "typeC", "e3");
    // createEnemies(number of enemies, behavior)
    // use ex: createEnemies(10, "slow", "myLinkedMovieClip);
    function createEnemies(enemyAmount:Number, enemyBehavior:String, enemyLibraryClip:String):Void
              //run a for loop based on the amount of enemies
              for(var i = 0; i < enemyAmount; i++)
                        //set temporary variable that will hold the new enemy attributes
                        var tempEnemy:MovieClip = _root.attachMovie(enemyLibraryClip, "enemy"+_root.getNextHighestDepth(),_root.getNextHighestDepth())
                        //give new enemy a random x/y position based on stage width/height
                        tempEnemy._x = random(Stage.width);
                        tempEnemy._y = random(Stage.height);
                        tempEnemy._rotation = random(360);
                        //set enemy behavior
                        if(enemyBehavior == "typeA")
                                  //define enemy characteristics
                                  tempEnemy.speed = 1
                                  tempEnemy.turnRate = .05
                                  tempEnemy.agroRange = 200;
                                  tempEnemy.mode = "follow"
                        else if(enemyBehavior == "typeB")
                                  //define enemy characteristics
                                  tempEnemy.speed = 4
                                  tempEnemy.turnRate = .5
                                  tempEnemy.agroRange = 200;
                                  tempEnemy.mode = "follow"
                        else if(enemyBehavior == "typeC")
                                  //define enemy characteristics
                                  tempEnemy.speed = 1
                                  tempEnemy.turnRate = .2
                                  tempEnemy.agroRange = 100;
                                  tempEnemy.mode = "run"
                        //define variables that are used to calculate following
                        //*don't change these*
                        tempEnemy.distanceX = 0;
                        tempEnemy.distanceY = 0;
                        tempEnemy.distanceTotal = 0;
                        tempEnemy.moveDistanceX = 0;
                        tempEnemy.moveDistanceY = 0;
                        tempEnemy.moveX = 0;
                        tempEnemy.moveY = 0;
                        tempEnemy.totalmove = 0;
                        //add new enemy to array
                        enemiesArray.push(tempEnemy)
    //Update enemies function
    function updateEnemies():Void {
              //run a for loop based on the amount of enemies
              for(var i = 0; i < enemiesArray.length; i++)
                        //set temporary variable that will hold the new enemy attributes
                        var tempEnemy:MovieClip = enemiesArray[i];
                        //run follow function with temporary enemy as the follower
                        updatePosition(tempEnemy, player_mc);
    // updatePosition(follower, target)
    // use ex: updatePosition(myEnemyMovieClip, playerMovieClip)
    function updatePosition(follower:MovieClip, target:MovieClip) {
              //calculate distance between follower and target
              follower.distanceX = target._x-follower._x;
              follower.distanceY = target._y-follower._y;
              //get total distance as one number
              follower.distanceTotal = Math.sqrt(follower.distanceX * follower.distanceX + follower.distanceY * follower.distanceY);
              //check if target is within agro range
              if(follower.distanceTotal <= follower.agroRange){
                        //calculate how much to move
                        follower.moveDistanceX = follower.turnRate * follower.distanceX / follower.distanceTotal;
                        follower.moveDistanceY = follower.turnRate * follower.distanceY / follower.distanceTotal;
                        //increase current speed
                        follower.moveX += follower.moveDistanceX;
                        follower.moveY += follower.moveDistanceY;
                        //get total move distance
                        follower.totalmove = Math.sqrt(follower.moveX * follower.moveX + follower.moveY * follower.moveY);
                        //apply easing
                        follower.moveX = follower.speed * follower.moveX / follower.totalmove;
                        follower.moveY = follower.speed * follower.moveY / follower.totalmove;
                        //move & rotate follower
                        if(follower.mode == "follow")
                                  follower._x += follower.moveX;
                                  follower._y += follower.moveY;
                                  follower._rotation = Math.atan2(follower.moveY, follower.moveX) * radians;
                        else if(follower.mode == "run")
                                  follower._x -= follower.moveX;
                                  follower._y -= follower.moveY;
                                  follower._rotation = (Math.atan2(follower.moveY, follower.moveX) * radians)+180;
    //onEnterFrame that executes the updatePosition updateEnemies every frame
    _root.onEnterFrame = function(){
              updateEnemies();
    //start/stop drag for player_mc
    player_mc.onPress = function(){
              startDrag(this);
    player_mc.onRelease = function(){
              stopDrag();

  • 1.- I´m creating a Muse site which contains videos, photos and sound. All videos, sounds and pictures are located in diferent folders in my PC. Since Muse doesn't organize the project and its files like Dremweaver (all files in a single folder). How can I

    1.- I´m creating a Muse site which contains videos, photos and sound. All videos, sounds and pictures are located in diferent folders in my PC. Since Muse doesn't organize the project and its files like Dremweaver (all files in a single folder). How can I manage my site (containing all the media)  in order to upload it to a server?
    2.- Is there a Adobe Muse community in spanish language?
    Thanks for your help
      Mauricio444

    Kevin is suggesting that you store the projects you create while working through his book in a folder called RoboHelpProjects. It is not where you have to store every project you ever create.That is for the purposes of his book.
    RoboHelp initially defaults to My RoboHelp Projects but it's up to you whether you do. Generally on the forums we advise against that as  it is part of your profile and can result in excessively long path names in a few cases. Generally where authors create file names that are so long they almost serve as the content.
    Projects always have a root folder, call them Project 1 and Project 2 for this purpose. You can have those folders directly off your C drive (or other local partition) or within in a parent folder as above.
    Now to what you can and cannot do. You can delete a whole project by selecting Project 1 or Project 2 in Windows Explorer. Obviously if you delete the parent folder you will delete all your projects within.
    What you must not do is delete individual files within a project using Windows Explorer, for that you use RoboHelp's Project Manager. The exception is if you go to Tools > Reports there is a report Unused Files. Files listed there will have to be deleted using Windows Explorer for the very good reason they do not appear in Project Manager and, therefore, cannot be deleted that way.
    If you think about it, it is similar to Word. There is no option to delete a document there other than using File > Open and right clicking. Not very intuitive.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

Maybe you are looking for

  • Error Occurred During Installation of Lightroom 5

    I can't seem to get Lightroom 4 or 5 to download onto my computer.  Both versions give me the same error: Exit Code: 7 Please see specific errors below for troubleshooting. For example, ERROR: -------------------------------------- Summary ----------

  • String literal is not properly closed by a double-quote

    Hi, In my Java Class, this message appears: String literal is not properly closed by a double-quote LINE: The red part of the statement. Please help! Thanks! package demo; import javax.persistence.EntityManager; import javax.persistence.EntityManager

  • Satellite Pro M10: firmware upgrade issue DVD UJ-830B FW:1.50, HW:1.00

    Hi, I had tried to replace the old DVD/CDRW with the above UJ-830B ( FW: 1.50, HW: 1.00) but the result was IDE error. It is not recognize it in Windows at all. I have tried to solder the contact 48 and 49 but result is the same. How can I make to wo

  • RUNNING SLOW AFTER OPENING KASPERSKY ON PARALLELS

    RUNNING SLOW AFTER INSTALLING KASPERSKY ON PARALLELS

  • Lost All My Songs

    Ok so I just went to plug my new iPod Classic 120gb into my computer this morning to make a playlist. I didnt think the plug was in all the way so I quickly pulled it out and then put it back in. I guess it had been in, and then me taking it out and