Hi slore,Here is an out of topic cmd question If you are interested :I try to escape from cmd Autorun and mostly escape so far but I figure out Autorun always executes with For /F loop having a command with In.Reproduce:Code: [Select][HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor]"Autorun"="Echo UserName = %UserName%&Title UserName = %UserName%"Test.cmdCode: [Select]For /f %%A In ( 'Echo Test' ) Do Echo Result: "%%A"For /f %%A In ( 'cmd.exe /D /C Echo Test' ) Do Echo Result: "%%A"For /f usebackq %%A In ( `Echo Test` ) Do Echo Result: "%%A"For /f usebackq %%A In ( `cmd.exe /D /C Echo Test` ) Do Echo Result: "%%A"pauseAbove test.cmd are things I tried that did not work.There is always Code: [Select]Result: "UserName"That comes from AutorunAs promised slowly learning cmd, I hope you can help.Edit:add last pause line to Test.cmd
+I test test.cmd with /DCode: [Select]cmd.exe /C /D test.cmdso far Autorun not exists till it goes inside For /F In with a command.
For /f "delims=" %%A In ( 'cmd.exe /C Echo Test' ) Do Echo Result: "%%A"
For /f "delims=" %%A In ( 'notepad.exe' ) Do Echo Result: "%%A"
For /f "skip=1 delims=" %%A In ( 'cmd.exe /D /C Echo Test' ) Do Echo Result: "%%A"
Hi slore,It is getting harder and a bit uglier ^1 to use cmd.exe I would like to have a stable use of cmd that will result same with all windows (Priority 1) At least result same with all PE.... (Priority 2) (I mean All Windows or ALL PE >= XP)Which would be more tidy without temp files.+Such a nice command "For /F" using ( ) with an additional cmd.exe !!!! Looks like a really bad design of cmd.exe...(from a point of view of a new bie learning cmd.exe with For)*Thanks for info, It seems only workaround is using a temp file (this makes it ugly)**Anyway, It is what it is, since you are The Expert saying temp file is the only way, path is using a temp file. As a result:I feel I have to use temp file a lot on my cmd development.I will post here above cmd when it is full ready.****Only IFEO (Image File Execution Options) I use on my computer is Notepad2: http://www.flos-freeware.ch/doc/notepad2-Replacement.html+As far as I remember IFEO was not working with PE. (need to be retested to be sure - I remember SYSTEM disable IFEO but did not test with Administrator with PE)+Does aria2 have a special adjustment for IFEO ? (like notepad2)https://aria2.github.io/manual/en/html/As far as I can remember, It is expected failures with IFEO if 3rd party application not designed for IFEO.Still It is a little expected but still funny (give a smile to my face) you using aria2 cause wget fail ! Interesting, something to keep in mind. Thanks.ps: I updated Wget plugin yesterday to use latest 1.20. Still the first trial with Aria2 If failure Wget....*Quote from: slore on December 14, 2018, 02:35:37 AMthen I can't update the WIN10PESE with/without proxy I guess when you do not play with IFEO,you can download plugins with a proxy now using download button ?If yes I can provide you a way do download only updated files (=plugins+files) from server behind proxy.As I wrote before, I am waiting for news to give more feedback to test proxy.
then I can't update the WIN10PESE with/without proxy
**Anyway, It is what it is, since you are The Expert saying temp file is the only way, path is using a temp file.
rem TODO locale language
Hi slore,Both WAY2: and WAY3: looks cool. Big Thanks for them.I like Way2 more...I need more time to test & study more....
Keep compatibilities need more work/test.well the sample is show how to +"/d" to for command, I missed this detail.
(I updated PESE plugins with 1 hour. download the ZIP toke 20 minutes.)
QuoteApps\Network\Mozilla Firefox ESR (P) download failed with/without proxy(unexpected)This is my mistake. I forgot to update the plugins.
Apps\Network\Mozilla Firefox ESR (P) download failed with/without proxy(unexpected)
you can download plugins with a proxy now using download button ?If yes I can provide you a way do download only updated files (=plugins+files) from server behind proxy.
Aoccdrnig to rscheearch at Cmabrigde uinervtisy, it deosn’t mttaer waht oredr the ltteers in a wrod are,the olny iprmoetnt tihng is taht the frist and lsat ltteres are at the rghit pclae. The rset can be a tatol msesand you can sitll raed it wouthit a porbelm. Tihs is bcuseae we do not raed ervey lteter by it slef but the wrod as a wlohe.
Code: [Select]For /F %%A In ( 'pause' ) Do Rem Test
just updated cmd atLancelot Reply 11