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.

cmdlines.txt

Featured Replies

Hi,

I'm a little confused with the cmdlines.txt. What kind of commands can you put in there ? Is it like a batch file ? Can I use the file for every command ?

Is there anything special I should know about it ?


  • Author

are you saying I must use %systemdrive%\install\batch_file.cmd ?

if I'M asking its because I already read that....

Here is a sample of my cmdlines.txt

[commands]

"RunOnceEx.cmd"

"C:\WINAPPS\IE6\IE6SETUP.EXE /Q /R:N"

"REGEDIT /S C:\WINAPPS\IE6\IE6.REG"

should give you an idea of what you can do.

These all install at the T-12 stage of setup.

  • Author
[Commands]"Command_1""Command_2".

.

"Command_x"

Do I have to use exactly this ? With the dots and Command_x after ?

GriZly, paste up your curret one and let us know what you want to use it for.

hail hail

[Commands]

"Command_1""Command_2".

.

"Command_x"

Do I have to use exactly this ? With the dots and Command_x after ?

the dots are ellipses and the Command_1 and command_x simply show that you can have an infinite number of commands (perhaps).

The commands should be enclosed in quotes, and should actually be commands. But CMDLINES.TXT is NOT A BATCH FILE. It's a VERY limited command interface, and most people call a CMD files so they CAN use all the capabilities of a batch file.

you've been given examples of what it can be used for. Look at them.

  • Author

just wanted to be sure because I found the quoted text at MSDN and didn't quite understand what the dots were for so...

so I understand the following will work ? ...

[Commands]
"start.cmd"

  • 2 weeks later...

the syntax of the commands in cmdlines.txt look no different from the commands in a normal batch file, save for that they have quotes around them. are the quotes necessary?

and regardless of that, could the contents of the batch file just be put in cmdlines.txt, under [Commands] (and with or without quotes)?

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.