Solved

Automatically restarting Win95 in safe mode

Posted on 1998-09-26
4
215 Views
Last Modified: 2010-04-30
I want to restart windows( I have that code) and then let Windows95 restart into SAFE MODE, so that none of the start-up programs load.  I want to do this only with code.
0
Comment
Question by:bomax
  • 3
4 Comments
 
LVL 3

Accepted Solution

by:
a111a111a111 earned 100 total points
ID: 1436789

Here are the valid boot options (for the preview version) which you can add/remove from the MSDOS.SYS text file. ***Don't forget to make a backup copy of
the file before modifying it.
Observe notes annotated by (X)

[options](1)    Default Action                              Non-default action


=================================


BootSafe        =1 Safe Mode startup available


So make it in the shell and let it run,.
0
 
LVL 3

Expert Comment

by:a111a111a111
ID: 1436790
For more information about Boot see:
http://engine.ieee.org/magazines/95help/win4000e.htm


If you need any more help let me know.

shayplace@hotmail.com
0
 
LVL 3

Expert Comment

by:a111a111a111
ID: 1436791
One more source of info: http://www.winmag.com/library/1995/0795/07HOWTO.htm

Now, Maybe I am in the wrong direction and it can be done by API or by modification of the Registry...

But you can have 2 files one is original MSDOS.SYS and the second is MSDOS.SAF.
By swapping the files and the names, you can have windows restart in safe mode upon command from VB.

0
 

Author Comment

by:bomax
ID: 1436792
thanx
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now