Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×

MHz

Member
  • Content Count

    1,691
  • Joined

  • Last visited

  • Donations

    $0.00 

Community Reputation

11 Good

About MHz

  • Rank
    Just simple
  • Birthday 08/27/1965

Contact Methods

  • Website URL
    http://users.tpg.com.au/mpheath/

Profile Information

  • OS
    Windows 7 x64

Recent Profile Visitors

2,286 profile views
  1. shorterxp, DT 3.46 setup is an executable which extracts an msi file to the %temp% directory. To get the msi: * Execute DT executable. * Click Install button. * Look in %temp% folder for an msi file with approximately 5 numbers or letters and a size of 813 KB. * Copy the msi file and rename the copy to something more meaningful. * Cancel the install. You can now use the msi file with arguments like /qn to perform a install silent. DT 4 is quite different and needs to be handled by a different method.
  2. Suitable compile directives added and added #RequireAdmin directive if run as not compiled. Scripts are still based on SlowView version 1.0 released in 2003. Silent Script: slowview_silent_updated.au3 Automated script: slowview_auto_updated.au3 Setting the variable $do_not_create_shortcuts to True will avoid creating shortcuts and thus no folder created in the Start Menu. If True, checks the "Do not create shortcuts" checkbox. Setting $move_wizard_window to False will not move the 2nd wizard window off the main screen. This script below has a fix for missing
  3. Your 1st line seems original. A person, like yourself, saying something and then using a contradiction will always be quite disturbing. This seems like a recurring pattern for you. Using a method of insult and then using a just kidding, but ..., however ..., and any other alternation does not hide the insult. To use a copy and paste of a movie quote used by Archie from the movie "The Fish called Wanda" is quite disingenious. So is the copy and pasted quote OK with me? I am not sure how to score such a non genuine statement from you. Silliness with the movie quote does not pass as sincere reg
  4. Sure , I was referring to the "usual plot" : http://www.msfn.org/board/topic/173609-btach-set-vast-with-echo-doesnt-work/#entry1096004 just kidding.... jaclaz I accept it as an insult else why the link? MS-DOS is a complete OS and QBasic is a part of it as I already mentioned. The comparison to batch is rather dry for my taste. Nice try again.
  5. jaclaz, QBasic is a part of MS-DOS 7.1 and offers a prompt. So, a nice try. Besides, VBScript did not exist in the era of MS-DOS AFAIK. Not much did exist for Microsoft at that time. Hard times then and I do not miss it. The more a programming language can do, the more flexible I find in using it. MS-DOS was/is differcult because of its limitations. Edit: Hmm, typing Microsoft adds a link to the Microsoft store. Such irony.
  6. A little more advanced BASIC was to use QBasic. Example test.bat could use: C:\DOS71\QBASIC /run test.basand test.bas in which QBasic interprets could use: REM Get the users input.INPUT "Enter the system Serial Number"; reply$REM Show the value of the reply.PRINT reply$REM Return to the system.SYSTEMSome examples shown in this PDF on page 14 for retrieving input from the user in QBasic. If you wanted the bas file compiled then the MS-DOS compatible version of FreeBasic could be used.
  7. Here are some specs gathered for your PC2 mainboards. The ASRock mainboard has various versions. Later versions are Gigabyte LAN. If you have version 1.0 or 2.0, then no Gigabyte LAN. http://www.asrock.com/mb/NVIDIA/ALiveNF7G-HD720p%20R1.0/ - Realtek PHY RTL8201CL - Speed: 10/100 Ethernet - Supports Wake-On-LAN - Supports PXE http://www.asrock.com/mb/NVIDIA/ALiveNF7G-HD720p%20R2.0/ - Realtek PHY RTL8201CL - Speed: 10/100 Ethernet - Supports Wake-On-LAN - Supports PXE http://www.asrock.com/mb/NVIDIA/ALiveNF7G-HD720p%20R3.0/ - Gigabit LAN 10/100/1000 Mb/s - Giga PHY Realtek RTL8211
  8. Depends on how much you can do by script. Manually doing it would be a PITA. Codepage affects the extended ASCII. This depends on the system language default that is set. It is not a BOM that defines codepage, but rather file encoding. If you look at the _FileWrite() function, you may noticed that I used FileGetEncoding() which gets the encoding that the file uses. I do not know probably half of those extensions and whether it is safe to use the Regular Expressions on those as they are designed for an ini file type structure. You may need to make Regular Expressions in different functions
  9. Have a look here. At least in Windows 7 is where your themes are saved. %LocalAppData%\Microsoft\Windows\ThemesTry customizing your theme in the Personalization panel, save it and then look at that path in Explorer. This may give your a theme that has been processed by the Personalization panel process. I have no understanding of your dll or the msstyles files and thus is out of my scope.
  10. You should be able to use *.* as first parameter and a folder as 2nd parameter. This is so long as you have only text based files in the source directory as no file type filtering is done by the script. Another way could be to rename the files adding a temporary extension i.e. file1.ini to file1.ini.text, file2.inf to file2.inf.text etc. Do a reformatini.exe *.text destfolder and then once done, rename the files removing the temporary extension. CMD For loop and using Rename should be able to do the mass file renaming. As for some whitespace which could be removed. The ini file format usua
  11. The extra braces is forcing everything within them to be evaluated. In that example, they serve no meaningful purpose. Take care with something like that pattern as paths in your text files can have multiple spaces or tabs as an example which could break those paths. Adding (*UCP) at the beginning of each Regular Expression pattern may change the behavior of how certain characters are matched. I.e. \h may match unicode horizontal spaces as well as the ASCII + Extended ASCII horizontal spaces. So you can change this function to: Func _CleanIniFileContent($sContent) ; Trim whitespace from th
  12. Reshacker, hmm, not 64 bit compatible AFAIK. A shame really as it is renowned as being such a great program in its prime time. Even good programmers and their programs may need to retire. Cool. 1200 files, major BLEEP! By the time you have edited a couple of dozen or so, you could have a script to do the rest in seconds. Yeah, yeah, yeah, takes some known knowledge,though something to strive for. If Ultraedit is complaining about not being a DOS coded file then perhaps it thinks it is a binary file. A plain text file does not have a header yet alone a DOS header. Something strange may be go
  13. Your welcome. I made it as a CUI i.e. console program so it can be used in a CMD script something like: if not exist subfolder md subfolderfor %%A in (*.ini) do reformatini.exe "%%~A" "subfolder\%%~nxA"Actually, you could do the above with it compiled as a GUI program though you would get no output in the CMD window. Look, I do not expect you to be a (professional,serious,whatever) programmer. Learning programming is like climbing a ladder. You go step by step. The rate of the climb is up to you. Do it as steep as you can handle. What I have learnt is not by magic but determination. You can
  14. Certainly something with Regular Expression support is suitable. Surprised that Perlscript cannot do it. But hey, AutoIt has Perl Compatible Regular Expression support . This is what I came up with. Many here seem to like using CMD scripts so I made this AutoIt script to be compiled as a CUI program. I am using AutoIt 3.3.10.2 at present which should be compatible with the latest version. ; Name of compiled file.#pragma compile(Out, 'reformatini.exe'); CUI program. Set to False for a GUI program.#pragma compile(Console, True); Bit x86|x64. Set to true for 64 bit program.#pragma compile(x64,
  15. Welcome Vespian, Here is something that may help. It is just the part that you requested help with. @echo offsetlocal enabledelayedexpansionrem Ensure regData is undefined now so it can be tested later if it has been defined.set "regData="rem Token 2 is %%A, which is expected to be REG_SZ. Used only to get to token *, which is %%B, which is all of the data value.for /f "tokens=2*" %%A in ( 'reg query "HKLM\SOFTWARE\Network Associates\ePolicy Orchestrator\Agent" /v ePOServerList') do set "regData=%%~B"rem If regData is not defined, then seems no good continuing?if not defined regData goto :sto
×
×
  • Create New...