Everything posted by phan
-
Tiny command line utility msgbox.exe with timeout option
thank u all @rajesh: I'll wait for ur 999th post btw, note on the double percent sign %%d above: this is because calling in cmd-file. If you run msgbox from other program, use only one percent sign %d (like printf()) And the number 65 in the example above is sum of 1+64 (OK Cancel + Information Icon). You may combine following box styles: Buttons: 0 OK 1 OK Cancel 2 Abort, Retry, Ignore 3 Yes, No, Cancel 4 Yes, No 5 Retry, Cancel Icon: 16 Error 32 Question 48 Exclamation 64 Information Default button: 256 make 2nd button default 512 make 3rd button default
-
How to move folders to windows\temp wihthout using $oem$
AFAIK txtsetup.sif does not support wildcard or just folder name. But you can pack all your files and subfolders (recursive) in 1 self-extracting rar or 7z file and copy it via txtsetup.sif, right? MS does copying driver.cab in the same way.
-
Tiny command line utility msgbox.exe with timeout option
use errorlevel, for example: msgbox "Setup will continue in %%d seconds." "Setup" 65 15 if errorlevel 2 goto :cancel rem *** put your stuff here in case the user clicks on OK or timed out *** :cancel Here are the errorlevels returned: 0 Timed out 1 OK 2 Cancel 3 Abort 4 Retry 5 Ignore 6 Yes 7 No You can also use %ERRORLEVEL% as environment variable, i.e. if "%ERRORLEVEL%"=="5" goto :ignore if "%ERRORLEVEL%"=="4" goto :retry if "%ERRORLEVEL%"=="3" goto :abort
-
Tiny command line utility msgbox.exe with timeout option
improved version can display countdown timer like this download: msgbox2.rar
-
Problem with W2K3 Unattended
I think you could put your script in HKCU\Software\Microsoft\Windows\CurrentVersion\Run or RunOnce or Startup program group. Those entries start after shell loaded.
-
Tiny command line utility msgbox.exe with timeout option
oh the old good WBAT . Just forgotten
-
How to move folders to windows\temp wihthout using $oem$
put your file(s) into i386 and add line(s) under [sourceDisksFiles] like this [sourceDisksFiles] myfile.ext = 1,,,,,,,45,0,0 The number 45 means %systemroot%\Temp (see section [WinntDirectories]) If you dont want your files have to be in i386 but another folder just define a source ID in [sourceDisksNames.x86] section see also http://www.msfn.org/board/index.php?showtopic=14852
-
How to move folders to windows\temp wihthout using $oem$
put your file(s) into i386 and add line(s) under [sourceDisksFiles] like this [sourceDisksFiles] myfile.ext = 1,,,,,,,45,0,0 The number 45 means %systemroot%\Temp (see section [WinntDirectories]) If you dont want your files have to be in i386 but another folder just define a source ID in [sourceDisksNames.x86] section see also http://www.msfn.org/board/index.php?showtopic=14852
-
Tiny command line utility msgbox.exe with timeout option
I searched for such tool but did not find so I wrote myself. Maybe some of you can make use of this tiny tool Features: - standard styles (yes/no, ok/cancel, abort/retry,...) and icons - selectable default button with timeout option - only 1KB Download: msgbox.cab