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.

how can I use cmd file after restart?

Featured Replies

I have cmd file right now and its intalling programs.... lets call it

1.cmd

now.... what I want to do is when 1.cmd finishes I want the computer to restart... and after that I want that 2.cmd will restart its files....

or

to write a command that in some point of the 1.cmd file the comp. will restart and after the restart it will continue the file....

this is very important question and can help me much....

Edited by CompMaster


You must place your cmd in the RunOnceEx registry key ... in each file you set the next cmd to execute ... for reboot use "shutdown -r -t xx" (where xx are the seconds)

Goodbye.

  • Author

RunOnceEx registry key ?

can you give me an example please? (I'm new in all of this)

hmm, It don't have to be RunoncEX :no:

Heres what I do to start something after the reboot.

In this example I'm opening the Fonts folder which register's the Fonts I have added.

Shouldn't be too hard to modify that to call your *.cmd file

Just add it to your cleanup.cmd right before the Shutdown

NOTICE: Its not RunoncEX but simply Runonce I have experimented and added like 10 things there as a test, all work just fine as long as they are correct Path's. This also goes to the Current User and can be applied to other Users.

REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Runonce /V RegisterFonts /D "%SystemRoot%\explorer.exe /e,/root,%systemroot%\Fonts"

BTW, The reason I don't use Runoncex is I have had occasions where certain software added something there and i don't want to Jack with it...

Bing Bada Boom

Edited by maxXPsoft

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.