Computing.Net > Forums > Disk Operating System > Running program from DOS-USB-Device

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Running program from DOS-USB-Device

Reply to Message Icon

Name: devina
Date: December 27, 2004 at 04:57:40 Pacific
OS: DOS 6.22
CPU/Ram: Latitude CPi D300XT ??
Comment:

I formatted the harddisk of my Notebook (an old Dell Latitude CPi D300XT) because i wanted to install Win98 SE. My notebook has no internal CD-Drive. With the help of other posts in this forum, i made a boot-floppy-disk with DOS 6.22 which can access an external Plextor-USB-CD-RW-Drive (with Panasonic ASPI-Manager for USB-mass-storage V2.06).
When i make a 'dir'-command, the content of the cd-drive is shown. But when i try to run the oemsetup.exe on the cd-drive or when i try to copy the content of the cd-rom to the harddisk, the message 'Bad command or file name' appears. What i'm making wrong? DOS recognizes the cd-drive, else it wouldn't show me the content of the cd-rom (and at startup the message 'USB Device Driver is installed' appears). So why can't i running a program on the cd-rom or why can't i copy files from cd-rom to harddisk?
Content of config.sys:
DEVICE=HIMEM.SYS /testmem:off
FILES=30
BUFFERS=20
DEVICE=USBCD.SYS/d:USBCD001
LASTDRIVE=Z

content of autoexec.bat
@echo off
MSCDEX /d:USBCD001 /L:X
X:
cd win98
oemsetup.exe

I tried also x:\win98\oemsetup.exe - without success.




Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: December 27, 2004 at 05:35:17 Pacific
Reply:

What you need is not this:

X:
cd win98
oemsetup.exe

but this:

X:
cd win98
setup.exe

But it's better to copy the win98 directory to the HD and install from there; faster:

c:
md c:\win98
cd c:\win98
copy x:\win98
setup

HTH

M2

Mechanix2@Golden-Triangle.com


0

Response Number 2
Name: devina
Date: December 27, 2004 at 06:09:18 Pacific
Reply:

first solution: it tells me 'invalid directory - bad command or file name'
second solution (copy files): message 'file not found x:\win98'
But the directory exists on the cd-rom (with the 'dir'-command, i can see the structure of the cd-rom)


0

Response Number 3
Name: Mechanix2Go
Date: December 27, 2004 at 06:40:06 Pacific
Reply:

devina,

Sounds like either the CD is corrupted or the drive (and or the CD) need cleaning.

Hopefully it's the latter.

HTH

M2

Mechanix2@Golden-Triangle.com


0

Response Number 4
Name: rogerashley
Date: December 27, 2004 at 06:53:16 Pacific
Reply:

Obviously you are at an A:\_ prompt then undertake following:

C: 'press enter'

md w98temp 'press enter'

x: 'press enter'

cd w98 (or whatever directory the CAB files are in) 'press enter'

copy *.* c:\w98temp 'press enter'

c: 'press enter'

cd w98temp 'press enter'

setup 'press enter'


.................................
THOUGH THIS SHOULD BE IN THE W9X FORUM!


0

Response Number 5
Name: Mechanix2Go
Date: December 27, 2004 at 07:17:09 Pacific
Reply:

devina,

Do you have access to another PC in which you can read this CD?

Roger,

This guy is smarter than you give him credit for.

He wrote a good config (lastdrive and all) and an autoexec to assign the drive letter and to take him to it.

So he's pretty obviously not at the A prompt.

M2

Mechanix2@Golden-Triangle.com


0

Related Posts

See More



Response Number 6
Name: JackG
Date: December 31, 2004 at 01:29:15 Pacific
Reply:

Does he realize that he can not run the oemsetup.exe or setup.exe from the USB device. These are Windows programs, not DOS programs and they do not have support for USB access built into them. They do have basic CD-Rom drive support (with poor error handling).

As pointed out, he has to copy all of the install files on the USB device to a folder on the disk drive. Then run the programs from the disk drive. His program not found might be caused by trying to use the XCOPY command and not the DOS COPY command.


0

Response Number 7
Name: Mechanix2Go
Date: December 31, 2004 at 01:45:18 Pacific
Reply:

JackG,

He wasn't trying to use xcopy.

Nor was he trying to use copy.

His problem was that oemsetup is in the root, not in win98.

Setup.exe is a DOS executable. Trust me; I've done it at least 100 times.

As to oemsetup, dunno; never used it.

M2

Mechanix2@Golden-Triangle.com


0

Sponsored Link
Ads by Google
Reply to Message Icon

40 Gig HD SuperCalc 5



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Running program from DOS-USB-Device

Running a program from DOS www.computing.net/answers/dos/running-a-program-from-dos/9694.html

Cant run Scandisk from DOS www.computing.net/answers/dos/cant-run-scandisk-from-dos/4947.html

DOS & USB 1.1 & 2.0 www.computing.net/answers/dos/dos-amp-usb-11-amp-20/16007.html