Computing.Net > Forums > Disk Operating System > Invalid Drive Specification

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.

Invalid Drive Specification

Reply to Message Icon

Name: acmelody
Date: July 3, 2003 at 13:45:18 Pacific
OS: Windows ME
CPU/Ram: AMD Duron(tm) Processor
Comment:

I have the same problem as is listed here- http://www.computing.net/dos/wwwboard/forum/12562.html, except my OS is Windows ME and I'm booting from a startup disk. I can get to C:\vnm\afraid\ but then when I type "afraid" to launch the batch file, it still says "Invalid Drive Specification". I know the .bat file is in there. What am I doing wrong?



Sponsored Link
Ads by Google

Response Number 1
Name: Secret_Doom
Date: July 3, 2003 at 14:11:42 Pacific
Reply:

It sounds like an error generated by a command from inside the batch file.

If you post it, someone may perhaps fix it for you.

-- Leonardo Pignataro - Secret_Doom --

secret_doom@hotmail.com
www.batch.hpg.com.br


0

Response Number 2
Name: acmelody
Date: July 3, 2003 at 17:05:35 Pacific
Reply:

I'm guessing you mean the text of the batch file. If not, I apologize for my ignorance.

@echo off
@rem Play game normally
E:
E:\AFRAID E:\AFRAID.DTA -dp C:\VNM\AFRAID
C:


0

Response Number 3
Name: Secret_Doom
Date: July 4, 2003 at 07:33:24 Pacific
Reply:

Yeah, that's what I meant.

You see, that batch file is refeering to files on specific paths under the C and E drives. E drive suggests CD-ROM. This batch file should run a game from CD, am I right?

First of all, you need the CD-ROM drivers loaded into memory properly by your boot disk in order to be able to use your CD-ROM drive. The fact that it is installing and working under Windows has no relation with it working under DOS.

Second, after getting your CD-ROM installed, if it's on the E: drive, the batch file should work (with the proper CD inserted). If another drive letter is assigned to the CD, you gotta change the batch file. Let's say the CD gets the D: letter. The batch file should be:

@echo off
@rem Play game normally
D:
D:\AFRAID D:\AFRAID.DTA -dp C:\VNM\AFRAID
C:

-- Leonardo Pignataro - Secret_Doom --

secret_doom@hotmail.com
www.batch.hpg.com.br

_______________________________________________________


0

Response Number 4
Name: TopFarmer
Date: July 4, 2003 at 11:43:50 Pacific
Reply:

I have not written bat files but all i have looked at always has a ; before additional drive letters ie: D:\AFRAID ;D:\AFRAID.DTA -dp ;C:\VNM\AFRAID
Secret_Doom - is the ; required or is it only for use by us poor humans ?


0

Response Number 5
Name: Secret_Doom
Date: July 4, 2003 at 12:44:53 Pacific
Reply:

Generally, in the DOS command prompt syntax, the semicolon (;) has the same function of the space or comma, which is to simply separate parameters.

So, there's no problem if you don't use the semicolon between parameters, as long as you use a space or comma to separate them.

-- Leonardo Pignataro - Secret_Doom --

secret_doom@hotmail.com
www.batch.hpg.com.br



0

Related Posts

See More



Response Number 6
Name: acmelody
Date: July 4, 2003 at 15:21:42 Pacific
Reply:

Thanks for the idea. I changed the batch file to look for the CD-ROM in drive F instead of E and it found it. One question though, why is it that when I look in My Computer, the CD-ROM drive is listed as E?


0

Response Number 7
Name: Secret_Doom
Date: July 4, 2003 at 18:38:46 Pacific
Reply:

The letter assigned to a drive depends on its installation/configuration. You can specify any avaliable letter for your CD-ROM, wether on Windows or on MS-DOS (from C on, A and B are generally only for floppy).

The configurations that specify which letter the drive should get, on both DOS and Windows, are totally independent, so it's perfectly normal that different letters could get assigned.

When automatic configurations are used, generally the first avaliable letter is assigned. In that case, the difference between DOS and Windows could be due to the boot disk implementing an additional drive, a RAM drive.

-- Leonardo Pignataro - Secret_Doom --

secret_doom@hotmail.com
www.batch.hpg.com.br


0

Sponsored Link
Ads by Google
Reply to Message Icon






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: Invalid Drive Specification

invalid drive specification www.computing.net/answers/dos/invalid-drive-specification/7088.html

Invalid Drive specification www.computing.net/answers/dos/invalid-drive-specification/1696.html

DOS Game--Invalid Drive Specification www.computing.net/answers/dos/dos-gameinvalid-drive-specification/6529.html