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.

Quick DOS commands question

Featured Replies

hi there. im using a cmd file to install copytodvd but i havent got it working. when runoncex executes the cmd file for copytodvd i got two open command prompt windows, one for the setup ad one for sleep.exe to wait a few seconds, then closes the vso start window. but the setup doesnt run.

here is what im using, i believe i need to use more quotes but dont really know much on this.

cmdow @ /HID
@echo off

start "$systemdrive%\Install\copytodvd\setup.exe /VERYSILENT /SP-"
start /wait "$systemdrive%\Install\copytodvd\sleep.exe 60"
start /wait "taskkill /IM VsoStart.exe"
REGEDIT /S $systemdrive%\Install\copytodvd\settingslocal.reg
REGEDIT /S $systemdrive%\Install\copytodvd\settingsuser.reg

exit

im not sure but i think that i need some quotes for the switches of the setup and for sleep.exe time parameter. any help is appreciated. thanks in advance.

try this

start "" "%systemdrive%\Install\copytodvd\setup.exe" /VERYSILENT /SP-

Edited by Rico.JohnnY

Actually quotes are needed when part of the arguments (i.e. for example a PATH, like C:\Documens and Settings\whatever contain a space) as it seems like there are no spaces in the path, I would try taking ALL the quotes out....

However quotes must NOT surround parameters, i.e. this line:

start /wait "$systemdrive%\Install\copytodvd\sleep.exe 60"

MUST be written as:

start /wait "$systemdrive%\Install\copytodvd\sleep.exe" 60

but as said, will work as:

start /wait $systemdrive%\Install\copytodvd\sleep.exe 60

jaclaz

also isn't it supposed to be %systemdrive% not $systemdrive%

start %systemdrive%\Install\copytodvd\setup.exe /VERYSILENT /SP-
start /wait %systemdrive%\Install\copytodvd\sleep.exe 60
start /wait taskkill /IM VsoStart.exe

  • Author
also isn't it supposed to be %systemdrive% not $systemdrive%

ha, thanks for pointing out my error. i wrote the commands in quotes after i tried first without them but i didnt noticed my awful $ mystake.

thanks. will try it now without any quotes as i always try to keep my paths without spaces to simplify reading all my scripts.

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.