BetaArchive Logo
Total Current Archive Size: 4765.54GB in 15409 files
Navigation Home Screenshots Image Uploader Server Info FTP Servers Wiki Forum RSS Feed Rules Please Donate
UP: 6d, 4h, 56m | CPU: 8% | MEM: 4981MB of 12279MB used
{The community for beta collectors}

Post new topic Reply to topic  [ 10 posts ] 
Author Message
 PostPost subject: Change location of Autoexec.bat        Posted: Sun May 06, 2012 10:44 am 
Amateur Beta Collector
Amateur Beta Collector
Offline

Joined
Tue Mar 02, 2010 8:30 pm

Posts
147

Favourite OS
Windows 7 and Windows Vista
Hello :D

I have an IBM Thinkpad 755cx with a dual boot of Windows 3.11 and 95a. I installed 95a after Windows 3.11. There is no autoexec.bat files in the 95 partition and when booting, it reads from the 3.11 one. They system still boots and works, but it encounters loads of errors whilst starting up and runs programs that aren't installed in 95.

So how do i change the path of autoexec.bat in Windows 95?


Thanks!


Top  Profile
 PostPost subject: Re: Change location of Autoexec.bat        Posted: Sun May 06, 2012 10:57 am 
1337 Beta Collector
1337 Beta Collector
User avatar
Offline

Joined
Sat Aug 22, 2009 4:28 pm

Posts
4137

Favourite OS
Mountain Lion, 6730, 8400
I would hex-edit something that reads that, and change it to a different file name, but I don't know what that file is.

_________________
Longhorn Packet 1.21 - Solves most of the problems with Longhorn Setup


Top  Profile  YIM
 PostPost subject: Re: Change location of Autoexec.bat        Posted: Sun May 06, 2012 12:48 pm 
Amateur Beta Collector
Amateur Beta Collector
Online

Joined
Wed May 02, 2012 12:57 am

Posts
160

Favourite OS
Windows NT 3.x
Just a question; couldn't you use Windows 95a's built-in dual-boot mechanism to switch between 95's and 3.11's autoexec.bat? I'm a bit puzzled why it didn't set that up from the beginning, actually.


Top  Profile
 PostPost subject: Re: Change location of Autoexec.bat        Posted: Sun May 06, 2012 1:57 pm 
Amateur Beta Collector
Amateur Beta Collector
Offline

Joined
Wed Dec 07, 2011 10:49 am

Posts
231

Favourite OS
Whistler Build 2419
3155ffGd wrote:
Just a question; couldn't you use Windows 95a's built-in dual-boot mechanism to switch between 95's and 3.11's autoexec.bat? I'm a bit puzzled why it didn't set that up from the beginning, actually.

Windows 95 is not NT, it doesn't have boot loader like that one.


Top  Profile
 PostPost subject: Re: Change location of Autoexec.bat        Posted: Sun May 06, 2012 2:06 pm 
Amateur Beta Collector
Amateur Beta Collector
Online

Joined
Wed May 02, 2012 12:57 am

Posts
160

Favourite OS
Windows NT 3.x
paul1678 wrote:
Windows 95 is not NT, it doesn't have boot loader like that one.

It can however dual-boot between itself and a previous version of DOS (I presume one is there because of 3.11). I know that because I have a setup like this here.


Top  Profile
 PostPost subject: Re: Change location of Autoexec.bat        Posted: Sun May 06, 2012 3:12 pm 
1337 Beta Collector
1337 Beta Collector
User avatar
Offline

Joined
Thu Nov 29, 2007 11:33 pm

Posts
3018

Location
Where do you want to go today?

Favourite OS
All Microsoft operating systems!
If you just want to move the AUTOEXEC.BAT file to a different location, I would first move the AUTOEXEC.BAT file to where you want it. Then, I would create a new AUTOEXEC.BAT file in the root directory, and set it to read the actual AUTOEXEC.BAT file. The only drawback here is that when using the option to examine each command (known as "Step by Step Configuration" in Windows 95 and later), it may just detect the single command to run the real AUTOEXEC.BAT file, and not any of the individual commands contained within it.

