Jump to content

MHz

Member
  • Posts

    1,691
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Australia

Posts posted by MHz

  1. From a purely theoretical standpoint, I would like to have an alternative "simpler" filesystem (for storage only) with only some of the "good" (imho) features of NTFS, such as having the $MFT (and hence the possibility of really fast file searching) and larger than 4 Gb filesize without the (still IMHO) unneeded overhead, like permissions, quotas, "ownership".

    Me too. You want some features without the extra stuff. Most modern file systems do this and more i.e ZFS, NTFS, EXT 2,3,4, BTRFS, REISERFS... I am not sure if quotas are as low level as the file system. As for ownership as you quoted is interesting, as each file created is stamped with a number for that user for purpose of "ownership", permissions, quota etc could be nice if you did not want to be tracked local, by intranet or by internet. The number is supposedly unquie worldwide. Like a digital fingerprint. I am not aware of any file system that does this tailored exact to your specifications.

  2. I do not understand these responses. I expected something better, jaclaz. I am not sure if you are joking or being serious.

    Technology is withheld. Vehicles that can run on water and emit H2O out the exhaust as waste, or can run on air i.e. free energy etc. that go missing. So a expensive hovercraft that runs on fossil fuels is the comparison? Tesla military weapons based on technology about a century old are just being utilized. Something very odd is going on.

    GPT is the solution to the 32 bit bios limit of 2TB. What has the FAT file system got to with that? <sarcasm>Making FAT work with GPT, oh, a miracle</sarcasm>. I hope the sarcasm is not an insult to you, but a wake up call. The 2TB barrier was bound to be breached no matter what file system is involved. Technology usually follows the flow of like a water tap that drips. Just a gradual change, just for a nice gradual profit.

    Have a look at other file systems. FAT is as old as Win 9x kept alive by a corporation. Profit! Profit! Profit! Did I assert the word Profit enough? I am guilty of sarcasm again with the profit thing though profit is good, right? Good logic must be bad in comparison perhaps.

    Your options could be to sacifice what you usually want, to be different. I choose my path, not well liking to my desire though you can too. You mentioning the wheel seems to have little relation in a reply to me with this particular topic of technology. Donuts instead of wheels could have been used. I am guilty of sarcasm again. You may have tickled me some to have brought it on.

  3. jaclaz,

    98 to ME was enough FAT32 for me. Thanks, but I do not like using FAT as any FAT file system is very old, outdated technology. Mind you, NTFS is not the only MFT file system around as you might already know. I do not want to go into the what could be when the current powers disagree.

  4. On Athlon X2 4200+, 2GB RAM,video onboard and 80GB ide HDD I use Arch Linux with XFCE4.

    I have triple boot, but I show only my Arch :)

    That is awesome. Is that with Compiz-Fusion installed/enabled? I currently have Fedora Linux on my laptop with Gnome 3 and well, very ordinary to use. I considered MATE on last install but the vital super key + type in what to run seemed missing so I went Gnome 3 again. I was a big fan of Gnome since using it since 1995. Before that well, too tricky for me to install and use so I went with what I knew well, Windows.

  5. If you are going to use AutoIt, then the variables will not expand within strings unless you set some options to do that. Binary data in AutoIt starts with 0x so it is like 0x3C00...

    Here is the correction to your Input and the following RegWrites. The underscores at the end of the lines are continuations characters so the lines do not go off page.

    $strHome = InputBox("HOmepage", "Provide your chosen Homepage", "https://www.google.com/")if $strHome == "" then Exit 1RegWrite("HKCU\SOFTWARE\MICROSOFT\INTERNET EXPLORER\MAIN", "START PAGE", "REG_SZ", $strHome)RegWrite('HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections', _	'DefaultConnectionSettings', "REG_BINARY", _	"0x3c000000110000000100000000000000000000000000000001000000000000000000000000000000000000000000000000000000" _)

    As for your your use of sed, well, that is not clear to my understanding of what you are doing. AutoIt has got Perl Compatible Regular Expression (PCRE) support built in so perhaps you can use FileRead to read the file and use StringRegExpReplace to do the replacements in the string and then use FileWrite to write to the file with the changes. :)

  6. It will ALWAYS (at least mine do) beep at least ONCE when you first turn it on (BEFORE windows)

    This is rather normal for bios to beep once to alert of post processing. If it does not then you may know of an issue and where to look. Multiple beeps can also tell you where to look. You may already know this but I thought It was worth mentioning.

    @ROTS

    The symptoms seem like an issue with the sound device as beeping windows default sounds is what a PC does when no sound device is installed. This could be the sound device or perhaps the driver

    for the device is of concern. If a sound card exists then reseating the sound card may help. A case that is too flexible can allow slotted cards to move and thus cause issues and can be a problem.

    What is the main board make and model? What is the sound device if it is a card? What is the sound driver if not an integrated part of the main board driver?

    If this is a main board with a bios not suitable for Windows Vista then that maybe the issue. Flashing the bios to a newer version may help if a newer version exists.

  7. It is also worth mentioning that if you install a service pack then it backs up the old system files into this hidden folder under the Windows folder as well. This is why slipsteaminng a service pack into a Windows install source is a great advantage and as an alternative, installing a service pack using no backup switches so prevent the extra files in the hidden folder. There is a risk in the later on an unknown system but a major saver if known. The system file cache is another hidden folder that can be cleaned to slim down your install size. SFC.exe can get those files from your installation source so the system file cache is not needed, but rather a convenience. XP is about 1 GB installed yet about half as much if these extras are flushed from the file system.

  8. What's the difference between "start xyz.exe" and "cmd xyz.exe"? Both seem to be doing the same thing, but I do know there are some major differences there.

    cmd xyz.exe fails as it should so I am unsure why no one sees the issue.The syntax is invalid.

    CMD expects a script to be passed to it unless you use /c or /k to invoke command line mode. Passing an executable to CMD as parameter without the previous switches is invalid to CMD so you should consider yourself lucky if it does work as it fails for me.

    If you can run a command from a script without using Start, then why add it. Note that Start is an internal command so it has a little overhead to add to the process. I personally do not care if you use it as I consider that it will not hurt too much. The use of CMD /C in a command file is invoking a separate instance of the command interpreter which is indeed an overhead of being another process, more memory and more differcult debugging.

    When to use Start?


    notepad.exe
    :: cmd notepad.exe REM stops here returning to a prompt so commented to run all script
    cmd /c notepad.exe
    start /wait "notepad.exe"

    www.msfn.org
    :: cmd www.msfn.org REM stops here returning to a prompt so commented to run all script
    cmd /c www.msfn.org
    start www.msfn.org

    pause

    The most direct commands would be notepad.exe and start www.msfn.org.

    @bphlpt

    Executions in a command script are processed one after the other in sequence. This means each command is executed and the next command does not start until the previous command completes. If it did not do that by default then you would have a race condition happening and many scripts may fail with handling the return value of the previous command. If you use Start, then the process will continue without waiting so you can do other commands without concern to the Started process previously executed. If you use Start /Wait then the behavior of moving to the next execution is the same as the default of waiting in a script.

    To do a series of commands at an interactive command prompt like in the creation of a script is to first type the char ( , press the return key and then type each command line. When done adding commands then you can type the char ) to close the batch of commands and then it will execute automatically.

    @Yzöwl

    Nice to see the wise owl is still flying around.

  9. Hi MC,

    If you recorded the setup.iss then silent install should work, so I will mention some things that may help.

    1. If the setup.iss is in the same directory as the setup file then the f1 switch is usually not needed. I cannot state if working directory affects this though if concerned, try cd /d %~dp0 in your cmd script before calling the setup file.

    2. If the f1 switch is supported by the installer, then perhaps the f2 is as well for the log file. If you are installing from read only media then Installshield may try to create a install log file in the same directory as the setup file. If the directory is read only then the install process may fail. If so then try adding to the command line /f2"%tmp%\setup.log". Create a unique filename for the log like say a password generator does so it does not conflict with another file.

    3. I notice that you are not passing /qn to the msi. The answer file set.iss may not be read by setup if it is not silent.

    This would be what I would try.


    cd /d %~dp0
    myob.exe /s /v"/qn SERIAL=000000000000"

  10. jamesbebby,

    It seems like you have not reviewed the source code to determine your questions? Please isolate CMenu.exe within a directory and then at a cmd prompt at that current working directory "CMenu.exe /extract" without the quotes. You will then see the source files extracted. Amongst these files will be a file named CMenu.au3. Read CMenu.au3 through any programming text editor and you may get a glimpse of the code that I use to automate PEiD as well as other tasks. I do not expect you to understand Autoit3 code if you have not learned it but I may hope that you may know some parameters given to Run() etc. and some of the switch cases used to get an idea of how I achieved this task. If you can understand just a little of what I have done then it may help by a large amount by what you wish to learn. I always will show my source code and retain the right to challenge those who try to hide it. I am more then happy to teach others to expand on my code as suitable for the benefit of everyone.

    Now, for your 1st line, "that everything linked with-in CMenu" is true that all functions contained within the exe ... and just templates etc. are external.

    Your 1st question answered:

    The commands for PEiD used is:


    PEiD.exe "path\to\filename.exe"

    It seems that I did not use other parameters for PEiD.exe.

    Your 2nd questioned answered:

    If you can improve on what I have done then I may praise your effort. I am not aware at the moment that I put any copyright license on CMenu but if it has then please respect. Due credit for effort is sufficient where appropriate. I like to share my efforts and hope to continue sharing my efforts.

  11. ...

    SFX setup should ALWAYS wait! :realmad:

    Anyway, I don't have other choices.

    ...

    You can try to supply the SFX with an executable for handling the bat file so that the SFX may have the task of handling the process direct.

    This command may help:

    "%COMSPEC%" /c "%APPDATA%\vlc\restoreext.bat"

    Note that %COMSPEC% is a environmental variable to the command interpreter. The parameter "/c" initiates the command interpreter into command line mode. :)

  12. Hi jamesbebby,

    If I were to open a cmd prompt at the current working directory of CMenu.exe, then I could type for example:


    CMenu.exe identify CMenu.exe

    Now you should get a Msgbox prompt about an attempt to scan CMenu.exe. I added the prompt to notify that CMenu.exe is a custom installer made from AutoIt3.

    So the syntax is:


    "path\to\cmenu.exe" identify "path\to\filename.exe"

    where "path\to" is optional depending on current working directory. The "identify" parameter calls the Indentify Installer functionality within CMenu.exe. The Indentify Installer functionality then gets the "path\to\filename.exe" parameter as reference to perform a scan with PEiD and acts upon the result of the scan.

    So if you were to add this as a data entry into the registry then you would use something like this:

    "path\to\cmenu.exe" identify "%1"

    where "path\to" is the absolute path to CMenu.exe.

    Let me know if you have doubt about what I just explained above or any other questions that I may help you with. Good luck with your little context menu thingy. :)

  13. You could try AutoIt3. AutoIt3 has good GUI functions so you will be able to make GUI applications. A support forum exists if you need any help while you are learning the language. You can also use the full Scite4AutoIt3 editor which can help you create scripts. The full Scite4AutoIt3 editor installation will replace the basic Scite4AutoIt3 editor included with the AutoIt3 installer. All the above software mentioned is free of cost for personal and business use.

  14. ...

    But some programs are not installed, such as:

    Adobe[whitespace]Photoshop[whitespace]CS4

    Yahoo[whitespace]Messenger.exe

    Google[whitespace]Toolbar.exe

    ...

    Hello,

    I edited your quote above replacing some whitespace with [whitespace] for display only.

    All 3 commands that failed have [whitespace]. CMD will terminate at the 1st whitespace encountered and consider the next part of the string as a parameter (sometimes known as a switch with installers). If the command or parameters include whitespace then you may need to use double quotes to inform CMD that the command or parameter string is one complete command or parameter.

    Example:

    "path\to\some file.exe" "parameter 1" "parameter 2"

    So you could try this instead:

    "%SYSTEMROOT%\setup\scripts\Adobe Photoshop CS4.exe"
    "%SYSTEMROOT%\setup\scripts\Unlocker.exe"
    "%SYSTEMROOT%\setup\scripts\WinRAR.exe"
    "%SYSTEMROOT%\setup\scripts\Google Toolbar.exe"
    "%SYSTEMROOT%\setup\scripts\Yahoo Messenger.exe"

  15. Hi jamesbebby,

    Sorry for the late reply. I have had no time to commit to this project. If or when is very much in doubt. That is the best answer that I can give at the moment.

  16. Hi Mayoral,

    I am going to guess the issue as you explained little and I am not testing Nero. So hopefully these changes I made may help. The 1st WinWaitActive does not match the following ControlClick title so I am guessing it is incorrect so I changed it from the #32770 class which IIRC is an explorer window to "InstallShield Wizard". I changed WinWaitActive functions to use the _WinWaitActive UDF which will wait for the window, activate the window and then wait until it is active. Using the UDF may help prevent the script from stalling if the window does not activate for some reason. I added use of the ProcessID for existence check and as a wait for the installation to finish. If the Run function errors or the ProcessID does not exist then the script will exit with code 1. Added TrayIconDebug option so if the script stalls, then move the mouse over the tray icon to see which line that the script has stalled at.

    ; ----------------------------------------------------------------------------
    ;
    ; Nero10 - Install by Mayoral
    ;
    ; ----------------------------------------------------------------------------

    ; shows current line processed in tray icon
    Opt("TrayIconDebug", True)

    $pid = Run("setup.exe")
    ; proceed if not error and the Process ID exists
    If Not @error And ProcessExists($pid) Then
    ; changed WinWaitActive functions to use _WinWaitActive UDF below to force activation
    _WinWaitactive("InstallShield Wizard")
    ControlClick("InstallShield Wizard", "", "[CLASS:Button; TEXT:Instalar; INSTANCE:1]")
    _WinWaitactive("Nero 10 Lite - InstallShield Wizard", "&Siguiente")
    Send("{ENTER}")
    _WinWaitactive("Nero 10 Lite - InstallShield Wizard", "&No")
    Send("{ENTER}")
    Sleep(5000)
    _WinWaitactive("Nero 10 Lite - InstallShield Wizard", "&Siguiente")
    Send("{ENTER}")
    _WinWaitactive("Nero 10 Lite - InstallShield Wizard", "&Siguiente")
    Send("!e")
    Send("{ENTER}")
    _WinWaitActive("Nero 10 Lite - InstallShield Wizard", "Com&pleta")
    Send("{ENTER}")
    _WinWaitActive("Nero 10 Lite - InstallShield Wizard", "Programa para la mejora de los productos de Nero")
    ControlClick("Nero 10 Lite - InstallShield Wizard","","[CLASS:Button; TEXT:No, gracias.; INSTANCE:3]")
    ControlClick("Nero 10 Lite - InstallShield Wizard","","[CLASS:Button; TEXT:&Siguiente; INSTANCE:5]")
    _WinWaitActive("Nero 10 Lite - InstallShield Wizard", "&Instalar")
    Send("{ENTER}")
    ; wait for installer process to close
    ProcessWaitClose($pid)
    Else
    ; exit with code 1
    Exit 1
    EndIf

    Exit

    Func _WinWaitActive($title, $text = "")
    ; window: wait, activate and then wait until active
    WinWait($title, $text)
    WinActivate($title, $text)
    WinWaitActive($title, $text)
    EndFunc

  17. Yeah Scite already has the All Source option. When you save under this option, it makes extension AU3.

    Well, I get .e extension or .asp depending on machine/OS/Scite used. All Source is an odd option IMHO. The source.files property has numerous extensions so how it picks a correct one is beyond my understanding at the moment.

    If you choose the drop down to all files, it does not make an extension by default.

    I would expect no extension so I regard as normal. I can get a can not save "test.*" for some odd reason on a Scite for some reason which is odd though Scite4AutoIt3 has been hacked with the extension saving method so I am not confident that it has been done correct. Now, I am not sure if the property change I gave earlier is good as it appears to be a custom property perhaps added with the extension patching on Scite4AutoIt3.

    I understand why it does this, since Scite is designed to be used for AutoIT.

    Yeah, I think you assume correct for Scite4AutoIt3. Scite references made in this thread are about Scite4AutoIt3 to my understanding.

    I only use it at work because I do not have extra licenses to use UltraEdit, which I use at home.

    That sounds sad as it seems you prefer UltraEdit. Perhaps you can make it a mobile copy? If not (as against their unreasonable restrictions), then I would not support UltraEdit if I could only use it sometimes.

    In general, many applications handle extensions different, so I choose to add extension manually if I use these save dialogs. Something that can go wrong is if the application doubles up on the extension but only a few applications have ever done this to me. I use the right click method most.

    @iamtheky

    Thanks for the use quotes idea.

  18. I wonder if this also works with Scite, which always wants to save files as AU3 extension. I use it as a multipurpose editor (for PHP and ASP also) so its annoying when I sometimes forget to change the type.

    Scite is based on config files which you can modify. Start Scite and open the "Option" menu. Select "Open User Options File" from the menu. Once the SciteUser.properties tab opens, then add the below line at the top of the page.


    save.filter=$(filter.*) $(open.filter)

    Now save and then restart Scite for the new setting to be active. You should now have "All Source" option as default when using Save As.

×
×
  • Create New...