Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Question for DOS Wizards Here

Featured Replies

Im creating a multi Windows DVD and i am using CDshell to load a 98.IMA image file that i renamed to 95.IMA to use with 95B OS2 setup. I edited the AUTOEXEC.BAT to allow auto formating and i have that part working.

I set my cdrom drive letter to load as Z and a DIR command in DOS shows it is booting in that drive letter.

The last part is giving me some issues however. I want a line added to AUTOEXEC.BAT to allow me to copy win95 setup files from the cd to C:\CABS. The line i added to create the cabs directory on drive C works, but the line added after that to copy the files isnt. It keeps saying invalid path, although i can manually CD my way there and have checked spelling errors which they are none.

Below is my edited AUTOEXEC.BAT, highlighted in bold are the lines i have added thats not working. I assume the setup.exe line should work once those files gets copied?

** Problem found and fixed, edited AUTOEXEC.BAT below with correct switchs. **

Thanks.

@ECHO OFF

set EXPAND=YES

SET DIRCMD=/O:N

set LglDrv=27 * 26 Z 25 Y 24 X 23 W 22 V 21 U 20 T 19 S 18 R 17 Q 16 P 15

set LglDrv=%LglDrv% O 14 N 13 M 12 L 11 K 10 J 9 I 8 H 7 G 6 F 5 E 4 D 3 C

cls

call setramd.bat %LglDrv%

set temp=c:\

set tmp=c:\

path=%RAMD%:\;a:\;%CDROM%:\

copy command.com %RAMD%:\ > NUL

set comspec=%RAMD%:\command.com

copy extract.exe %RAMD%:\ > NUL

copy readme.txt %RAMD%:\ > NUL

:ERROR

IF EXIST ebd.cab GOTO EXT

echo Please insert Windows 95 Startup Disk 2

echo.

pause

GOTO ERROR

:EXT

%RAMD%:\extract /y /e /l %RAMD%: ebd.cab > NUL

echo The diagnostic tools were successfully loaded to drive %RAMD%.

echo.

LH %ramd%:\MSCDEX.EXE /D:mscd001 /L:Z

echo.

cls

echo Windows 95B OS2 Setup

echo ====================

echo.

echo Do You  Want To Quick Format Drive C ?

format c: /q /s /v:WIN_95

echo.

CLS

echo Copy 95B Setup Files To Drive C ?

echo.

pause

MD C:\CABS

COPY Z:\SETUP\95OS2\WIN95\*.* C:\CABS

echo.

CLS

echo Setup Is Ready To Start 95B Install

echo.

Pause

C:\CABS\SETUP.EXE /is

echo.

GOTO QUIT

:QUIT

echo To get help, type HELP and press ENTER.

echo.

rem clean up environment variables

set CDROM=

set LglDrv=


I don't think you can use

COPY Z:\SETUP\95OS2\WIN95\ C:\CABS\
echo.
CLS
echo Setup Is Ready To Start 95B Install
echo.
Pause
C:\CABS\SETUP /IE /NF
echo.
GOTO QUIT

because you cannot copy folders with the COPY command. I think yuo have to use xcopy...

This is a thougt, but I just wanna try to help anyway :P

Yes, as you probably have no subfolders in Z:\SETUP\95OS2\WIN95\

You could replace

COPY Z:\SETUP\95OS2\WIN95\ C:\CABS\

with

COPY Z:\SETUP\95OS2\WIN95\*.* C:\CABS

Please note that the trailing backslash after destination is unneeded.

or, if you have subdirs, using XCOPY

XCOPY Z:\SETUP\95OS2\WIN95\*.*  C:\CABS\*.* /s

I would add a /V switch (verify)

jaclaz

Also, Xcopy is an external command so xcopy.exe will have to be in the path or pointed to when you invoke it.

As the CABS folder for Windows 95 has no subfolders just use copy

COPY Z:\SETUP\95OS2\WIN95\*.* C:\CABS

or

COPY Z:\SETUP\95OS2\WIN95 C:\CABS

should work fine I would use the first personally.

  • Author
COPY Z:\SETUP\95OS2\WIN95\*.* C:\CABS

This works, thanks a bunch. Now its time to edit the 98 image to do the same. I also edited the original thread with the changed settings incase anyone wants to use this.

*Edit, added a automatic volume label switch for format.exe and forgot to edit out those 98 setup switchs which only work on 98 and ME, but did add a 95 setup switch which will bypass scandisk before starting setup.

Here is a list of setup switchs

with win98 and me you will want to use the xcopy command as there are subfolders in the win98 folder

XCOPY Z:\SETUP\98OS2\WIN98\*.* C:\CABS\*.* /s

get the XCOPY executable out of the windows\command folder for the version of os you are using to boot.

  • Author

Thanks for the info and help. Just about have the 9X's done now.

XCOPY.exe is located in the WIN98_47.CAB file if anyone needs to extract it without needing a 98 install to copy it from Windows.

CHOICE is a external command as well. To bad, as i would love to create Yes and No choices throught the install process like:

Yes or No to Format

Yes = would Format

No = goto Drive

Drive section would run another Yes and No to copy setup files to drive C, picking no would default to command prompt:

Z:/Setup/95os2/Win95/

With a prompt to type in Setup.exe to run setup from CD. Throw in a Fdisk choice for good measure.

  • 3 weeks later...

Go to your local library and pickup a dos book or google for guides. I'm sure you can find LOTS. It's actually very simple, most commands have very silimar syntax and /? to help.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.