ok
the triple caret ^^^ work well.
Thank you, guy!
Search found 776 matches
- 19 Jun 2020 13:29
- Forum: DOS Batch Forum
- Topic: How escape a pipe ?
- Replies: 3
- Views: 1470
- 18 Jun 2020 15:34
- Forum: DOS Batch Forum
- Topic: How escape a pipe ?
- Replies: 3
- Views: 1470
How escape a pipe ?
Hi to all, I have a problem with this code for /f "delims=" %I in ('mshta "about:<OBJECT id=HTMLDlgHelper classid="CLSID:3050F4E1-98B5-11CF-BB82-00AA00BDCE0B"></OBJECT><SCRIPT language="VBSCRIPT">Sub window_onload : a=HtmlDlgHelper.object.openfiledlg("C:\windows.iso", ,"*.iso|","Select"): CreateObje...
- 05 Mar 2020 04:12
- Forum: DOS Batch Forum
- Topic: mshta command for copy into clipboard
- Replies: 10
- Views: 5837
Re: mshta command for copy into clipboard
@aGerman thank, this work!!!!!!!! The problem is the case sensitive and the manage of doube quote and single quote. I don't understand how I should use this. You said I didn't use event management well, what do you mean? Can you give me an example? @Siberia_man Thanks . I will use the "clip" command...
- 04 Mar 2020 15:02
- Forum: DOS Batch Forum
- Topic: mshta command for copy into clipboard
- Replies: 10
- Views: 5837
Re: mshta command for copy into clipboard
@jfl & @siberia_man I use this code in a tool that execute one line command and i don't want execute a cmd windows if possible because i need execute hidden and i don't want use file. Is too complicate for me assembly the code. Can you help me? @hacxx this is an example and is very long and work msh...
- 02 Mar 2020 06:45
- Forum: DOS Batch Forum
- Topic: mshta command for copy into clipboard
- Replies: 10
- Views: 5837
mshta command for copy into clipboard
Hi, I have this command that show a group of button for launch varius script mshta.exe "about:<META HTTP-EQUIV="MSThemeCompatible" CONTENT="YES"><title>Avvio Bots</title><HTA:APPLICATION ID="" CONTEXTMENU="no" BORDER="none" BORDERSTYLE="complex" SHOWINTASKBAR="no" SCROLL="no"/><body style="padding:2...
- 23 Feb 2020 14:18
- Forum: DOS Batch Forum
- Topic: execute simple cmd line hidden without file
- Replies: 12
- Views: 8043
Re: execute simple cmd line hidden without file
@aGerman
Thanks
@Eureka!
it was a nice solution, because the execution was faster, but the mysterious software does not take shortcuts. The software, however, is called "macro recorder"
Thanks
@Eureka!
it was a nice solution, because the execution was faster, but the mysterious software does not take shortcuts. The software, however, is called "macro recorder"
- 23 Feb 2020 11:56
- Forum: DOS Batch Forum
- Topic: execute simple cmd line hidden without file
- Replies: 12
- Views: 8043
Re: execute simple cmd line hidden without file
thank you all!
I have probed to semplify and this is the result:
Thank you.
I have probed to semplify and this is the result:
Code: Select all
mshta.exe vbscript:CreateObject("WScript.Shell").Run("cmd /c calc.exe",0)(Window.Close)
- 22 Feb 2020 15:09
- Forum: DOS Batch Forum
- Topic: execute simple cmd line hidden without file
- Replies: 12
- Views: 8043
Re: execute simple cmd line hidden without file
Well, you already use a 3rd party tool. Would it be OK then if you just use a HTA script instead? run_hidden.hta <!DOCTYPE html> <html dir="ltr" lang="en-US"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="IE=9"> <title>Run Hidden</title> <script type="text/javascript"> f...
- 21 Feb 2020 17:53
- Forum: DOS Batch Forum
- Topic: execute simple cmd line hidden without file
- Replies: 12
- Views: 8043
Re: execute simple cmd line hidden without file
Hi penpen and thanks, I tried and from a dos window it works but from the software it doesn't. Opens the blue powershell window! I had to slightly modify the command that went into error for my software. "C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe" "-Command" "$wshShell = New-Object -...
- 21 Feb 2020 09:04
- Forum: DOS Batch Forum
- Topic: execute simple cmd line hidden without file
- Replies: 12
- Views: 8043
execute simple cmd line hidden without file
Hi, I recently use a software that can run/open a program. It accept a 1) program name e 2) parameters to pass at program name. I used this for simple dos command using the command dos shell cmd.exe in this mode Name : cmd.exe Param: /c "...……………" But this method open a black cmd windows and this is...
- 29 Nov 2019 03:57
- Forum: DOS Batch Forum
- Topic: Increment a variable with setx
- Replies: 4
- Views: 2321
Re: Increment a variable with setx
Ok! Thanks.
- 28 Nov 2019 18:30
- Forum: DOS Batch Forum
- Topic: Increment a variable with setx
- Replies: 4
- Views: 2321
Re: Increment a variable with setx
but if i check the global environment with another process the variable X is not incremented. Why?
How I can increment a variable over process?
How I can increment a variable over process?
- 28 Nov 2019 16:57
- Forum: DOS Batch Forum
- Topic: Increment a variable with setx
- Replies: 4
- Views: 2321
Increment a variable with setx
Hi to all, I return on this forum after a long time and i not remember how work the dos batch... I use a macro recorder that have a possibility ok run an external command like CMD.EXE or OTHER I need to use a variable and I need to increment this variable. I have probed with setx x 2 cmd.exe /v:on /...
- 01 Nov 2018 10:24
- Forum: DOS Batch Forum
- Topic: Seven segment display
- Replies: 2
- Views: 1799
Re: Seven segment display
Hi Icarus, very nice work!
This is very fast color graphics
This is very fast color graphics
- 05 Jun 2018 08:44
- Forum: DOS Batch Forum
- Topic: Dos Batch Math Library
- Replies: 59
- Views: 32129
Re: Dos Batch Math Library
Hey, I wanted to share something I made last night. I thought maybe this would be useful FIXED! Accuracy is 100% https://gyazo.com/1765c4579c80f2688789b12901d762ad.png @echo off & setlocal enableDelayedExpansion for /l %%a in (1,1,20) do ( set /a "rnd1=!random! %% 49 + 1", "rnd2=!random! %% 49 + 1"...