Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Dos command


  • Please log in to reply

#1
Michael

Michael

    Retired Staff

  • Retired Staff
  • 1,869 posts
Is there any Dos command that restart a computer in safe mode? I am make a batch file and need to get into safe mode and am too lazy to reboot and press F8 and all that, I wan't it to do it for me.
  • 0

Advertisements


#2
darth_ash

darth_ash

    Member 1K

  • Member
  • PipPipPipPip
  • 1,382 posts
There is DOS command for shutdown, restart and log off. But, not restart in safe mode.
U could modify the boot.ini and add /SAFEBOOT next to the desired OS. But F8, will be a better option than that.
  • 0

#3
Michael

Michael

    Retired Staff

  • Topic Starter
  • Retired Staff
  • 1,869 posts
I there a way it get Dos to activate the F8 or any other hot key?
  • 0

#4
darth_ash

darth_ash

    Member 1K

  • Member
  • PipPipPipPip
  • 1,382 posts
No DOS command to that. But u could make a program to put its F8's scan code in the keyboard buffer.
But then again, XP boots directly unlike, Win98 which booted from DOS.
So u wont get a chance to run the program.
Anyway, how hard is it to press one key.
  • 0

#5
Michael

Michael

    Retired Staff

  • Topic Starter
  • Retired Staff
  • 1,869 posts
I am going to install Visual C# and try to learn to use that, is there code that I could put in that would do what I wan't? I din't wan't to be a pest I just wan't to learn and asking questions I find is a very good way to learn (I am fifteen and have not leart every thing yet but I am going to try to know every thing there is to know about computers! Impossible I know, but I don't care!)
  • 0

#6
Michael

Michael

    Retired Staff

  • Topic Starter
  • Retired Staff
  • 1,869 posts
I forgot to say the the hole aim is to make a batch file that dose a complete routeen. Scan for Virus and then run check disk and the do this and that. I know it might be silly but I wan't to learn as I said and it was a project that I made up and decided to try. And the use of hot keys to do things would be very handy throught the hole process.
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP