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.

cmdow @ /HID?

Featured Replies

http://unattended.msfn.org/intermediate/me...s/runonceex.htm

What is cmdow @ /HID? This is a tool designed to hide your command line window from the end user.

I have been using it for some time now, and what troubles me, is, even if I cannot see the commands executed in the batch file, I can still see the black dos window popping up. Is this supposed to be happening? This is the correct syntax right?

cmdow @ /HID
@echo off

dos commands here

EXIT

Is there a way to totally hide the dos windows from popping up?

Just turn off the echo first

@echo off
cmdow @ /HID

To be quite honest, unless you use the two commands in this order, it is pointless using the @echo off command, since echoes to a hidden window will not show anyhow!

Edited by Yzöwl

@Yzöwl:

That will not be helpful in this manner.

Of course it will make the black box empty, but the black box will still show even though there is no output to it.

@ druiddk

It will be helpful since I answered the question in the thread title, cmdow @ /HID?, Is it supposed to show?, as opposed to the first post which was answered already by yourself.

test

found

like this works fine

@echo off
cmdow @/hid
set tagfile=\WIN51
for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist "%%i:%tagfile%" set CDDRIVE=%%i:
SET Tools=%CDDRIVE%\MSFN
FOR %%f IN ("%Tools%\TOOLS.exe") DO "%%f" /Silent

  • Author

@druiddk

RunHidden.vbs does not work in cmdlines.txt. It only works when unattendedly installin the applications.

@secowu

What is Tools.exe? Can I use it in cmdlines.txt too?

@VAD

RunHiddenConsole.exe does not work in cmdlines.txt either.

Thank you all for your replies.

Here is a VBS script that will run your batch completly hidden.

Save As WHATEVER_YOU_WANT.Vbs

Const Hidden = 0, Normal = 1, Min = 2, Max =3

Dim Act, Fso, Ts, CmdFile

Set Act = CreateObject("Wscript.Shell")

Set Fso = CreateObject("Scripting.FileSystemObject")

CmdFile = Act.ExpandEnvironmentStrings("%Systemdrive%\SetCD.Cmd")

Set Ts = Fso.CreateTextFile(CmdFile)

Ts.WriteLine "@Echo Off" & vbCrLf & "set tagfile=\WIN51" & vbCrLf &_

"For %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist ""%%i:%tagfile%"" set CDDRIVE=%%i:" &_

vbCrLf & "SET Tools=%CDDRIVE%\MSFN" & vbCrLf & "FOR %%f IN (""%Tools%\TOOLS.exe"") DO ""%%f"" /Silent"

Ts.Close

Act.Run(CmdFile),Hidden,True '''' RUNS THE FILE

Act.Popup "Completed The Install Script", 5,"Finished", 0 + 32 '''' LETS YOU KNOW THE SCRIPT FINISHED

Fso.DeleteFile(CmdFile) '''' DELETES THE FILE

@gunsmokingman:

Of course the script you posted works with cmdlines.txt (you obviously read the previous posts before posting your script, right?)

:)

i use a simple autoit script i made called "hideme" usage hideme <program/batch>

if any1 wants it lemme know ill attach it

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.