If what you want is to have two seperate AUTOEXEC.BAT files for each Windows installation, however, then I suggest you to use Windows 95's capability of maintaining two seperate versions of MS-DOS. Make changes to the AUTOEXEC.BAT file in the one version that relate to the one Windows installation, and then do the same while in the other version, only be sure to set it up for the other Windows installation.

If that's not possible, then I would create two seperate .BAT files that can both play the role of a proper AUTOEXEC.BAT, and when booting up, either execute the one for Windows 3.1, or execute the other for Windows 95.

_________________
Main operating system: Windows 8 Enterprise (Evaluation)
Image


Top  Profile  WWW
 PostPost subject: Re: Change location of Autoexec.bat        Posted: Sun May 06, 2012 5:29 pm 
Amateur Beta Collector
Amateur Beta Collector
Offline

Joined
Tue Mar 02, 2010 8:30 pm

Posts
147

Favourite OS
Windows 7 and Windows Vista
@WinPC

That is what I want! I want 2 different autoexec.bat files for 95 and 3.11. How would i go about changing the files? Thanks!


Top  Profile
 PostPost subject: Re: Change location of Autoexec.bat        Posted: Mon May 07, 2012 12:39 am 
1337 Beta Collector
1337 Beta Collector
User avatar
Offline

Joined
Thu Nov 29, 2007 11:33 pm

Posts
3018

Location
Where do you want to go today?

Favourite OS
All Microsoft operating systems!
Unless you were to use the "Previous version of MS-DOS" feature in Windows 95 (there should be some information about it online, as well as how to enable it, but I haven't looked), I would make sure that no file is actually named AUTOEXEC.BAT. Rather, I would give both copies two different names, and when booting into Windows 3.11, execute the one at the command prompt, and when booting into Windows 95, execute the other at the command prompt.

Also, you might want to try different utilities, such as System Commander/V or whatever it's called (I haven't really used them, I've only seen them in advertisements and text references), since they might also help you with this. Of course, I don't gaurentee that they will necessarily work either, since I don't use them myself.

_________________
Main operating system: Windows 8 Enterprise (Evaluation)
Image


Top  Profile  WWW
 PostPost subject: Re: Change location of Autoexec.bat        Posted: Fri May 11, 2012 10:21 am 
Pro Beta Collector
Pro Beta Collector
User avatar
Offline

Joined
Sat Aug 19, 2006 8:13 am

Posts
506

Location
Slovenia, Central Europe.

Favourite OS
Windows 98 SE 4.10.2222B
The feature I like in System Commander is that in it, you can boot from another primary partition on the same hard disk (you need something like Partition Magic to make that, FDisk won't allow you to make more than one primary partition), thus you can keep your Windows 95 isolated from the MS-DOS+Windows 3.11. So I'd definitely suggest you use System Commander. However, if you want less work, then even Windows 95's dual boot function will do.

_________________
AbandoNet; Island CX; the Cursed Video Network; AniBoshi; #abandonet @ Ring of Lightning IRC.


Top  Profile  WWW  ICQ  YIM
 PostPost subject: Re: Change location of Autoexec.bat        Posted: Sun May 13, 2012 8:33 am 
Guru Beta Collector
Guru Beta Collector
User avatar
Offline

Joined
Sun Dec 30, 2007 8:12 am

Posts
612
You could use the feature of the config.sys SHELL command, to run autoexec.bat from a different directory. 4dos doses this quite nicely too. Works in 6 and 7.

What i found is that programs somehow expect autoexec to be in the root directory. I remember installing qemm not long after i moved autoexec off to a directory. And there it was, making edits to autoexec and config, and then rebooting. But the edit did not edit the real autoexec in a directory: it just quitely came to its usual halt, (instead of running its own proggie), and i laughed and laughed.


Top  Profile  WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 




Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

All views expressed in these forums are those of the author and do not necessarily represent the views of the BetaArchive site owner.

Powered by phpBB® Forum Software © phpBB Group

Copyright © 2006-2013

 

Sitemap | XML | RSS