How to copy files from folder tree dropping all the folders with Robocopy?

Why use robocopy? It’s a good tool for a specific task but this is not the one. You can simply use what cmd already gives you: for /r %f in (*) do @copy “%f” target This will essentially “flatten” your directory hierarchy. for /r will walk a directory tree recursively, looking for file names matching … Read more

Is it possible to accept custom command line parameters with Inno Setup

With InnoSetup 5.5.5 (and perhaps other versions), just pass whatever you want as a parameter, prefixed by a / c:\> myAppInstaller.exe /foo=wiggle and in your myApp.iss: [Setup] AppName = {param:foo|waggle} The |waggle provides a default value if no parameter matches. Inno setup is not case sensitive. This is a particularly nice way to handle command … Read more

Creating a mercurial log for a specific branch

If you’re using proper hg branches, then you should be able to use the –only-branch option: hg log –only-branch my_branch That will show the changesets only for a given branch. Edit: Looks like “–only-branch” is deprecated, but depending on the version of mercurial you use it will still be there. See https://www.mercurial-scm.org/repo/hg/help/log . If your … Read more

JMeter – Changing user defined variables from command line

Well, with -J argument you are setting PROPERTY, and in User Defined Variables config – VARIABLE. It will define two different entities, although having the same name, they will have different values. In your situation you can do the following. Set jmeter property value in command-line as above in your question …-Jtestproperty=202 In UDV config … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)