Windows 95 and 98... question about msdos promt.

MaDHaVoK

Senior member
Mar 7, 2001
601
0
0
This is my problem... currently I am running a program on a machine with windows 95...
My autoexec.bat looks like this

Set psiuser=temp
share
cd psi\marathon
marathon.

And my program starts up.. now i need to transfer it to Windows 98 except it doesn't have this share command. I tried copying the command from windows 95 and it say its the wrong version of dos when i run it...

Any ideas where i could find the share command for windows 98?

Also Does anyone know how to make a shortcut for an msdos program so that it opens up the msdos promt and the executes the .bat or .exe?

I am screw... hope someone has an idea.
 

AndyHui

Administrator Emeritus<br>Elite Member<br>AT FAQ M
Oct 9, 1999
13,141
17
81
Do you really need SHARE.EXE?

I suggest that you do without it, as the functionality has already been rolled into Windows itself. Essentially, you didn't even need it from Windows 3.11 onwards, (but Windows 3.1 needed it).
 

MaDHaVoK

Senior member
Mar 7, 2001
601
0
0
Hi, thank you for replying... Yes this program really needs share. I wish it wasn't the case.
 

Vinny N

Platinum Member
Feb 13, 2000
2,278
1
81
I wonder if you could get around it by copying the Win95 command.com as well...

Toss it into c:\95dos or something

Run that command.com to start a prompt, and then try it.

so...

c:\95dos\command
Set psiuser=temp
share
cd psi\marathon
marathon.

 

dman

Diamond Member
Nov 2, 1999
9,110
0
76
Or try and find a FREEDOS or PC DOS (IBM Version).

Or check the Win98 CD, I think there is an Old MSDOS folder with some of the older command line prog's there.

 

MaDHaVoK

Senior member
Mar 7, 2001
601
0
0
i could give that a try.. what i did was ad share.exe to c:\windows\command or something like that.
 

dman

Diamond Member
Nov 2, 1999
9,110
0
76
Looks like you are S.O.L. if your program really depends on share. Maybe there's another workaround, no idea here though.
 

MaDHaVoK

Senior member
Mar 7, 2001
601
0
0
Another question.. I tansfered another program to the windows 98 system...
When I run the exe.. it does't work.. but when i open my msdos promt and type the command it works. Is there anyway to create a shortcut that will open the msdos promt and run the command automatically?
 

SnapIT

Banned
Jul 8, 2002
4,355
1
0
Why not just use setver? copy the share.exe from win 95 and use setver to make it believe it is the right dos version... type setver from the command prompt for more help...
 

Lithium381

Lifer
May 12, 2001
12,452
2
0
try as the command in your shortcut(to run a command) "c:\command.com (or wherever) /command-you-want-to-run" not even sure if you need the / in there, but it's somethinglike that if i recall correctly.....MSDOS rules....