Nath Posted August 25, 2004 Share Posted August 25, 2004 (edited) Hi to all, I'm really dummy in batch file so please help me... i would like to know what wrong with my autoexec.bat, i had read all the topics and i have made many modification to my 98se.ima but always the same problem in Virtual PC.... (invalid directory)p.s. My XP and 2000 work fine but 98 :EXT%RAMD%:\extract /y /e /l %RAMD%: ebd.cab > NULecho The diagnostic tools were successfully loaded to drive %RAMD%.echo.LH %ramd%:\MSCDEX.EXE /D:mscd001 /L:Wecho.set CDROM=FOO23FINDCD.EXEclsecho Now installing Windows 98 SEecho.echo Loading...path=%RAMD%:\;a:\;%CDROM%:\SETUP\98SE\%CDROM%cd \Setup\98SEINSTALL.EXEecho.GOTO QUIT:QUITthank Edited August 25, 2004 by Nath Link to comment Share on other sites More sharing options...
jaclaz Posted August 26, 2004 Share Posted August 26, 2004 It looks like you have a problem here:%RAMD%:\extract /y /e /l %RAMD%: ebd.cab > NULit looks like RAMD is empty, make sure that BEFORE you assign a drive leteer to RAMD, like this:SET RAMD=X: then, I think you have a problem with "\" and ":"If RAMD = something like X: you do not need the :If RAMD = something like X:\ you do not need the \If RAMD = something like X you miss a \ in the second part.Moreover I do not think that EXTRACT.EXE is ALREADY on RAMD!Assumed that RAMD is something like X your line should be:extract /y /e /l %RAMD%:\ebd.cab > NULjaclaz Link to comment Share on other sites More sharing options...
MadGutts Posted September 7, 2004 Share Posted September 7, 2004 %RAMD% is a microsoft variable used on the original install disks.If you want to use the same logical assignments, then you need to copy the whole section.But it is far easier to "set RAMD=x" then it wont change between pcs. where x is the drive letter to use. Bear in mind that certain letters cannot be used: A,B,C.... so use a letter down the alphabet so you dont get any clashes. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now