Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Using CMD to create flash drive

20 Aug 2011   #1
garaboldi

Windows 7 pro x64
 
 
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
Using CMD to create flash drive-epsa-screen-shot.jpg  
My System SpecsSystem Spec
.

20 Aug 2011   #2
MilesAhead

Windows 7 32 bit
 
 

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 System SpecsSystem Spec
20 Aug 2011   #3
MilesAhead

Windows 7 32 bit
 
 

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 System SpecsSystem Spec
.


21 Aug 2011   #4
garaboldi

Windows 7 pro x64
 
 

Quote   Quote: Originally Posted by MilesAhead View Post
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
Using CMD to create flash drive-epsa-screenshot.jpg  
My System SpecsSystem Spec
21 Aug 2011   #5
garaboldi

Windows 7 pro x64
 
 

Quote   Quote: Originally Posted by MilesAhead View Post
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 Images
Using CMD to create flash drive-cmd-screenshot.jpg Using CMD to create flash drive-cmd-d-drive-screenshot.jpg 
My System SpecsSystem Spec
21 Aug 2011   #6
garaboldi

Windows 7 pro x64
 
 

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 System SpecsSystem Spec
21 Aug 2011   #7
A Guy

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x64 SP1
 
 

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 System SpecsSystem Spec
21 Aug 2011   #8
MilesAhead

Windows 7 32 bit
 
 

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 System SpecsSystem Spec
21 Aug 2011   #9
A Guy

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x64 SP1
 
 

Quote   Quote: Originally Posted by garaboldi View Post

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 System SpecsSystem Spec
Reply

 Using CMD to create flash drive




Thread Tools





Similar help and support threads
Thread Forum
Removable Flash Drive Recognized as a Local Disk and not a Flash Drive
I recently purchased a 32 GB San Disk Flash Drive. The security files pre-installed on the drive were junk, and I could not delete them so I formatted the drive to remove them. This cleaned the disk, and it holds data, but I'm not sure if this is part of my problem. I am trying to load my copy of...
Hardware & Devices
MS-DOS Bootable Flash Drive - Create
How to Make a MS-DOS Bootable Flash Drive This will show you how to create a flash drive that is able to boot your computer into a MS-DOS environment. This will be accomplished by using the HP Flash Utility and the Windows 98 MS-DOS System FilesThe flash drive being used in this process will be...
Tutorials
Create a bootable flash drive with SpinRite
I want to put SpinRite on a bootable flashdrive so I can run it. I want to be able to use the flashdrive with SpinRite on XP & Win 7. Do I create the bootable drive with Fat32 or NTFS? Have looked on line on how to create it but any suggestions would be helpful.
Software
How to create multi-boot flash drive
Does anyone know of a way to take several different ISO's (multiple Windows ISO's, Ubuntu, Hiren's Boot CD, etc.) and put them onto a flash drive from which I can boot and select one? I've tried several different utilities thus far - unetbootin, YUMI, XBoot - but none have allowed me to...
Installation & Setup
create bootable usb flash
hi my friends.i have some questions about creating bootable usb flash 1-i have an iso file of "windows password remover".the instruction said that i should write it on a Cd but can i want o have in on usb flash? i use ultraiso(open the iso file and in "bootalbe menu" use "write disk image") but it...
Hardware & Devices
Create VHD on flash drive?
Well, I'm at my wit's end here with getting 7 virtualized and portable. And that's why I come here to see if creating a virtual hard drive onto a flash drive and then installing 7 on it is possible. I honestly didn't realize that Windows can support virtualization until a while ago...:doh: ...
Virtualization

Our Sites

Site Links

About Us

Find 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 02:15.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App