Using CMD to create flash drive


  1. Posts : 27
    Windows 7 pro x64
       #1

    Using CMD to create flash drive


    I was tasked this weekend to create a working flash drive to be used on clients computers. There is a new Dell Diag out and there training says to use cmd to move the program to the flash drive once I have downloaded and unzipped it. Program is saved to the C: drive. Flash drive would be D: drive.

    Any help, I don't understand Dell's training site. Attachment is what they show me for help.
    Attached Thumbnails Attached Thumbnails Using CMD to create flash drive-epsa-screen-shot.jpg  
      My Computer


  2. Posts : 5,092
    Windows 7 32 bit
       #2

    I can't read what's in the directory listing. Try doing this command:
    Dir >listing.txt

    Then post the listing.txt file.

    I don't understand the task. If the programs run as is without install then you should just have to copy the exe files to the USB. Like copy *.exe D:

    unless there are included support files. But I can't see with that dim dir image.
      My Computer


  3. Posts : 5,092
    Windows 7 32 bit
       #3

    The faster method would be just unzip directly to the flash drive. Depends on the apps. If they all include "readme.txt" then there will be clashes. :)
      My Computer


  4. Posts : 27
    Windows 7 pro x64
    Thread Starter
       #4

    MilesAhead said:
    The faster method would be just unzip directly to the flash drive. Depends on the apps. If they all include "readme.txt" then there will be clashes. :)
    Tired this, Once unzipped on the Flash drive (D drive) Went to open and run, cmd box opens and closes in about 1 sec. and nothing launches.

    "Readme.txt" file is as follows.
    Attached Thumbnails Attached Thumbnails Using CMD to create flash drive-epsa-screenshot.jpg  
      My Computer


  5. Posts : 27
    Windows 7 pro x64
    Thread Starter
       #5

    MilesAhead said:
    I can't read what's in the directory listing. Try doing this command:
    Dir >listing.txt

    Then post the listing.txt file.

    I don't understand the task. If the programs run as is without install then you should just have to copy the exe files to the USB. Like copy *.exe D:

    unless there are included support files. But I can't see with that dim dir image.
    Tried this, "Dir >listing.txt" I got invalid entry. Tried just "Dir" and got the following:
    Attached Thumbnails Attached Thumbnails Using CMD to create flash drive-cmd-screenshot.jpg   Using CMD to create flash drive-cmd-d-drive-screenshot.jpg  
      My Computer


  6. Posts : 27
    Windows 7 pro x64
    Thread Starter
       #6

    Here are the instructions without the pictures (thought this would be eaiser then pasting and clipping like 10 differant screen shots)

    1. Download and unzip the zip file to your c: drive. We recommend that you unzip to a root directory to speed up directory navigation in the next steps.
    2. Once you have saved and unzipped the files, run CMD prompt as administrator by right clicking “Command Prompt” under Accessories.
    3. You must know the letter of your USB thumb drive.
    4. Change to the directory of unzipped files.
    5. Now run create_key.bat (then drive letter). For example: “Create_key_f”
    6. It will take 1-3 minutes to build the key. Type “Exit” to close cmd prompt.
    7. Use Windows explorer to go back to the Unzipped directory and doubleclick Bootice. Bootice.exe is also on the key now. You can run it from either location.
    8. When UAC window pops up click “Yes”.
    9. When Bootice opens, confirm USB key is listed in Destionation Disk. Select “Parts Manage”.
    10. Click on :Change ID”
    11. Now choose “OC:FAT32 LBA” and click “OK”
    12. Key construction is COMPLETE


    Stuck on Step 4. Once cmd is open and I see "C:\Windows\system32>, What do I do next.
      My Computer


  7. Posts : 53,364
    Windows 10 Home x64
       #7

    Based on the read me file:

    Open an elevated command prompt

    Start> In search box type cmd> Right click on cmd.exe in results above and choose Run as administrator

    Insert the larger than 2GB flash drive

    Determine the drive letter of the inserted flash drive. This is a must, as whatever drive letter you choose will be overwritten.

    In command prompt type

    cd \

    Press enter

    Type dir

    Press enter

    The command prompt you posted says type

    create_key.bat D

    Press enter

    But the read me says type

    create_key D

    I would try the 1st choice, as that is what the screenshot shows. Since the USB is empty, it either will work or not. If not, try the 2nd choice. This is assuming you have extracted the files directly to the root of C:\ and not into a folder (directory)



    A Guy
      My Computer


  8. Posts : 5,092
    Windows 7 32 bit
       #8

    create_key.bat is a batch file. A series of commands that will be run in the prompt.

    Microsoft Corporation


    I would look through the .bat file and see if there are any dangerous commands such as Format or FDisk before I'd run it. You could end up hosing your system disk instead of formatting the key drive.
      My Computer


  9. Posts : 53,364
    Windows 10 Home x64
       #9

    garaboldi said:

    Stuck on Step 4. Once cmd is open and I see "C:\Windows\system32>, What do I do next.
    When you type cd \ in the cmd prompt, you will change to the correct directory C:\

    based on your new typed instructions, you then type

    create_key D

    Press enter



    A Guy
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:21.
Find Us